Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 195.3 kB / 22.11 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.709/1.709, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.421/3.421, allocations: 495.8 MB / 0.783 GB, free: 33.46 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder")
translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 64.33 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.431, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007299/0.4383, allocations: 4.617 MB / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001297/0.4396, allocations: 0.8139 MB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.4397, allocations: 0 / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.000211/0.4399, allocations: 35.75 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.44, allocations: 27.72 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.4406, allocations: 183.3 kB / 1.312 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002307/0.4408, allocations: 179.3 kB / 1.312 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.4409, allocations: 17.28 kB / 1.312 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.4411, allocations: 75.77 kB / 1.313 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.4412, allocations: 83.72 kB / 1.313 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4412, allocations: 12 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.4416, allocations: 147.7 kB / 1.313 GB, free: 11.64 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.4416, allocations: 35.89 kB / 1.313 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.4417, allocations: 63.72 kB / 1.313 GB, free: 11.54 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.4421, allocations: 239.1 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4421, allocations: 4 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.853e-06/0.4421, allocations: 0 / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.171e-06/0.4421, allocations: 0 / 1.313 GB, free: 11.3 MB / 1.014 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.0009643/0.4431, allocations: 408.2 kB / 1.314 GB, free: 10.88 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4431, allocations: 12.86 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.4432, allocations: 16.84 kB / 1.314 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.4433, allocations: 138.3 kB / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4434, allocations: 4.375 kB / 1.314 GB, free: 10.68 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.4434, allocations: 12.38 kB / 1.314 GB, free: 10.67 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.4437, allocations: 126.8 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4438, allocations: 0 / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.4438, allocations: 4 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4438, allocations: 4 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.4442, allocations: 139.9 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.4453, allocations: 439.5 kB / 1.314 GB, free: 9.926 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.4456, allocations: 110.5 kB / 1.314 GB, free: 9.809 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.4458, allocations: 68.81 kB / 1.315 GB, free: 9.738 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.4471, allocations: 500 kB / 1.315 GB, free: 9.23 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.4471, allocations: 30.56 kB / 1.315 GB, free: 9.191 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.4471, allocations: 0 / 1.315 GB, free: 9.191 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12): time 0.000757/0.4479, allocations: 221.3 kB / 1.315 GB, free: 8.969 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.4479, allocations: 51.41 kB / 1.315 GB, free: 8.906 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.4481, allocations: 165.6 kB / 1.315 GB, free: 8.734 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.4481, allocations: 29.7 kB / 1.315 GB, free: 8.699 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.4482, allocations: 112.4 kB / 1.316 GB, free: 8.586 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.4483, allocations: 43.64 kB / 1.316 GB, free: 8.543 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.4484, allocations: 45.7 kB / 1.316 GB, free: 8.492 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001592/0.4485, allocations: 326.8 kB / 1.316 GB, free: 8.164 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.4488, allocations: 71.94 kB / 1.316 GB, free: 8.094 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.449, allocations: 117.1 kB / 1.316 GB, free: 7.969 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.4495, allocations: 175.1 kB / 1.316 GB, free: 7.789 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4495, allocations: 4 kB / 1.316 GB, free: 7.785 MB / 1.014 GB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006464/0.4502, allocations: 237.2 kB / 1.317 GB, free: 7.547 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.4502, allocations: 13.23 kB / 1.317 GB, free: 7.535 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4502, allocations: 0 / 1.317 GB, free: 7.535 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4502, allocations: 3.938 kB / 1.317 GB, free: 7.531 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.4505, allocations: 64 kB / 1.317 GB, free: 7.469 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.4505, allocations: 4 kB / 1.317 GB, free: 7.465 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.4507, allocations: 27.88 kB / 1.317 GB, free: 7.438 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.4507, allocations: 15.92 kB / 1.317 GB, free: 7.422 MB / 1.014 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.0001339/0.4509, allocations: 121.8 kB / 1.317 GB, free: 7.293 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.4509, allocations: 15.84 kB / 1.317 GB, free: 7.277 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/0.4514, allocations: 186.8 kB / 1.317 GB, free: 7.09 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4514, allocations: 0 / 1.317 GB, free: 7.09 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4514, allocations: 0 / 1.317 GB, free: 7.09 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4515, allocations: 0 / 1.317 GB, free: 7.09 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.4517, allocations: 188.6 kB / 1.317 GB, free: 6.863 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4517, allocations: 4 kB / 1.317 GB, free: 6.859 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.4519, allocations: 27.97 kB / 1.317 GB, free: 6.832 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4519, allocations: 4 kB / 1.317 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4519, allocations: 3.938 kB / 1.317 GB, free: 6.824 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4519, allocations: 4 kB / 1.317 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4519, allocations: 3.938 kB / 1.317 GB, free: 6.816 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.4524, allocations: 251.9 kB / 1.317 GB, free: 6.555 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.4525, allocations: 31.81 kB / 1.318 GB, free: 6.523 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.4525, allocations: 7.938 kB / 1.318 GB, free: 6.516 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4526, allocations: 11.98 kB / 1.318 GB, free: 6.504 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.4527, allocations: 7.984 kB / 1.318 GB, free: 6.496 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4527, allocations: 4 kB / 1.318 GB, free: 6.492 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001123/0.4528, allocations: 117.6 kB / 1.318 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4528, allocations: 0 / 1.318 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000389/0.4532, allocations: 63.86 kB / 1.318 GB, free: 6.316 MB / 1.014 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.000331/0.4535, allocations: 159.8 kB / 1.318 GB, free: 6.148 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005585/0.4541, allocations: 163.9 kB / 1.318 GB, free: 5.988 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4541, allocations: 0 / 1.318 GB, free: 5.988 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.4543, allocations: 63.89 kB / 1.318 GB, free: 5.926 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4547, allocations: 27.91 kB / 1.318 GB, free: 5.898 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.4553, allocations: 259.9 kB / 1.318 GB, free: 5.617 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.4556, allocations: 0.7045 MB / 1.319 GB, free: 4.887 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 9.01e-05/0.4557, allocations: 17.08 kB / 1.319 GB, free: 4.871 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.4558, allocations: 15.44 kB / 1.319 GB, free: 4.855 MB / 1.014 GB
Notification: Performance of SimCode: time 4.11e-07/0.4558, allocations: 0 / 1.319 GB, free: 4.855 MB / 1.014 GB
Notification: Performance of Templates: time 0.007069/0.4629, allocations: 2.822 MB / 1.322 GB, free: 2.059 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.031044856645167]