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.00126/0.00126, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.001322/0.001322, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8147, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006923/0.8217, allocations: 4.575 MB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.8228, allocations: 0.8294 MB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.823, allocations: 4 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.8232, allocations: 27.77 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.771e-05/0.8233, allocations: 31.72 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.8239, allocations: 171.4 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.8242, allocations: 175.4 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.8243, allocations: 17.11 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.8245, allocations: 79.69 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.8246, allocations: 79.67 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.8247, allocations: 12 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.825, allocations: 159.8 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.8251, allocations: 31.91 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.8252, allocations: 67.7 kB / 1.215 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.8255, allocations: 233.1 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8256, allocations: 0 / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8256, allocations: 0 / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.8256, allocations: 0 / 1.215 GB, free: 7.094 MB / 0.9356 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.000939/0.8265, allocations: 486.8 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8266, allocations: 8.031 kB / 1.215 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.8266, allocations: 12.84 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.8268, allocations: 184.1 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.8268, allocations: 8.375 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.8269, allocations: 12.38 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.8272, allocations: 125.7 kB / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8272, allocations: 0 / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.8272, allocations: 4 kB / 1.216 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.8273, allocations: 11.97 kB / 1.216 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.8277, allocations: 141.5 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.8287, allocations: 460.5 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.829, allocations: 126.5 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.8292, allocations: 68.81 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.8306, allocations: 0.9725 MB / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.8307, allocations: 34.5 kB / 1.217 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.8307, allocations: 4 kB / 1.217 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0006893/0.8314, allocations: 205.4 kB / 1.218 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.8314, allocations: 55.39 kB / 1.218 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.8316, allocations: 164 kB / 1.218 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.8316, allocations: 33.7 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.8317, allocations: 108.3 kB / 1.218 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.8317, allocations: 43.44 kB / 1.218 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.8318, allocations: 45.7 kB / 1.218 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.832, allocations: 326.8 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.8322, allocations: 75.94 kB / 1.218 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.8324, allocations: 115.3 kB / 1.218 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.8329, allocations: 169.6 kB / 1.219 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8329, allocations: 3.938 kB / 1.219 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005581/0.8334, allocations: 243.2 kB / 1.219 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.8335, allocations: 8 kB / 1.219 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8335, allocations: 0 / 1.219 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8335, allocations: 8.031 kB / 1.219 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.8338, allocations: 63.89 kB / 1.219 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8338, allocations: 0 / 1.219 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.834, allocations: 23.83 kB / 1.219 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.834, allocations: 12 kB / 1.219 GB, free: 2.418 MB / 0.9356 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.0001008/0.8341, allocations: 125.8 kB / 1.219 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.8342, allocations: 11.81 kB / 1.219 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.8346, allocations: 183.3 kB / 1.219 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8347, allocations: 3.938 kB / 1.219 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8347, allocations: 4 kB / 1.219 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.8347, allocations: 96.91 kB / 1.219 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.8348, allocations: 0 / 1.219 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.8349, allocations: 15.98 kB / 1.219 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.835, allocations: 15.92 kB / 1.219 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005135/0.8355, allocations: 244.8 kB / 1.22 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004607/0.836, allocations: 334.5 kB / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000174/0.8362, allocations: 63.94 kB / 1.22 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.903e-05/0.8362, allocations: 116.2 kB / 1.22 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of Backend: time 5.51e-07/0.8363, allocations: 0 / 1.22 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008441/0.8371, allocations: 252.7 kB / 1.22 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007661/0.8379, allocations: 0.6969 MB / 1.221 GB, free: 184 kB / 0.9356 GB Notification: Performance of Templates: time 0.006779/0.8447, allocations: 3.072 MB / 1.224 GB, free: 13.13 MB / 0.9512 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/jenkins1/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