Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001095/0.001096, allocations: 181.3 kB / 498.1 MB, free: 5.742 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.561/1.561, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001145/0.001145, allocations: 90.5 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005657/0.0005659, allocations: 13.66 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4333, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.237/1.67, allocations: 373.4 MB / 1.587 GB, free: 21.91 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.671, allocations: 88.06 kB / 1.588 GB, free: 21.86 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02898/1.7, allocations: 14.23 MB / 1.601 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.294e-06/1.7, allocations: 0 / 1.601 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.826e-06/1.7, allocations: 0 / 1.601 GB, free: 10.43 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007461/1.701, allocations: 474.1 kB / 1.602 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.701, allocations: 8.031 kB / 1.602 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/1.701, allocations: 19.77 kB / 1.602 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/1.701, allocations: 174.4 kB / 1.602 GB, free: 9.688 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/1.701, allocations: 11.81 kB / 1.602 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/1.701, allocations: 8 kB / 1.602 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/1.701, allocations: 132.5 kB / 1.602 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.701, allocations: 0 / 1.602 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.701, allocations: 3.984 kB / 1.602 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.701, allocations: 4 kB / 1.602 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/1.702, allocations: 165.8 kB / 1.602 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/1.703, allocations: 474.7 kB / 1.603 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/1.703, allocations: 134.8 kB / 1.603 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/1.704, allocations: 0.9632 MB / 1.604 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/1.704, allocations: 42 kB / 1.604 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/1.704, allocations: 4 kB / 1.604 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0006512/1.705, allocations: 238.8 kB / 1.604 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/1.705, allocations: 55.34 kB / 1.604 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/1.705, allocations: 143.9 kB / 1.604 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.705, allocations: 29.7 kB / 1.604 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/1.705, allocations: 106.9 kB / 1.605 GB, free: 7.238 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/1.705, allocations: 46.73 kB / 1.605 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/1.705, allocations: 3.438 kB / 1.605 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/1.705, allocations: 330 kB / 1.605 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.705, allocations: 86.75 kB / 1.605 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/1.705, allocations: 114.1 kB / 1.605 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/1.706, allocations: 96.03 kB / 1.605 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.706, allocations: 0 / 1.605 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004849/1.706, allocations: 264.3 kB / 1.605 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.706, allocations: 12.09 kB / 1.605 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.706, allocations: 0 / 1.605 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.706, allocations: 4 kB / 1.605 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/1.707, allocations: 59.2 kB / 1.606 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.707, allocations: 3.938 kB / 1.606 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/1.707, allocations: 35.3 kB / 1.606 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/1.707, allocations: 15.98 kB / 1.606 GB, free: 6.301 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.327e-05/1.707, allocations: 121.2 kB / 1.606 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/1.707, allocations: 15.86 kB / 1.606 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/1.707, allocations: 202.3 kB / 1.606 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.707, allocations: 0 / 1.606 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.707, allocations: 0 / 1.606 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.707, allocations: 0 / 1.606 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/1.708, allocations: 215.2 kB / 1.606 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.708, allocations: 8 kB / 1.606 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/1.708, allocations: 31.97 kB / 1.606 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.708, allocations: 0 / 1.606 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/1.708, allocations: 11.58 kB / 1.606 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.708, allocations: 0 / 1.606 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.708, allocations: 0 / 1.606 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/1.708, allocations: 283.6 kB / 1.606 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/1.708, allocations: 96.94 kB / 1.607 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/1.708, allocations: 0 / 1.607 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/1.708, allocations: 23.5 kB / 1.607 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/1.709, allocations: 7.984 kB / 1.607 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/1.709, allocations: 4 kB / 1.607 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.106e-05/1.709, allocations: 118.3 kB / 1.607 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.11e-07/1.709, allocations: 0 / 1.607 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003586/1.709, allocations: 67.88 kB / 1.607 GB, free: 5.137 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0003495/1.709, allocations: 182.8 kB / 1.607 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004654/1.71, allocations: 195.1 kB / 1.607 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.71, allocations: 3.938 kB / 1.607 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/1.71, allocations: 74.58 kB / 1.607 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/1.71, allocations: 24.86 kB / 1.607 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/1.711, allocations: 341.9 kB / 1.608 GB, free: 4.371 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/1.711, allocations: 0.7125 MB / 1.608 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.938e-05/1.711, allocations: 17.02 kB / 1.608 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/1.711, allocations: 23.38 kB / 1.608 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/1.711, allocations: 0 / 1.608 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of Templates: time 0.005586/1.717, allocations: 2.647 MB / 1.611 GB, free: 0.9805 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches