Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 172.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008706/0.0008707, allocations: 101.6 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.365e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3092, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.6/5.909, allocations: 1.867 GB / 3.079 GB, free: 435.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/5.91, allocations: 85.22 kB / 3.079 GB, free: 435.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4261/6.336, allocations: 224.7 MB / 3.299 GB, free: 236 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/6.336, allocations: 0 / 3.299 GB, free: 236 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.214e-05/6.336, allocations: 11.98 kB / 3.299 GB, free: 236 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001061/6.337, allocations: 0.6091 MB / 3.299 GB, free: 235.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/6.337, allocations: 8.031 kB / 3.299 GB, free: 235.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006369/6.338, allocations: 83.55 kB / 3.299 GB, free: 235.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/6.338, allocations: 287.5 kB / 3.3 GB, free: 234.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/6.338, allocations: 16 kB / 3.3 GB, free: 234.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/6.338, allocations: 27.91 kB / 3.3 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/6.339, allocations: 263.2 kB / 3.3 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/6.339, allocations: 0 / 3.3 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/6.339, allocations: 11.94 kB / 3.3 GB, free: 234.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/6.339, allocations: 4 kB / 3.3 GB, free: 234.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/6.339, allocations: 167.9 kB / 3.3 GB, free: 234.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/6.34, allocations: 1.23 MB / 3.301 GB, free: 233.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/6.34, allocations: 161 kB / 3.302 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/6.34, allocations: 100.4 kB / 3.302 GB, free: 232.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005628/6.341, allocations: 323.2 kB / 3.302 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/6.341, allocations: 38.56 kB / 3.302 GB, free: 232.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/6.341, allocations: 0 / 3.302 GB, free: 232.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=13): time 0.000411/6.341, allocations: 181.2 kB / 3.302 GB, free: 232.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/6.341, allocations: 162.2 kB / 3.302 GB, free: 232 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/6.342, allocations: 255.6 kB / 3.303 GB, free: 231.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/6.342, allocations: 29.7 kB / 3.303 GB, free: 231.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/6.342, allocations: 148.2 kB / 3.303 GB, free: 231.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/6.342, allocations: 47.3 kB / 3.303 GB, free: 231.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/6.342, allocations: 4 kB / 3.303 GB, free: 231.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/6.342, allocations: 334.8 kB / 3.303 GB, free: 231.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/6.342, allocations: 51.97 kB / 3.303 GB, free: 231.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/6.342, allocations: 134.3 kB / 3.303 GB, free: 230.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.9e-05/6.342, allocations: 71.89 kB / 3.303 GB, free: 230.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/6.342, allocations: 0 / 3.303 GB, free: 230.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000305/6.343, allocations: 221 kB / 3.304 GB, free: 230.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/6.343, allocations: 8.938 kB / 3.304 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/6.343, allocations: 320 / 3.304 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/6.343, allocations: 12 kB / 3.304 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/6.343, allocations: 47.91 kB / 3.304 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/6.343, allocations: 4 kB / 3.304 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/6.343, allocations: 23.83 kB / 3.304 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/6.343, allocations: 16 kB / 3.304 GB, free: 230.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.623e-05/6.343, allocations: 120.9 kB / 3.304 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/6.343, allocations: 35.59 kB / 3.304 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/6.344, allocations: 154 kB / 3.304 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/6.344, allocations: 4 kB / 3.304 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/6.344, allocations: 0 / 3.304 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/6.344, allocations: 0 / 3.304 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/6.344, allocations: 0.8198 MB / 3.305 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/6.344, allocations: 4 kB / 3.305 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/6.344, allocations: 31.92 kB / 3.305 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/6.344, allocations: 0 / 3.305 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/6.344, allocations: 4 kB / 3.305 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/6.344, allocations: 0 / 3.305 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/6.344, allocations: 4.156 kB / 3.305 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/6.345, allocations: 359.9 kB / 3.305 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/6.345, allocations: 116.8 kB / 3.305 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/6.345, allocations: 4 kB / 3.305 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/6.345, allocations: 20.11 kB / 3.305 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/6.345, allocations: 15.98 kB / 3.305 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/6.345, allocations: 4 kB / 3.305 GB, free: 228.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001725/6.345, allocations: 227.1 kB / 3.306 GB, free: 228.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.11e-07/6.345, allocations: 0 / 3.306 GB, free: 228.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008045/6.346, allocations: 191.9 kB / 3.306 GB, free: 228.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/6.347, allocations: 1.021 MB / 3.307 GB, free: 227.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000221/6.348, allocations: 119.8 kB / 3.307 GB, free: 227.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/6.348, allocations: 0 / 3.307 GB, free: 227.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.314e-05/6.348, allocations: 51.86 kB / 3.307 GB, free: 227.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/6.348, allocations: 129.9 kB / 3.307 GB, free: 226.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/6.349, allocations: 372.8 kB / 3.307 GB, free: 226.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/6.349, allocations: 0.7599 MB / 3.308 GB, free: 225.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001735/6.349, allocations: 54.95 kB / 3.308 GB, free: 225.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/6.349, allocations: 23.44 kB / 3.308 GB, free: 225.7 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/6.349, allocations: 0 / 3.308 GB, free: 225.7 MB / 1.151 GB Notification: Performance of Templates: time 0.02476/6.374, allocations: 19.98 MB / 3.328 GB, free: 205.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches