Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001609/0.001609, allocations: 110 kB / 16.42 MB, free: 6.453 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.001905/0.001905, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8216/0.8231, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006167/0.8293, allocations: 4.578 MB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.8304, allocations: 0.8224 MB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.8304, allocations: 0 / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.8306, allocations: 35.78 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.8307, allocations: 35.7 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.8312, allocations: 171.4 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.8314, allocations: 175.4 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.8315, allocations: 17.11 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.8317, allocations: 87.67 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.8318, allocations: 79.67 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.8319, allocations: 16 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.8322, allocations: 147.8 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.8322, allocations: 35.89 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.8323, allocations: 63.72 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.8327, allocations: 233 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.8327, allocations: 8 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8327, allocations: 3.938 kB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.8327, allocations: 0 / 1.174 GB, free: 13.35 MB / 0.9044 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.000872/0.8336, allocations: 482.8 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.8336, allocations: 12.03 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.8337, allocations: 12.84 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.8338, allocations: 188 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.8339, allocations: 12.38 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.8339, allocations: 8.375 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.8342, allocations: 124 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.8343, allocations: 3.938 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.8343, allocations: 0 / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.8343, allocations: 4 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.8347, allocations: 147.9 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009451/0.8357, allocations: 460.5 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.836, allocations: 122.5 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.8362, allocations: 68.81 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.8375, allocations: 0.9722 MB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.8376, allocations: 30.56 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.8376, allocations: 0 / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0006962/0.8383, allocations: 213.3 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.8383, allocations: 55.41 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.8385, allocations: 163.2 kB / 1.177 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.8385, allocations: 33.64 kB / 1.177 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.8386, allocations: 112.3 kB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.8386, allocations: 31.47 kB / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.202e-05/0.8387, allocations: 53.62 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8388, allocations: 326.8 kB / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.8391, allocations: 71.95 kB / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.8393, allocations: 113.5 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.8397, allocations: 169.9 kB / 1.178 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8397, allocations: 3.938 kB / 1.178 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005631/0.8403, allocations: 247.6 kB / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.8403, allocations: 8 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.8404, allocations: 0 / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.8404, allocations: 7.938 kB / 1.178 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.8406, allocations: 55.89 kB / 1.178 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8407, allocations: 0 / 1.178 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.8408, allocations: 31.92 kB / 1.178 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.8409, allocations: 12 kB / 1.178 GB, free: 8.691 MB / 0.9044 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 0.0001034/0.841, allocations: 121.8 kB / 1.178 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.841, allocations: 11.81 kB / 1.178 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.8415, allocations: 175.4 kB / 1.178 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8415, allocations: 7.938 kB / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8415, allocations: 0 / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.8416, allocations: 100.9 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.8416, allocations: 4 kB / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.8418, allocations: 11.98 kB / 1.178 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.8418, allocations: 11.92 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005267/0.8424, allocations: 260.8 kB / 1.179 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004744/0.8428, allocations: 330.5 kB / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001889/0.843, allocations: 63.95 kB / 1.179 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.9e-05/0.8431, allocations: 120.9 kB / 1.179 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of Backend: time 4.01e-07/0.8431, allocations: 3.938 kB / 1.179 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008036/0.8439, allocations: 264.5 kB / 1.179 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006971/0.8447, allocations: 0.6774 MB / 1.18 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of Templates: time 0.006153/0.8508, allocations: 3.017 MB / 1.183 GB, free: 3.449 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches