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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005998/0.005998, allocations: 101.2 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 198.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3363, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006779/0.3431, allocations: 4.595 MB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3441, allocations: 0.8139 MB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.3442, allocations: 0 / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.3444, allocations: 31.77 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.3445, allocations: 31.7 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.345, allocations: 171.4 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3452, allocations: 175.4 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3453, allocations: 25.09 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.3455, allocations: 79.77 kB / 1.214 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3456, allocations: 83.59 kB / 1.214 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3457, allocations: 16 kB / 1.214 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.346, allocations: 147.8 kB / 1.214 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.346, allocations: 35.89 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.3461, allocations: 67.66 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.3464, allocations: 235.3 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3464, allocations: 4 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3464, allocations: 0 / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3464, allocations: 7.938 kB / 1.214 GB, free: 3.109 MB / 0.9669 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.0007979/0.3472, allocations: 478.9 kB / 1.215 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3473, allocations: 8.031 kB / 1.215 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.3473, allocations: 16.75 kB / 1.215 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3475, allocations: 188.2 kB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3475, allocations: 8.375 kB / 1.215 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3475, allocations: 12.38 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.3479, allocations: 117.7 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3479, allocations: 0 / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3479, allocations: 8 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3479, allocations: 3.984 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.3483, allocations: 147.8 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009817/0.3493, allocations: 468.4 kB / 1.215 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.3496, allocations: 118.5 kB / 1.216 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3498, allocations: 72.81 kB / 1.216 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.3511, allocations: 0.9645 MB / 1.217 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3512, allocations: 34.5 kB / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3512, allocations: 0 / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0007036/0.3519, allocations: 209.5 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.3519, allocations: 55.41 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3521, allocations: 163.2 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3521, allocations: 33.7 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.3522, allocations: 104.3 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.3522, allocations: 35.45 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.3523, allocations: 53.69 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3525, allocations: 322.8 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.3527, allocations: 75.89 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.353, allocations: 116.2 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.3534, allocations: 169.8 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3535, allocations: 0 / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006008/0.3541, allocations: 253.1 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3541, allocations: 4 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3541, allocations: 0 / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3541, allocations: 7.938 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3544, allocations: 55.91 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3544, allocations: 7.984 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.3546, allocations: 27.77 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.3546, allocations: 8 kB / 1.218 GB, free: 14.44 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.935e-05/0.3547, allocations: 125.9 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.3548, allocations: 19.75 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.3553, allocations: 174.9 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3553, allocations: 0 / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3553, allocations: 4 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3553, allocations: 4 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.3555, allocations: 221.5 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3555, allocations: 0 / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.3557, allocations: 27.92 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3557, allocations: 4 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3557, allocations: 3.938 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3557, allocations: 0 / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3557, allocations: 3.984 kB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.3562, allocations: 255.3 kB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.3563, allocations: 100.9 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3563, allocations: 3.938 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3565, allocations: 15.98 kB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.3565, allocations: 11.92 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3565, allocations: 0 / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.439e-05/0.3566, allocations: 128.9 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3566, allocations: 0 / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003333/0.357, allocations: 68.3 kB / 1.219 GB, free: 13.2 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.3572, allocations: 153 kB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.3578, allocations: 174.5 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3578, allocations: 0 / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.358, allocations: 72.73 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3584, allocations: 31.86 kB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.3589, allocations: 249.3 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3591, allocations: 0.7123 MB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.315e-05/0.3592, allocations: 13.03 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.3593, allocations: 23.42 kB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3593, allocations: 0 / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.006171/0.3655, allocations: 2.786 MB / 1.223 GB, free: 8.969 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches