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.358/2.358, allocations: 390.5 MB / 398 MB, free: 10.93 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.001281/0.001281, allocations: 173 kB / 491.2 MB, free: 1.602 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.742/1.742, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.00121/0.00121, allocations: 98.39 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.682e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2876, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.812/6.1, allocations: 1.867 GB / 3.079 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/6.1, allocations: 84.48 kB / 3.079 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4487/6.549, allocations: 221.7 MB / 3.296 GB, free: 195.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.815e-06/6.549, allocations: 4 kB / 3.296 GB, free: 195.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.914e-05/6.549, allocations: 11.98 kB / 3.296 GB, free: 195.7 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.001627/6.551, allocations: 0.6167 MB / 3.297 GB, free: 195.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/6.551, allocations: 8.031 kB / 3.297 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/6.551, allocations: 83.45 kB / 3.297 GB, free: 195 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/6.552, allocations: 284.2 kB / 3.297 GB, free: 194.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/6.552, allocations: 12 kB / 3.297 GB, free: 194.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/6.552, allocations: 12 kB / 3.297 GB, free: 194.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003313/6.552, allocations: 147.9 kB / 3.297 GB, free: 194.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/6.553, allocations: 228.5 kB / 3.297 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/6.553, allocations: 0 / 3.297 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/6.553, allocations: 4 kB / 3.297 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/6.553, allocations: 7.953 kB / 3.297 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/6.555, allocations: 1.449 MB / 3.299 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/6.555, allocations: 133.1 kB / 3.299 GB, free: 192.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/6.555, allocations: 68.41 kB / 3.299 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/6.555, allocations: 117.1 kB / 3.299 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/6.555, allocations: 46.5 kB / 3.299 GB, free: 192.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/6.555, allocations: 0 / 3.299 GB, free: 192.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004621/6.556, allocations: 129.5 kB / 3.299 GB, free: 192.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/6.556, allocations: 162.2 kB / 3.299 GB, free: 191.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/6.556, allocations: 211.8 kB / 3.3 GB, free: 191.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/6.556, allocations: 29.7 kB / 3.3 GB, free: 191.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/6.556, allocations: 167.9 kB / 3.3 GB, free: 191.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/6.556, allocations: 35.45 kB / 3.3 GB, free: 191.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/6.556, allocations: 0 / 3.3 GB, free: 191.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.874e-05/6.556, allocations: 326.8 kB / 3.3 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-05/6.557, allocations: 51.97 kB / 3.3 GB, free: 191.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/6.557, allocations: 130.3 kB / 3.3 GB, free: 190.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/6.557, allocations: 87.86 kB / 3.3 GB, free: 190.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/6.557, allocations: 7.938 kB / 3.3 GB, free: 190.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004262/6.557, allocations: 213.4 kB / 3.301 GB, free: 190.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/6.557, allocations: 11.97 kB / 3.301 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/6.557, allocations: 4 kB / 3.301 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/6.557, allocations: 4 kB / 3.301 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/6.558, allocations: 39.91 kB / 3.301 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/6.558, allocations: 4 kB / 3.301 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/6.558, allocations: 23.83 kB / 3.301 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/6.558, allocations: 12 kB / 3.301 GB, free: 190.5 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 8.066e-05/6.558, allocations: 116.9 kB / 3.301 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/6.558, allocations: 23.75 kB / 3.301 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/6.558, allocations: 107.5 kB / 3.301 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/6.558, allocations: 0 / 3.301 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/6.558, allocations: 0 / 3.301 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/6.558, allocations: 4 kB / 3.301 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/6.559, allocations: 0.8007 MB / 3.302 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/6.559, allocations: 4 kB / 3.302 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/6.559, allocations: 27.97 kB / 3.302 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/6.559, allocations: 0 / 3.302 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/6.559, allocations: 4 kB / 3.302 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/6.559, allocations: 4.406 kB / 3.302 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/6.559, allocations: 7.938 kB / 3.302 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/6.56, allocations: 360.1 kB / 3.302 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/6.56, allocations: 108.9 kB / 3.302 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/6.56, allocations: 0 / 3.302 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/6.56, allocations: 11.98 kB / 3.302 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/6.56, allocations: 16.05 kB / 3.302 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/6.56, allocations: 4 kB / 3.302 GB, free: 188.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001192/6.56, allocations: 164.5 kB / 3.302 GB, free: 188.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/6.56, allocations: 0 / 3.302 GB, free: 188.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007056/6.561, allocations: 167.8 kB / 3.302 GB, free: 188.4 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.002115/6.563, allocations: 1.175 MB / 3.304 GB, free: 187.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002334/6.563, allocations: 103.9 kB / 3.304 GB, free: 187.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/6.563, allocations: 0 / 3.304 GB, free: 187.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.358e-05/6.563, allocations: 48.73 kB / 3.304 GB, free: 187.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/6.564, allocations: 56.58 kB / 3.304 GB, free: 187 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/6.564, allocations: 341.6 kB / 3.304 GB, free: 186.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/6.565, allocations: 0.7672 MB / 3.305 GB, free: 185.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001673/6.565, allocations: 53.75 kB / 3.305 GB, free: 185.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/6.565, allocations: 23.38 kB / 3.305 GB, free: 185.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.02e-07/6.565, allocations: 0 / 3.305 GB, free: 185.8 MB / 1.151 GB Notification: Performance of Templates: time 0.01404/6.579, allocations: 9.218 MB / 3.314 GB, free: 176.6 MB / 1.151 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