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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001389/0.001389, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001555/0.001555, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.398/1.398, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.64/2.64, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.89 kB / 1.07 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9204/0.9225, allocations: 159.9 MB / 1.226 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006658/0.9292, allocations: 4.587 MB / 1.231 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.9304, allocations: 0.8178 MB / 1.232 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.9306, allocations: 0 / 1.232 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.9308, allocations: 35.77 kB / 1.232 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.756e-05/0.931, allocations: 35.7 kB / 1.232 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.9316, allocations: 171.3 kB / 1.232 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.9319, allocations: 175.4 kB / 1.232 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.932, allocations: 21.11 kB / 1.232 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.9322, allocations: 75.77 kB / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.9324, allocations: 83.66 kB / 1.232 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.9324, allocations: 16 kB / 1.232 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.9328, allocations: 147.8 kB / 1.232 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.9329, allocations: 31.89 kB / 1.232 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.933, allocations: 67.66 kB / 1.232 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.9334, allocations: 248.1 kB / 1.233 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9335, allocations: 0 / 1.233 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9335, allocations: 8 kB / 1.233 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.9335, allocations: 0 / 1.233 GB, free: 7.121 MB / 0.9512 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.0009642/0.9345, allocations: 478.6 kB / 1.233 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9345, allocations: 8.031 kB / 1.233 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.9346, allocations: 20.84 kB / 1.233 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.9347, allocations: 180.2 kB / 1.233 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.9348, allocations: 12.38 kB / 1.233 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.9348, allocations: 8.375 kB / 1.233 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.9352, allocations: 127.4 kB / 1.234 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.9352, allocations: 0 / 1.234 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.9352, allocations: 0 / 1.234 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.9352, allocations: 4 kB / 1.234 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.9356, allocations: 147.9 kB / 1.234 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.9367, allocations: 464.5 kB / 1.234 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.937, allocations: 130.4 kB / 1.234 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.9372, allocations: 68.81 kB / 1.234 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/0.9387, allocations: 0.9683 MB / 1.235 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.9388, allocations: 34.56 kB / 1.235 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.934e-06/0.9388, allocations: 0 / 1.235 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0006946/0.9395, allocations: 217.3 kB / 1.235 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.9395, allocations: 55.41 kB / 1.236 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.9397, allocations: 163.3 kB / 1.236 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.9397, allocations: 29.64 kB / 1.236 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.9398, allocations: 108.4 kB / 1.236 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.9399, allocations: 47.64 kB / 1.236 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.94, allocations: 45.7 kB / 1.236 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9401, allocations: 330.8 kB / 1.236 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.9404, allocations: 75.89 kB / 1.236 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.9406, allocations: 109.1 kB / 1.236 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.941, allocations: 172.9 kB / 1.237 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.941, allocations: 0 / 1.237 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005666/0.9416, allocations: 247.5 kB / 1.237 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.9417, allocations: 8 kB / 1.237 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.9417, allocations: 0 / 1.237 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.9417, allocations: 7.938 kB / 1.237 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.942, allocations: 51.91 kB / 1.237 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.942, allocations: 0 / 1.237 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.9422, allocations: 35.8 kB / 1.237 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.9422, allocations: 16.09 kB / 1.237 GB, free: 2.441 MB / 0.9512 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.0001165/0.9423, allocations: 122.3 kB / 1.237 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.9424, allocations: 11.91 kB / 1.237 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.9429, allocations: 182.8 kB / 1.237 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.9429, allocations: 3.938 kB / 1.237 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9429, allocations: 4 kB / 1.237 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.943, allocations: 97 kB / 1.237 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.943, allocations: 0 / 1.237 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.9432, allocations: 23.91 kB / 1.237 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.9432, allocations: 7.984 kB / 1.237 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000507/0.9438, allocations: 248.8 kB / 1.238 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004708/0.9442, allocations: 335.1 kB / 1.238 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001781/0.9444, allocations: 64.05 kB / 1.238 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.633e-05/0.9445, allocations: 116 kB / 1.238 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of Backend: time 6.61e-07/0.9445, allocations: 0 / 1.238 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008431/0.9454, allocations: 258.7 kB / 1.238 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007222/0.9461, allocations: 0.6812 MB / 1.239 GB, free: 212 kB / 0.9512 GB Notification: Performance of Templates: time 0.00669/0.9528, allocations: 3.017 MB / 1.242 GB, free: 13.21 MB / 0.9669 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