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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009769/0.0009769, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.2 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003965, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7839/0.7843, allocations: 142.3 MB / 0.9535 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1745/0.959, allocations: 137 MB / 1.087 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00481/0.9638, allocations: 3.578 MB / 1.091 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.9641, allocations: 11.94 kB / 1.091 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.9647, allocations: 151.3 kB / 1.091 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009753/0.9657, allocations: 366.9 kB / 1.091 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.9672, allocations: 0.563 MB / 1.092 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.9677, allocations: 343.8 kB / 1.092 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.968, allocations: 173.2 kB / 1.092 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000714/0.9687, allocations: 323.1 kB / 1.093 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.9692, allocations: 227.3 kB / 1.093 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.9692, allocations: 12 kB / 1.093 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009021/0.9701, allocations: 435.3 kB / 1.093 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.9702, allocations: 75.8 kB / 1.093 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.9703, allocations: 69.58 kB / 1.093 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.9708, allocations: 351.2 kB / 1.094 GB, free: 340 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.9708, allocations: 0 / 1.094 GB, free: 340 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9708, allocations: 4 kB / 1.094 GB, free: 336 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.9708, allocations: 0 / 1.094 GB, free: 336 kB / 0.8419 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.0008518/0.9717, allocations: 0.5385 MB / 1.094 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.9717, allocations: 8.031 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006759/0.9724, allocations: 79.61 kB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.9728, allocations: 275.4 kB / 1.095 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.9728, allocations: 16 kB / 1.095 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.9729, allocations: 16 kB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.9734, allocations: 295.4 kB / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9734, allocations: 0 / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.9734, allocations: 8 kB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.9734, allocations: 8 kB / 1.095 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.9739, allocations: 215.8 kB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.9754, allocations: 1.273 MB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.9757, allocations: 181 kB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003849/0.9761, allocations: 145.2 kB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.9761, allocations: 38.5 kB / 1.097 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.9761, allocations: 0 / 1.097 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0007902/0.9769, allocations: 333.4 kB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.977, allocations: 158.2 kB / 1.097 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.9773, allocations: 283 kB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.9773, allocations: 33.7 kB / 1.098 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.9775, allocations: 147.8 kB / 1.098 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.9775, allocations: 43.34 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.9775, allocations: 8.031 kB / 1.098 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.9777, allocations: 334.8 kB / 1.098 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.9778, allocations: 83.94 kB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.9781, allocations: 161.9 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.9783, allocations: 99.94 kB / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.9783, allocations: 0 / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005298/0.9788, allocations: 285.1 kB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.9789, allocations: 8 kB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.9789, allocations: 0 / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.9789, allocations: 4 kB / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.9791, allocations: 43.91 kB / 1.099 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.9791, allocations: 4 kB / 1.099 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.9794, allocations: 39.8 kB / 1.099 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.9794, allocations: 8 kB / 1.099 GB, free: 10.85 MB / 0.8575 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 () * Number of clocked 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 0.0001381/0.9795, allocations: 149.8 kB / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.9797, allocations: 27.67 kB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.9802, allocations: 224.4 kB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.9803, allocations: 8 kB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9803, allocations: 0 / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9803, allocations: 4 kB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.9814, allocations: 0.9292 MB / 1.1 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.9814, allocations: 7.938 kB / 1.1 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.9816, allocations: 31.98 kB / 1.1 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.9816, allocations: 0 / 1.1 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.9817, allocations: 7.984 kB / 1.1 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.9817, allocations: 4.156 kB / 1.1 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.9817, allocations: 4 kB / 1.1 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000721/0.9824, allocations: 495.7 kB / 1.101 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.9825, allocations: 108.8 kB / 1.101 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.9826, allocations: 7.984 kB / 1.101 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.9827, allocations: 16 kB / 1.101 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.9828, allocations: 11.98 kB / 1.101 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.9828, allocations: 4 kB / 1.101 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002197/0.9831, allocations: 229.9 kB / 1.101 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9831, allocations: 0 / 1.101 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004801/0.9835, allocations: 95.92 kB / 1.101 GB, free: 8.336 MB / 0.8575 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0004868/0.984, allocations: 195.9 kB / 1.101 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.9845, allocations: 191.7 kB / 1.101 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9845, allocations: 0 / 1.101 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.9847, allocations: 88.7 kB / 1.101 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.9854, allocations: 130 kB / 1.102 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.9864, allocations: 0.5943 MB / 1.102 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.9867, allocations: 0.7676 MB / 1.103 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.987, allocations: 66.88 kB / 1.103 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.769e-05/0.9871, allocations: 31.42 kB / 1.103 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of SimCode: time 5.2e-07/0.9871, allocations: 4 kB / 1.103 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of Templates: time 0.01109/0.9982, allocations: 5.467 MB / 1.108 GB, free: 0.8203 MB / 0.8575 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