Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.336/2.336, allocations: 390.5 MB / 398 MB, free: 10.95 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.001396/0.001396, allocations: 176 kB / 491.2 MB, free: 1.617 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.713/1.713, 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.0009788/0.0009789, allocations: 103.8 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.459e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3544, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.668, allocations: 373.4 MB / 1.577 GB, free: 8.609 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.669, allocations: 94.23 kB / 1.577 GB, free: 8.555 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03275/1.701, allocations: 14.09 MB / 1.591 GB, free: 13.38 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.845e-06/1.701, allocations: 0 / 1.591 GB, free: 13.38 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.838e-06/1.701, allocations: 0 / 1.591 GB, free: 13.38 MB / 1.01 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.0009222/1.702, allocations: 449.7 kB / 1.591 GB, free: 12.91 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/1.702, allocations: 12.03 kB / 1.591 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/1.703, allocations: 23.75 kB / 1.591 GB, free: 12.87 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/1.703, allocations: 184 kB / 1.591 GB, free: 12.65 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.703, allocations: 4 kB / 1.591 GB, free: 12.65 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/1.703, allocations: 8 kB / 1.592 GB, free: 12.64 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002353/1.703, allocations: 91.66 kB / 1.592 GB, free: 12.58 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/1.703, allocations: 81.61 kB / 1.592 GB, free: 12.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/1.703, allocations: 0 / 1.592 GB, free: 12.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.703, allocations: 0 / 1.592 GB, free: 12.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/1.703, allocations: 4 kB / 1.592 GB, free: 12.51 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/1.704, allocations: 447.9 kB / 1.592 GB, free: 12.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/1.705, allocations: 86.59 kB / 1.592 GB, free: 12.03 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.038e-05/1.705, allocations: 43.36 kB / 1.592 GB, free: 12 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/1.706, allocations: 0.9741 MB / 1.593 GB, free: 10.94 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.706, allocations: 34.25 kB / 1.593 GB, free: 10.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/1.706, allocations: 4 kB / 1.593 GB, free: 10.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=12): time 0.0005023/1.707, allocations: 132.7 kB / 1.593 GB, free: 10.78 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/1.707, allocations: 55.41 kB / 1.593 GB, free: 10.71 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/1.707, allocations: 141.5 kB / 1.594 GB, free: 10.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/1.707, allocations: 25.7 kB / 1.594 GB, free: 10.55 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/1.707, allocations: 114.6 kB / 1.594 GB, free: 10.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/1.707, allocations: 34.72 kB / 1.594 GB, free: 10.42 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/1.707, allocations: 0 / 1.594 GB, free: 10.42 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.707, allocations: 322.6 kB / 1.594 GB, free: 10.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/1.707, allocations: 47.86 kB / 1.594 GB, free: 10.07 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/1.707, allocations: 77.25 kB / 1.594 GB, free: 10 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/1.708, allocations: 129.4 kB / 1.594 GB, free: 9.906 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.708, allocations: 4 kB / 1.594 GB, free: 9.902 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006225/1.708, allocations: 237.6 kB / 1.594 GB, free: 9.707 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.708, allocations: 11.95 kB / 1.594 GB, free: 9.695 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/1.709, allocations: 0 / 1.594 GB, free: 9.695 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.709, allocations: 4 kB / 1.594 GB, free: 9.691 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/1.709, allocations: 63.39 kB / 1.595 GB, free: 9.633 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.709, allocations: 4 kB / 1.595 GB, free: 9.629 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/1.709, allocations: 31.83 kB / 1.595 GB, free: 9.598 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/1.709, allocations: 11.98 kB / 1.595 GB, free: 9.586 MB / 1.01 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 () * 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 8.23e-05/1.709, allocations: 108.9 kB / 1.595 GB, free: 9.477 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/1.709, allocations: 15.81 kB / 1.595 GB, free: 9.461 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/1.71, allocations: 157.7 kB / 1.595 GB, free: 9.332 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/1.71, allocations: 7.984 kB / 1.595 GB, free: 9.324 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/1.71, allocations: 4 kB / 1.595 GB, free: 9.32 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.71, allocations: 4 kB / 1.595 GB, free: 9.316 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/1.71, allocations: 184.7 kB / 1.595 GB, free: 9.117 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.71, allocations: 0 / 1.595 GB, free: 9.117 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/1.71, allocations: 35.3 kB / 1.595 GB, free: 9.086 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.71, allocations: 0 / 1.595 GB, free: 9.086 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/1.71, allocations: 3.984 kB / 1.595 GB, free: 9.082 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.71, allocations: 4 kB / 1.595 GB, free: 9.078 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.71, allocations: 7.953 kB / 1.595 GB, free: 9.07 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/1.71, allocations: 223.8 kB / 1.595 GB, free: 8.859 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/1.71, allocations: 88.58 kB / 1.595 GB, free: 8.758 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/1.71, allocations: 0 / 1.595 GB, free: 8.758 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/1.711, allocations: 15.98 kB / 1.595 GB, free: 8.742 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/1.711, allocations: 19.88 kB / 1.595 GB, free: 8.723 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/1.711, allocations: 7.984 kB / 1.595 GB, free: 8.715 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.05e-05/1.711, allocations: 110.7 kB / 1.596 GB, free: 8.617 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.31e-07/1.711, allocations: 0 / 1.596 GB, free: 8.617 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003083/1.711, allocations: 67.17 kB / 1.596 GB, free: 8.555 MB / 1.01 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 () * 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.0003398/1.711, allocations: 171.1 kB / 1.596 GB, free: 8.375 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002359/1.712, allocations: 117.1 kB / 1.596 GB, free: 8.297 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.712, allocations: 0 / 1.596 GB, free: 8.297 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/1.712, allocations: 42.25 kB / 1.596 GB, free: 8.266 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/1.712, allocations: 16.52 kB / 1.596 GB, free: 8.254 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/1.712, allocations: 147.1 kB / 1.596 GB, free: 8.102 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/1.713, allocations: 0.7162 MB / 1.597 GB, free: 7.359 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001066/1.713, allocations: 19.12 kB / 1.597 GB, free: 7.336 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/1.713, allocations: 19.42 kB / 1.597 GB, free: 7.32 MB / 1.01 GB Notification: Performance of SimCode: time 2.41e-07/1.713, allocations: 0 / 1.597 GB, free: 7.32 MB / 1.01 GB Notification: Performance of Templates: time 0.005372/1.718, allocations: 2.42 MB / 1.599 GB, free: 4.934 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches