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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001661, allocations: 115.2 kB / 16.42 MB, free: 6.008 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.001409/0.001409, allocations: 187.2 kB / 17.35 MB, free: 5.625 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.389/1.389, 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 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8605/0.8622, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00625/0.8685, allocations: 4.587 MB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.8696, allocations: 0.8101 MB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.8697, allocations: 1.188 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.87, allocations: 37.75 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.8701, allocations: 36.16 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007633/0.8709, allocations: 170.5 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.8712, allocations: 179.8 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.8714, allocations: 16.05 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.8716, allocations: 85.75 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.8718, allocations: 75.06 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.8718, allocations: 13.44 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.8723, allocations: 154.3 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.8724, allocations: 31.86 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.8725, allocations: 67.16 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.873, allocations: 248.4 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.8731, allocations: 0.75 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8731, allocations: 0 / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.8731, allocations: 0.8438 kB / 1.095 GB, free: 1.145 MB / 0.8575 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.001069/0.8742, allocations: 475.7 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.8742, allocations: 13.34 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.8743, allocations: 11.73 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.8744, allocations: 180.1 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.8745, allocations: 13.3 kB / 1.096 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.8745, allocations: 15.31 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.8749, allocations: 120.5 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.8749, allocations: 0 / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.875, allocations: 1.828 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.875, allocations: 6.469 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.8755, allocations: 142 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.8766, allocations: 465.3 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.8769, allocations: 137.7 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.8772, allocations: 68.69 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/0.879, allocations: 0.9643 MB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.879, allocations: 35.88 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 2.786e-06/0.879, allocations: 0.5625 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0009442/0.88, allocations: 217.2 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.8801, allocations: 53.38 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.8803, allocations: 166.4 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.8803, allocations: 30.83 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.8805, allocations: 107.9 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.8805, allocations: 40.58 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.8806, allocations: 49.7 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.8808, allocations: 325.8 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.8811, allocations: 74.56 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.8814, allocations: 108 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.8821, allocations: 174.4 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8821, allocations: 4.781 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007108/0.8828, allocations: 244.3 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.8828, allocations: 9.281 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.8828, allocations: 1.594 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.8829, allocations: 1.688 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.8832, allocations: 54.91 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.8833, allocations: 2.344 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.8835, allocations: 35.98 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.8835, allocations: 11.33 kB / 1.099 GB, free: 13.91 MB / 0.8731 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.0001386/0.8836, allocations: 123.5 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.8837, allocations: 17.5 kB / 1.099 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.8843, allocations: 179.7 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.8844, allocations: 5.703 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8844, allocations: 0.7969 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.8845, allocations: 94.67 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.8845, allocations: 1.391 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.8847, allocations: 15.83 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.8847, allocations: 8.125 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006656/0.8854, allocations: 247.7 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006186/0.8861, allocations: 334.2 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002404/0.8863, allocations: 70.61 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000125/0.8864, allocations: 116.8 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of Backend: time 4.41e-07/0.8864, allocations: 0 / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.8876, allocations: 253 kB / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001032/0.8886, allocations: 0.6743 MB / 1.101 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.01046/0.8991, allocations: 3.007 MB / 1.104 GB, free: 12.02 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches