Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001984/0.001984, allocations: 109 kB / 17.08 MB, free: 6.016 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.002333/0.002333, allocations: 192.3 kB / 20.03 MB, free: 3.082 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.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 490 MB / 0.7695 GB, free: 3.098 MB / 0.6075 GB " [Timeout remaining time 176] 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.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 71.88 kB / 1.104 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9593/0.9616, allocations: 164 MB / 1.264 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003354/0.965, allocations: 2.149 MB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.9668, allocations: 1.034 MB / 1.267 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.967, allocations: 3.25 kB / 1.267 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.923e-05/0.9671, allocations: 33.02 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.9674, allocations: 80.67 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.9679, allocations: 189 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.9683, allocations: 298.1 kB / 1.268 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.9685, allocations: 63.88 kB / 1.268 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.9687, allocations: 110.5 kB / 1.268 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.9689, allocations: 143 kB / 1.268 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.969, allocations: 17.34 kB / 1.268 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005499/0.9695, allocations: 298.2 kB / 1.268 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.9696, allocations: 49.02 kB / 1.268 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.9697, allocations: 122.9 kB / 1.268 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.9703, allocations: 326 kB / 1.269 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9703, allocations: 4.688 kB / 1.269 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9703, allocations: 4 kB / 1.269 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.9703, allocations: 0.7812 kB / 1.269 GB, free: 4.32 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001067/0.9714, allocations: 0.6382 MB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.9714, allocations: 9.406 kB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.9717, allocations: 39.08 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.9721, allocations: 285.8 kB / 1.27 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.9721, allocations: 15.28 kB / 1.27 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.9721, allocations: 17.53 kB / 1.27 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.9727, allocations: 228.9 kB / 1.27 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9727, allocations: 4 kB / 1.27 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.9728, allocations: 6.344 kB / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.9728, allocations: 3.75 kB / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.9735, allocations: 200.9 kB / 1.27 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.9746, allocations: 0.9463 MB / 1.271 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/0.9754, allocations: 242.8 kB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.9758, allocations: 101.7 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.9758, allocations: 6.219 kB / 1.271 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.9758, allocations: 40.14 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.9758, allocations: 0.8125 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.001237/0.9771, allocations: 338.1 kB / 1.272 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.9771, allocations: 79.39 kB / 1.272 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.9774, allocations: 268.7 kB / 1.272 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.9775, allocations: 30.61 kB / 1.272 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.9776, allocations: 161.7 kB / 1.272 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.9776, allocations: 55.69 kB / 1.272 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.9777, allocations: 44.91 kB / 1.272 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.9778, allocations: 336.1 kB / 1.273 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.9781, allocations: 87.98 kB / 1.273 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.9785, allocations: 145.7 kB / 1.273 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/0.9792, allocations: 243.5 kB / 1.273 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.9792, allocations: 4 kB / 1.273 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008695/0.9801, allocations: 301.7 kB / 1.273 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.9801, allocations: 5.219 kB / 1.273 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9801, allocations: 6.719 kB / 1.273 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.9801, allocations: 2.688 kB / 1.273 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.9804, allocations: 62.75 kB / 1.273 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.9805, allocations: 3.938 kB / 1.273 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.9807, allocations: 37.25 kB / 1.273 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.9808, allocations: 7.5 kB / 1.273 GB, free: 1.066 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001088/0.9809, allocations: 147 kB / 1.274 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.981, allocations: 32.5 kB / 1.274 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/0.9819, allocations: 289.8 kB / 1.274 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.9819, allocations: 2.312 kB / 1.274 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.9819, allocations: 0.8125 kB / 1.274 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.9819, allocations: 1.094 kB / 1.274 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.9823, allocations: 298.4 kB / 1.274 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.9823, allocations: 9.094 kB / 1.274 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.9826, allocations: 54.16 kB / 1.274 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.9826, allocations: 8.375 kB / 1.274 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.9826, allocations: 2.375 kB / 1.274 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9826, allocations: 1.188 kB / 1.274 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9826, allocations: 0 / 1.274 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.9834, allocations: 440.6 kB / 1.275 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.9835, allocations: 108 kB / 1.275 GB, free: 152 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.9836, allocations: 4.969 kB / 1.275 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.9838, allocations: 24.59 kB / 1.275 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.9839, allocations: 16.34 kB / 1.275 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.9839, allocations: 13.48 kB / 1.275 GB, free: 136 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001607/0.9841, allocations: 186.1 kB / 1.275 GB, free: 24 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9841, allocations: 0 / 1.275 GB, free: 24 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003889/0.9845, allocations: 63.14 kB / 1.275 GB, free: 8 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002882/0.9848, allocations: 119.6 kB / 1.275 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008033/0.9856, allocations: 225.4 kB / 1.275 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9856, allocations: 0 / 1.275 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.986, allocations: 120.6 kB / 1.276 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.9866, allocations: 76 kB / 1.276 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.9877, allocations: 484.7 kB / 1.276 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.9881, allocations: 0.7496 MB / 1.277 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.9882, allocations: 24.77 kB / 1.277 GB, free: 14.76 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.9882, allocations: 0 / 1.277 GB, free: 14.76 MB / 1.014 GB Notification: Performance of Templates: time 0.008089/0.9963, allocations: 3.477 MB / 1.28 GB, free: 14.41 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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: 11.747995485900901]