Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001013, allocations: 180.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 86.5 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.448e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2722, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.273/6.545, allocations: 2.18 GB / 3.065 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/6.545, allocations: 84.77 kB / 3.065 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9307/7.476, allocations: 212.7 MB / 3.273 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/7.476, allocations: 0 / 3.273 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.824e-05/7.476, allocations: 8.75 kB / 3.273 GB, free: 252.1 MB / 0.8698 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.001227/7.477, allocations: 0.6086 MB / 3.274 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/7.477, allocations: 9.562 kB / 3.274 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/7.478, allocations: 74.66 kB / 3.274 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/7.478, allocations: 297.9 kB / 3.274 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/7.479, allocations: 8.578 kB / 3.274 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/7.479, allocations: 12.12 kB / 3.274 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002809/7.479, allocations: 147.1 kB / 3.274 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/7.479, allocations: 239.5 kB / 3.274 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/7.479, allocations: 1.031 kB / 3.274 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/7.479, allocations: 0 / 3.274 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/7.479, allocations: 4.969 kB / 3.274 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/7.481, allocations: 1.44 MB / 3.276 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/7.481, allocations: 141.9 kB / 3.276 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/7.481, allocations: 66.78 kB / 3.276 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/7.481, allocations: 119.1 kB / 3.276 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/7.481, allocations: 36.97 kB / 3.276 GB, free: 250 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/7.481, allocations: 0 / 3.276 GB, free: 250 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004359/7.482, allocations: 133.6 kB / 3.276 GB, free: 250 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/7.482, allocations: 163 kB / 3.276 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/7.482, allocations: 204.5 kB / 3.277 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/7.482, allocations: 26.73 kB / 3.277 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/7.482, allocations: 165.4 kB / 3.277 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/7.482, allocations: 37.09 kB / 3.277 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/7.482, allocations: 0 / 3.277 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.996e-05/7.482, allocations: 328.9 kB / 3.277 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/7.482, allocations: 49.16 kB / 3.277 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/7.483, allocations: 125 kB / 3.277 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/7.483, allocations: 89.44 kB / 3.277 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/7.483, allocations: 3.938 kB / 3.277 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004795/7.483, allocations: 219.1 kB / 3.278 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/7.483, allocations: 5.469 kB / 3.278 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/7.483, allocations: 5.219 kB / 3.278 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/7.483, allocations: 3.469 kB / 3.278 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/7.484, allocations: 39.69 kB / 3.278 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/7.484, allocations: 6.312 kB / 3.278 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/7.484, allocations: 26.56 kB / 3.278 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/7.484, allocations: 13.53 kB / 3.278 GB, free: 249.1 MB / 0.8698 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 7.069e-05/7.484, allocations: 103.5 kB / 3.278 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/7.484, allocations: 28.23 kB / 3.278 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/7.484, allocations: 114.2 kB / 3.278 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/7.484, allocations: 6.531 kB / 3.278 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/7.484, allocations: 1.031 kB / 3.278 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/7.484, allocations: 4.469 kB / 3.278 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008323/7.485, allocations: 0.7858 MB / 3.279 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/7.485, allocations: 4.125 kB / 3.279 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/7.485, allocations: 31.25 kB / 3.279 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/7.485, allocations: 2.281 kB / 3.279 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/7.485, allocations: 2.156 kB / 3.279 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/7.486, allocations: 4.719 kB / 3.279 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/7.486, allocations: 1.531 kB / 3.279 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/7.486, allocations: 353.6 kB / 3.279 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.012e-05/7.486, allocations: 121.5 kB / 3.279 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/7.486, allocations: 3.188 kB / 3.279 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/7.486, allocations: 11.22 kB / 3.279 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/7.486, allocations: 9.297 kB / 3.279 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/7.486, allocations: 9.938 kB / 3.279 GB, free: 248 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000125/7.486, allocations: 156 kB / 3.279 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.92e-07/7.486, allocations: 0 / 3.279 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007484/7.487, allocations: 171.3 kB / 3.279 GB, free: 247.9 MB / 0.8698 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.001842/7.489, allocations: 1.169 MB / 3.281 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002475/7.489, allocations: 104.5 kB / 3.281 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/7.489, allocations: 0.9688 kB / 3.281 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/7.489, allocations: 40.53 kB / 3.281 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/7.49, allocations: 67.36 kB / 3.281 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/7.491, allocations: 340.7 kB / 3.281 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/7.491, allocations: 0.7653 MB / 3.282 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001659/7.491, allocations: 47.52 kB / 3.282 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/7.491, allocations: 26.47 kB / 3.282 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/7.491, allocations: 0 / 3.282 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.01833/7.509, allocations: 9.112 MB / 3.291 GB, free: 246.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches