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.355/1.355, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 182.9 kB / 326.5 MB, free: 2.211 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.803/1.803, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.001032/0.001032, allocations: 102.2 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003692, allocations: 12 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2125, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.273/5.485, allocations: 2.18 GB / 3.08 GB, free: 41.09 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/5.486, allocations: 92.64 kB / 3.08 GB, free: 41 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.9489/6.435, allocations: 215.9 MB / 3.291 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.864e-06/6.435, allocations: 3.938 kB / 3.291 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.071e-05/6.435, allocations: 4 kB / 3.291 GB, free: 186.1 MB / 0.8855 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.001319/6.436, allocations: 0.6428 MB / 3.291 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/6.436, allocations: 8.031 kB / 3.291 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006595/6.437, allocations: 75.62 kB / 3.291 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/6.437, allocations: 288 kB / 3.292 GB, free: 185 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/6.437, allocations: 27.88 kB / 3.292 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/6.437, allocations: 28 kB / 3.292 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/6.438, allocations: 283.1 kB / 3.292 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/6.438, allocations: 4 kB / 3.292 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/6.438, allocations: 8 kB / 3.292 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/6.438, allocations: 4 kB / 3.292 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/6.438, allocations: 203.8 kB / 3.292 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/6.44, allocations: 1.214 MB / 3.293 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/6.44, allocations: 173 kB / 3.294 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/6.44, allocations: 331.2 kB / 3.294 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/6.44, allocations: 38.56 kB / 3.294 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/6.44, allocations: 4 kB / 3.294 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0006793/6.441, allocations: 281.8 kB / 3.294 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/6.441, allocations: 166.2 kB / 3.294 GB, free: 182 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/6.441, allocations: 250.2 kB / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/6.441, allocations: 29.7 kB / 3.295 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/6.442, allocations: 151.8 kB / 3.295 GB, free: 181.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/6.442, allocations: 39.39 kB / 3.295 GB, free: 181.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/6.442, allocations: 11.94 kB / 3.295 GB, free: 181.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/6.442, allocations: 330.8 kB / 3.295 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/6.442, allocations: 75.86 kB / 3.295 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/6.442, allocations: 145.4 kB / 3.295 GB, free: 180.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/6.442, allocations: 87.89 kB / 3.296 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/6.442, allocations: 0 / 3.296 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004445/6.443, allocations: 249.2 kB / 3.296 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/6.443, allocations: 8 kB / 3.296 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/6.443, allocations: 0 / 3.296 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/6.443, allocations: 4 kB / 3.296 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/6.443, allocations: 47.95 kB / 3.296 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/6.443, allocations: 7.938 kB / 3.296 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/6.443, allocations: 35.84 kB / 3.296 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/6.443, allocations: 19.98 kB / 3.296 GB, free: 180.4 MB / 0.8855 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.0001225/6.443, allocations: 145.8 kB / 3.296 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/6.443, allocations: 23.72 kB / 3.296 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/6.444, allocations: 194 kB / 3.296 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/6.444, allocations: 4 kB / 3.296 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/6.444, allocations: 0 / 3.296 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/6.444, allocations: 7.984 kB / 3.296 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007744/6.445, allocations: 0.8432 MB / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/6.445, allocations: 0 / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/6.445, allocations: 24.17 kB / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/6.445, allocations: 4 kB / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/6.445, allocations: 16.11 kB / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/6.445, allocations: 4 kB / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/6.445, allocations: 4.016 kB / 3.297 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/6.445, allocations: 403.8 kB / 3.297 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/6.446, allocations: 120.8 kB / 3.298 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/6.446, allocations: 8 kB / 3.298 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/6.446, allocations: 11.98 kB / 3.298 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/6.446, allocations: 12.02 kB / 3.298 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/6.446, allocations: 8 kB / 3.298 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001745/6.446, allocations: 229.9 kB / 3.298 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/6.446, allocations: 96 / 3.298 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007827/6.447, allocations: 195.8 kB / 3.298 GB, free: 178 MB / 0.8855 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 (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.001583/6.448, allocations: 1.022 MB / 3.299 GB, free: 177 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003542/6.449, allocations: 152 kB / 3.299 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/6.449, allocations: 8 kB / 3.299 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/6.449, allocations: 55.91 kB / 3.299 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/6.45, allocations: 131.4 kB / 3.299 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/6.45, allocations: 0.5514 MB / 3.3 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/6.451, allocations: 0.7677 MB / 3.301 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002043/6.451, allocations: 62.38 kB / 3.301 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/6.451, allocations: 23.44 kB / 3.301 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of SimCode: time 7.92e-07/6.451, allocations: 0 / 3.301 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.02219/6.473, allocations: 17.15 MB / 3.317 GB, free: 158.1 MB / 0.8855 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