Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.321/2.321, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0009438/0.0009438, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009748/0.0009745, allocations: 84.03 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.716e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3242, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.148/6.472, allocations: 1.868 GB / 3.086 GB, free: 365.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/6.473, allocations: 86.64 kB / 3.086 GB, free: 365.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.408/6.881, allocations: 224.7 MB / 3.306 GB, free: 175.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.924e-06/6.881, allocations: 4 kB / 3.306 GB, free: 175.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.331e-05/6.881, allocations: 7.984 kB / 3.306 GB, free: 175.7 MB / 1.167 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.001094/6.882, allocations: 0.6039 MB / 3.306 GB, free: 175 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/6.882, allocations: 12.02 kB / 3.307 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/6.883, allocations: 91.44 kB / 3.307 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/6.883, allocations: 295.4 kB / 3.307 GB, free: 174.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/6.883, allocations: 19.95 kB / 3.307 GB, free: 174.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/6.883, allocations: 20 kB / 3.307 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/6.883, allocations: 255.5 kB / 3.307 GB, free: 174.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/6.883, allocations: 0 / 3.307 GB, free: 174.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/6.883, allocations: 12 kB / 3.307 GB, free: 174.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/6.883, allocations: 7.938 kB / 3.307 GB, free: 174.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/6.884, allocations: 163.8 kB / 3.307 GB, free: 174.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/6.885, allocations: 1.234 MB / 3.309 GB, free: 172.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/6.885, allocations: 153 kB / 3.309 GB, free: 172.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/6.885, allocations: 100.4 kB / 3.309 GB, free: 172.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005471/6.886, allocations: 327.2 kB / 3.309 GB, free: 172.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/6.886, allocations: 34.56 kB / 3.309 GB, free: 172 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/6.886, allocations: 0 / 3.309 GB, free: 172 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0004236/6.886, allocations: 185.1 kB / 3.309 GB, free: 171.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/6.886, allocations: 166.3 kB / 3.309 GB, free: 171.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/6.886, allocations: 243.5 kB / 3.31 GB, free: 171.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/6.887, allocations: 33.7 kB / 3.31 GB, free: 171.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/6.887, allocations: 148.2 kB / 3.31 GB, free: 171.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/6.887, allocations: 43.3 kB / 3.31 GB, free: 171.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/6.887, allocations: 8 kB / 3.31 GB, free: 171.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.561e-05/6.887, allocations: 334.8 kB / 3.31 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/6.887, allocations: 55.97 kB / 3.31 GB, free: 170.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/6.887, allocations: 131.6 kB / 3.31 GB, free: 170.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.763e-05/6.887, allocations: 71.95 kB / 3.31 GB, free: 170.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/6.887, allocations: 0 / 3.31 GB, free: 170.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003017/6.887, allocations: 225.2 kB / 3.311 GB, free: 170.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/6.887, allocations: 8 kB / 3.311 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/6.887, allocations: 0 / 3.311 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/6.887, allocations: 4 kB / 3.311 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/6.888, allocations: 43.91 kB / 3.311 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/6.888, allocations: 4 kB / 3.311 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/6.888, allocations: 35.83 kB / 3.311 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/6.888, allocations: 15.98 kB / 3.311 GB, free: 170.2 MB / 1.167 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.434e-05/6.888, allocations: 116.9 kB / 3.311 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/6.888, allocations: 27.67 kB / 3.311 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/6.888, allocations: 162 kB / 3.311 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/6.888, allocations: 4 kB / 3.311 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/6.888, allocations: 0 / 3.311 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/6.888, allocations: 4 kB / 3.311 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/6.889, allocations: 0.8159 MB / 3.312 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/6.889, allocations: 192 / 3.312 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/6.889, allocations: 31.92 kB / 3.312 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/6.889, allocations: 160 / 3.312 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/6.889, allocations: 11.98 kB / 3.312 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/6.889, allocations: 4 kB / 3.312 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/6.889, allocations: 0 / 3.312 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/6.89, allocations: 352 kB / 3.312 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/6.89, allocations: 120.7 kB / 3.312 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/6.89, allocations: 8 kB / 3.312 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/6.89, allocations: 16.05 kB / 3.312 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/6.89, allocations: 11.92 kB / 3.312 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/6.89, allocations: 8 kB / 3.312 GB, free: 168.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001806/6.89, allocations: 231.1 kB / 3.313 GB, free: 168.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.89, allocations: 0 / 3.313 GB, free: 168.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007646/6.891, allocations: 184 kB / 3.313 GB, free: 167.9 MB / 1.167 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.001403/6.892, allocations: 1.044 MB / 3.314 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002239/6.893, allocations: 111.8 kB / 3.314 GB, free: 166.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/6.893, allocations: 0 / 3.314 GB, free: 166.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/6.893, allocations: 52.67 kB / 3.314 GB, free: 166.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/6.893, allocations: 116.7 kB / 3.314 GB, free: 166.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/6.894, allocations: 362.6 kB / 3.314 GB, free: 166.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/6.894, allocations: 0.7638 MB / 3.315 GB, free: 165.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001765/6.894, allocations: 62.81 kB / 3.315 GB, free: 165.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/6.894, allocations: 31.42 kB / 3.315 GB, free: 165.3 MB / 1.167 GB Notification: Performance of SimCode: time 3.3e-07/6.894, allocations: 0 / 3.315 GB, free: 165.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02256/6.917, allocations: 19.97 MB / 3.335 GB, free: 145.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches