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.334/2.334, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001144/0.001145, allocations: 188.8 kB / 487.4 MB, free: 5.031 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.466/1.466, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0008719/0.0008719, allocations: 97.52 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.889e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3328, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.534, allocations: 372.6 MB / 1.57 GB, free: 0.9648 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.534, allocations: 97.77 kB / 1.57 GB, free: 0.9102 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.03137/1.566, allocations: 14.09 MB / 1.584 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.174e-06/1.566, allocations: 4 kB / 1.584 GB, free: 5.727 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.566, allocations: 3.938 kB / 1.584 GB, free: 5.723 MB / 0.9948 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.0007775/1.567, allocations: 463.5 kB / 1.584 GB, free: 5.238 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.567, allocations: 12.03 kB / 1.584 GB, free: 5.227 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/1.567, allocations: 7.906 kB / 1.584 GB, free: 5.219 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/1.567, allocations: 187.4 kB / 1.584 GB, free: 4.996 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.567, allocations: 4 kB / 1.584 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/1.567, allocations: 4 kB / 1.584 GB, free: 4.988 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002152/1.567, allocations: 94.53 kB / 1.584 GB, free: 4.926 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/1.567, allocations: 84.38 kB / 1.585 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.567, allocations: 0 / 1.585 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/1.567, allocations: 0 / 1.585 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/1.567, allocations: 0 / 1.585 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009442/1.568, allocations: 441.8 kB / 1.585 GB, free: 4.449 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/1.569, allocations: 93.31 kB / 1.585 GB, free: 4.379 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/1.569, allocations: 48.23 kB / 1.585 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/1.57, allocations: 0.9783 MB / 1.586 GB, free: 3.277 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.57, allocations: 38.5 kB / 1.586 GB, free: 3.234 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/1.57, allocations: 0 / 1.586 GB, free: 3.234 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.0004478/1.57, allocations: 124.2 kB / 1.586 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/1.57, allocations: 55.41 kB / 1.586 GB, free: 3.062 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/1.571, allocations: 141.6 kB / 1.586 GB, free: 2.934 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/1.571, allocations: 25.7 kB / 1.586 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/1.571, allocations: 103.8 kB / 1.587 GB, free: 2.805 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/1.571, allocations: 43.27 kB / 1.587 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/1.571, allocations: 0 / 1.587 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.571, allocations: 326.4 kB / 1.587 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.004e-05/1.571, allocations: 47.25 kB / 1.587 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/1.571, allocations: 78.95 kB / 1.587 GB, free: 2.348 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/1.572, allocations: 124.5 kB / 1.587 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.572, allocations: 0 / 1.587 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006267/1.572, allocations: 248.7 kB / 1.587 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.572, allocations: 11.94 kB / 1.587 GB, free: 2.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.572, allocations: 3.953 kB / 1.587 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.572, allocations: 0 / 1.587 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/1.573, allocations: 64 kB / 1.587 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.573, allocations: 0 / 1.587 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/1.573, allocations: 39.53 kB / 1.587 GB, free: 1.938 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/1.573, allocations: 8 kB / 1.587 GB, free: 1.93 MB / 0.9948 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.502e-05/1.573, allocations: 104.9 kB / 1.588 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/1.573, allocations: 11.81 kB / 1.588 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/1.573, allocations: 153 kB / 1.588 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/1.573, allocations: 7.938 kB / 1.588 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.573, allocations: 0 / 1.588 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.573, allocations: 4 kB / 1.588 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/1.574, allocations: 180.9 kB / 1.588 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.574, allocations: 0 / 1.588 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/1.574, allocations: 39.91 kB / 1.588 GB, free: 1.438 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/1.574, allocations: 7.938 kB / 1.588 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/1.574, allocations: 0 / 1.588 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.574, allocations: 0 / 1.588 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.574, allocations: 0 / 1.588 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/1.574, allocations: 230.1 kB / 1.588 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/1.574, allocations: 85.02 kB / 1.588 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/1.574, allocations: 3.984 kB / 1.588 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.574, allocations: 19.98 kB / 1.588 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/1.574, allocations: 11.86 kB / 1.588 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/1.574, allocations: 4 kB / 1.588 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.174e-05/1.575, allocations: 116 kB / 1.588 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.1e-07/1.575, allocations: 0 / 1.588 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003328/1.575, allocations: 63.91 kB / 1.588 GB, free: 0.9141 MB / 0.9948 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.0003377/1.575, allocations: 186.9 kB / 1.589 GB, free: 0.7227 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000222/1.575, allocations: 118.5 kB / 1.589 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.575, allocations: 0 / 1.589 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/1.576, allocations: 39.5 kB / 1.589 GB, free: 0.6133 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/1.576, allocations: 20.02 kB / 1.589 GB, free: 0.5977 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/1.576, allocations: 146.7 kB / 1.589 GB, free: 456 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/1.576, allocations: 0.7045 MB / 1.59 GB, free: 15.71 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.668e-05/1.577, allocations: 21.19 kB / 1.59 GB, free: 15.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/1.577, allocations: 18.62 kB / 1.59 GB, free: 15.68 MB / 1.01 GB Notification: Performance of SimCode: time 2.41e-07/1.577, allocations: 0 / 1.59 GB, free: 15.68 MB / 1.01 GB Notification: Performance of Templates: time 0.00539/1.582, allocations: 2.426 MB / 1.592 GB, free: 13.28 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