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.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001045/0.001044, allocations: 176.1 kB / 492.3 MB, free: 0.6133 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.634/1.634, allocations: 221.3 MB / 0.7871 GB, free: 12.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.001009/0.001009, allocations: 99.88 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.124e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2942, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.493, allocations: 373.3 MB / 1.577 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.493, allocations: 87.06 kB / 1.577 GB, free: 8.242 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0328/1.526, allocations: 14.16 MB / 1.591 GB, free: 12.87 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.254e-06/1.526, allocations: 0 / 1.591 GB, free: 12.87 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.188e-05/1.526, allocations: 0 / 1.591 GB, free: 12.87 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.0008681/1.527, allocations: 457 kB / 1.591 GB, free: 12.39 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/1.527, allocations: 8.031 kB / 1.591 GB, free: 12.38 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/1.527, allocations: 15.91 kB / 1.591 GB, free: 12.36 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/1.527, allocations: 187.8 kB / 1.592 GB, free: 12.14 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/1.527, allocations: 7.312 kB / 1.592 GB, free: 12.14 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/1.527, allocations: 11.44 kB / 1.592 GB, free: 12.13 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/1.527, allocations: 92.27 kB / 1.592 GB, free: 12.06 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.527, allocations: 1.422 kB / 1.592 GB, free: 12.06 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/1.527, allocations: 0 / 1.592 GB, free: 12.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.527, allocations: 4 kB / 1.592 GB, free: 12.05 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/1.528, allocations: 92.91 kB / 1.592 GB, free: 12 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/1.529, allocations: 484.6 kB / 1.592 GB, free: 11.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/1.529, allocations: 109.6 kB / 1.592 GB, free: 11.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/1.529, allocations: 45.3 kB / 1.592 GB, free: 11.42 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/1.531, allocations: 0.9782 MB / 1.593 GB, free: 10.36 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.531, allocations: 34.55 kB / 1.593 GB, free: 10.32 MB / 1.01 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/1.531, allocations: 4 kB / 1.593 GB, free: 10.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=12): time 0.0003305/1.531, allocations: 108.5 kB / 1.593 GB, free: 10.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/1.531, allocations: 59.41 kB / 1.593 GB, free: 10.16 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/1.531, allocations: 144.5 kB / 1.594 GB, free: 10.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1.531, allocations: 29.39 kB / 1.594 GB, free: 9.992 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/1.531, allocations: 110.9 kB / 1.594 GB, free: 9.891 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/1.531, allocations: 34.72 kB / 1.594 GB, free: 9.859 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/1.532, allocations: 3.812 kB / 1.594 GB, free: 9.859 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.532, allocations: 325.8 kB / 1.594 GB, free: 9.539 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.532, allocations: 51.55 kB / 1.594 GB, free: 9.504 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/1.532, allocations: 89.14 kB / 1.594 GB, free: 9.426 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/1.532, allocations: 57.48 kB / 1.594 GB, free: 9.391 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.532, allocations: 4 kB / 1.594 GB, free: 9.387 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003543/1.532, allocations: 193.6 kB / 1.594 GB, free: 9.234 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.533, allocations: 11.94 kB / 1.594 GB, free: 9.223 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.533, allocations: 4.094 kB / 1.594 GB, free: 9.219 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.533, allocations: 0 / 1.594 GB, free: 9.219 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/1.533, allocations: 67.58 kB / 1.595 GB, free: 9.156 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.533, allocations: 0 / 1.595 GB, free: 9.156 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/1.533, allocations: 31.58 kB / 1.595 GB, free: 9.129 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/1.533, allocations: 8 kB / 1.595 GB, free: 9.121 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 0.0001137/1.533, allocations: 120.3 kB / 1.595 GB, free: 9.004 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/1.533, allocations: 19.75 kB / 1.595 GB, free: 8.984 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/1.534, allocations: 123.2 kB / 1.595 GB, free: 8.883 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.534, allocations: 4 kB / 1.595 GB, free: 8.879 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.534, allocations: 3.984 kB / 1.595 GB, free: 8.875 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.534, allocations: 0 / 1.595 GB, free: 8.875 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/1.534, allocations: 215.1 kB / 1.595 GB, free: 8.637 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.534, allocations: 0 / 1.595 GB, free: 8.637 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/1.534, allocations: 47.41 kB / 1.595 GB, free: 8.594 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/1.534, allocations: 3.938 kB / 1.595 GB, free: 8.59 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/1.534, allocations: 3.953 kB / 1.595 GB, free: 8.586 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.534, allocations: 0 / 1.595 GB, free: 8.586 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.534, allocations: 0 / 1.595 GB, free: 8.586 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/1.534, allocations: 204.7 kB / 1.595 GB, free: 8.395 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/1.535, allocations: 92.92 kB / 1.595 GB, free: 8.285 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/1.535, allocations: 3.562 kB / 1.595 GB, free: 8.285 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/1.535, allocations: 23.92 kB / 1.595 GB, free: 8.262 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/1.535, allocations: 7.984 kB / 1.595 GB, free: 8.254 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.535, allocations: 7.5 kB / 1.595 GB, free: 8.25 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.937e-05/1.535, allocations: 106.6 kB / 1.596 GB, free: 8.152 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.3e-07/1.535, allocations: 0 / 1.596 GB, free: 8.152 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004046/1.535, allocations: 74.44 kB / 1.596 GB, free: 8.09 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.0004705/1.536, allocations: 184.7 kB / 1.596 GB, free: 7.906 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002854/1.536, allocations: 119.3 kB / 1.596 GB, free: 7.82 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.536, allocations: 0 / 1.596 GB, free: 7.82 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/1.536, allocations: 50.05 kB / 1.596 GB, free: 7.785 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/1.536, allocations: 15.81 kB / 1.596 GB, free: 7.773 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/1.537, allocations: 151.3 kB / 1.596 GB, free: 7.625 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/1.537, allocations: 0.7087 MB / 1.597 GB, free: 6.891 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001116/1.537, allocations: 25.67 kB / 1.597 GB, free: 6.867 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/1.538, allocations: 15.44 kB / 1.597 GB, free: 6.852 MB / 1.01 GB Notification: Performance of SimCode: time 2.7e-07/1.538, allocations: 3.938 kB / 1.597 GB, free: 6.848 MB / 1.01 GB Notification: Performance of Templates: time 0.006179/1.544, allocations: 2.715 MB / 1.599 GB, free: 4.164 MB / 1.01 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