Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.984/1.984, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009894/0.0009893, allocations: 184.8 kB / 487.4 MB, free: 5.039 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.324/1.324, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 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.0008983/0.0008983, allocations: 107.8 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.396e-05/1.398e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2387, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.594/3.833, allocations: 1.865 GB / 3.071 GB, free: 27.43 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/3.833, allocations: 83.95 kB / 3.071 GB, free: 27.35 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.8795/4.712, allocations: 207.5 MB / 3.274 GB, free: 284.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.773e-06/4.712, allocations: 0 / 3.274 GB, free: 284.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.617e-05/4.712, allocations: 8 kB / 3.274 GB, free: 284.5 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001096/4.714, allocations: 0.5607 MB / 3.275 GB, free: 283.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.815e-05/4.714, allocations: 16.02 kB / 3.275 GB, free: 283.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/4.714, allocations: 27.62 kB / 3.275 GB, free: 283.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/4.714, allocations: 283.5 kB / 3.275 GB, free: 283.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/4.714, allocations: 4 kB / 3.275 GB, free: 283.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/4.714, allocations: 15.94 kB / 3.275 GB, free: 283.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001952/4.714, allocations: 95.97 kB / 3.275 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/4.715, allocations: 218.9 kB / 3.275 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/4.715, allocations: 0 / 3.275 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/4.715, allocations: 7.984 kB / 3.275 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/4.715, allocations: 8 kB / 3.275 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/4.716, allocations: 1.298 MB / 3.277 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/4.716, allocations: 151.7 kB / 3.277 GB, free: 281.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.32e-05/4.716, allocations: 73.27 kB / 3.277 GB, free: 281.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/4.716, allocations: 117.1 kB / 3.277 GB, free: 281.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/4.716, allocations: 34.56 kB / 3.277 GB, free: 281.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/4.716, allocations: 0 / 3.277 GB, free: 281.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003872/4.717, allocations: 141.4 kB / 3.277 GB, free: 281.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/4.717, allocations: 183.9 kB / 3.277 GB, free: 280.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/4.717, allocations: 167.2 kB / 3.277 GB, free: 280.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/4.717, allocations: 25.7 kB / 3.277 GB, free: 280.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/4.717, allocations: 160.1 kB / 3.278 GB, free: 280.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/4.717, allocations: 43.39 kB / 3.278 GB, free: 280.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/4.717, allocations: 0 / 3.278 GB, free: 280.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/4.717, allocations: 322.8 kB / 3.278 GB, free: 280.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/4.717, allocations: 39.95 kB / 3.278 GB, free: 280.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/4.717, allocations: 93.44 kB / 3.278 GB, free: 280.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/4.717, allocations: 64.33 kB / 3.278 GB, free: 280 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/4.717, allocations: 0 / 3.278 GB, free: 280 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002386/4.718, allocations: 165.2 kB / 3.278 GB, free: 279.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/4.718, allocations: 5.562 kB / 3.278 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/4.718, allocations: 8.219 kB / 3.278 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/4.718, allocations: 0 / 3.278 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/4.718, allocations: 35.97 kB / 3.278 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/4.718, allocations: 4 kB / 3.278 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/4.718, allocations: 19.89 kB / 3.278 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/4.718, allocations: 11.95 kB / 3.278 GB, free: 279.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.678e-05/4.718, allocations: 116.9 kB / 3.279 GB, free: 279.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/4.718, allocations: 19.81 kB / 3.279 GB, free: 279.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/4.718, allocations: 111.4 kB / 3.279 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/4.719, allocations: 7.922 kB / 3.279 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/4.719, allocations: 4 kB / 3.279 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/4.719, allocations: 0 / 3.279 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/4.719, allocations: 0.7268 MB / 3.279 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/4.719, allocations: 0 / 3.279 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/4.719, allocations: 23.98 kB / 3.279 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/4.719, allocations: 4 kB / 3.279 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/4.719, allocations: 3.984 kB / 3.279 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/4.719, allocations: 4 kB / 3.279 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/4.719, allocations: 15.98 kB / 3.279 GB, free: 278.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/4.72, allocations: 352.1 kB / 3.28 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/4.72, allocations: 108.8 kB / 3.28 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/4.72, allocations: 4 kB / 3.28 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/4.72, allocations: 11.98 kB / 3.28 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/4.72, allocations: 16 kB / 3.28 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/4.72, allocations: 4 kB / 3.28 GB, free: 278.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.343e-05/4.72, allocations: 141 kB / 3.28 GB, free: 277.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.72, allocations: 0 / 3.28 GB, free: 277.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005305/4.721, allocations: 119.8 kB / 3.28 GB, free: 277.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.001473/4.722, allocations: 1.136 MB / 3.281 GB, free: 276.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001769/4.722, allocations: 79.86 kB / 3.281 GB, free: 276.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/4.722, allocations: 0 / 3.281 GB, free: 276.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.251e-05/4.722, allocations: 39.92 kB / 3.281 GB, free: 276.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/4.723, allocations: 61.31 kB / 3.281 GB, free: 276.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/4.723, allocations: 331.2 kB / 3.282 GB, free: 276.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/4.724, allocations: 0.7672 MB / 3.282 GB, free: 275.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001033/4.724, allocations: 42.08 kB / 3.283 GB, free: 275.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/4.724, allocations: 19.44 kB / 3.283 GB, free: 275.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/4.724, allocations: 0 / 3.283 GB, free: 275.3 MB / 1.151 GB Notification: Performance of Templates: time 0.01077/4.734, allocations: 8.117 MB / 3.29 GB, free: 267.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches