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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 210.6 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.676/1.676, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.543/3.543, allocations: 0.49 GB / 0.7959 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 67.39 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5491/0.5513, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.008979/0.5603, allocations: 4.425 MB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.562, allocations: 0.7633 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.5621, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.5623, allocations: 31.78 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.5624, allocations: 35.64 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007126/0.5631, allocations: 171.4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.5634, allocations: 175.4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.5635, allocations: 13.28 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.5637, allocations: 83.75 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.5638, allocations: 87.59 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.5639, allocations: 12 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.5642, allocations: 135.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.5643, allocations: 31.91 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.5644, allocations: 63.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.5648, allocations: 239.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5648, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5648, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.5648, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 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.001051/0.5659, allocations: 405.4 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.5659, allocations: 12.03 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.566, allocations: 16.84 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.5661, allocations: 126.4 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.5662, allocations: 8.375 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.5662, allocations: 12.38 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.5666, allocations: 119.6 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5666, allocations: 0 / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.5666, allocations: 4 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.5666, allocations: 4 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.567, allocations: 147.8 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.5681, allocations: 380.2 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.5684, allocations: 118.5 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.5686, allocations: 64.81 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.5699, allocations: 480.2 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.5699, allocations: 38.5 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.5699, allocations: 0 / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0007128/0.5707, allocations: 213.4 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.5707, allocations: 55.34 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.5709, allocations: 161.4 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.5709, allocations: 29.7 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.571, allocations: 112.4 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.5711, allocations: 39.69 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.321e-05/0.5711, allocations: 53.66 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5713, allocations: 330.8 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.5716, allocations: 67.95 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.5718, allocations: 127.1 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.5722, allocations: 169.4 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5722, allocations: 3.938 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005675/0.5728, allocations: 239.6 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5728, allocations: 4.094 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.5728, allocations: 8 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.5729, allocations: 0 / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.5731, allocations: 55.91 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.5732, allocations: 7.938 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.5733, allocations: 35.81 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.5734, allocations: 4 kB / 1.337 GB, free: 6.922 MB / 1.029 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.0001536/0.5735, allocations: 132.7 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.5736, allocations: 11.91 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.5741, allocations: 171 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-06/0.5741, allocations: 11.92 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5741, allocations: 7.938 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.5741, allocations: 15.94 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.5742, allocations: 4 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.5743, allocations: 15.97 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.5744, allocations: 15.98 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005226/0.5749, allocations: 244.8 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005104/0.5754, allocations: 334.5 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001894/0.5756, allocations: 60.72 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.643e-05/0.5757, allocations: 116.2 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of Backend: time 5.91e-07/0.5757, allocations: 4 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009584/0.5766, allocations: 238.1 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009851/0.5776, allocations: 0.6776 MB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of Templates: time 0.008074/0.5857, allocations: 3.366 MB / 1.342 GB, free: 1.473 MB / 1.029 GB " [Timeout remaining time 299] 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/jenkins1/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.602574728996842]