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 1.987/1.987, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001035/0.001035, allocations: 176.7 kB / 487.4 MB, free: 5.062 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.345/1.345, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009103/0.0009103, allocations: 103.9 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.867e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2435, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.177/4.421, allocations: 1.866 GB / 3.072 GB, free: 363.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/4.421, allocations: 84.03 kB / 3.072 GB, free: 363.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.393/4.814, allocations: 221.7 MB / 3.289 GB, free: 220 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.343e-06/4.814, allocations: 0 / 3.289 GB, free: 220 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.195e-05/4.814, allocations: 12 kB / 3.289 GB, free: 220 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.0009711/4.815, allocations: 0.6078 MB / 3.289 GB, free: 219.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/4.815, allocations: 8.031 kB / 3.289 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006283/4.816, allocations: 79.55 kB / 3.289 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/4.816, allocations: 291.5 kB / 3.29 GB, free: 219 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/4.816, allocations: 4 kB / 3.29 GB, free: 219 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/4.816, allocations: 19.91 kB / 3.29 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000233/4.817, allocations: 144 kB / 3.29 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/4.817, allocations: 248.2 kB / 3.29 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/4.817, allocations: 3.938 kB / 3.29 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/4.817, allocations: 0 / 3.29 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/4.817, allocations: 4 kB / 3.29 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/4.818, allocations: 1.449 MB / 3.292 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/4.818, allocations: 137.1 kB / 3.292 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/4.819, allocations: 68.41 kB / 3.292 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/4.819, allocations: 113.1 kB / 3.292 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/4.819, allocations: 50.5 kB / 3.292 GB, free: 216.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/4.819, allocations: 0 / 3.292 GB, free: 216.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004047/4.819, allocations: 125.4 kB / 3.292 GB, free: 216.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/4.819, allocations: 158.2 kB / 3.292 GB, free: 216.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/4.819, allocations: 207.9 kB / 3.292 GB, free: 216 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/4.819, allocations: 25.83 kB / 3.292 GB, free: 215.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/4.82, allocations: 175.9 kB / 3.293 GB, free: 215.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/4.82, allocations: 31.47 kB / 3.293 GB, free: 215.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/4.82, allocations: 0 / 3.293 GB, free: 215.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.204e-05/4.82, allocations: 330.8 kB / 3.293 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/4.82, allocations: 47.97 kB / 3.293 GB, free: 215.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.875e-05/4.82, allocations: 134.2 kB / 3.293 GB, free: 215.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/4.82, allocations: 87.86 kB / 3.293 GB, free: 215.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/4.82, allocations: 4 kB / 3.293 GB, free: 215.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004051/4.82, allocations: 221.1 kB / 3.293 GB, free: 214.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/4.82, allocations: 8 kB / 3.293 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/4.82, allocations: 128 / 3.293 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/4.82, allocations: 4 kB / 3.293 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/4.821, allocations: 48.16 kB / 3.293 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/4.821, allocations: 8 kB / 3.293 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/4.821, allocations: 23.83 kB / 3.293 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/4.821, allocations: 12 kB / 3.293 GB, free: 214.8 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.096e-05/4.821, allocations: 105 kB / 3.294 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/4.821, allocations: 31.64 kB / 3.294 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/4.821, allocations: 111.5 kB / 3.294 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/4.821, allocations: 4 kB / 3.294 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/4.821, allocations: 0 / 3.294 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/4.821, allocations: 4 kB / 3.294 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/4.822, allocations: 0.7931 MB / 3.294 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/4.822, allocations: 4.031 kB / 3.294 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/4.822, allocations: 31.92 kB / 3.295 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/4.822, allocations: 4 kB / 3.295 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/4.822, allocations: 0 / 3.295 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/4.822, allocations: 7.984 kB / 3.295 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/4.822, allocations: 0 / 3.295 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/4.823, allocations: 356.1 kB / 3.295 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/4.823, allocations: 108.8 kB / 3.295 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/4.823, allocations: 4 kB / 3.295 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/4.823, allocations: 20.09 kB / 3.295 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/4.823, allocations: 11.94 kB / 3.295 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/4.823, allocations: 4 kB / 3.295 GB, free: 213 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.798e-05/4.823, allocations: 164.5 kB / 3.295 GB, free: 212.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.823, allocations: 4.062 kB / 3.295 GB, free: 212.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005985/4.824, allocations: 171.8 kB / 3.295 GB, free: 212.7 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.001406/4.825, allocations: 1.157 MB / 3.296 GB, free: 211.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001888/4.825, allocations: 104 kB / 3.297 GB, free: 211.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/4.825, allocations: 0 / 3.297 GB, free: 211.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/4.825, allocations: 43.92 kB / 3.297 GB, free: 211.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/4.826, allocations: 69.52 kB / 3.297 GB, free: 211.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/4.826, allocations: 349.4 kB / 3.297 GB, free: 211 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/4.826, allocations: 0.7672 MB / 3.298 GB, free: 210.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001625/4.827, allocations: 53.77 kB / 3.298 GB, free: 210.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/4.827, allocations: 19.44 kB / 3.298 GB, free: 210.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/4.827, allocations: 0 / 3.298 GB, free: 210.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01259/4.839, allocations: 9.232 MB / 3.307 GB, free: 200.9 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