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.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.001419/0.001419, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001584/0.001584, allocations: 207.3 kB / 22.24 MB, free: 5.262 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.402/3.402, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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: 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.002131/0.002131, allocations: 76.09 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3627, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003544/0.3662, allocations: 2.063 MB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.3681, allocations: 1.021 MB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.3682, allocations: 3.938 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.751e-05/0.3683, allocations: 27.66 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.3686, allocations: 79.28 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.3691, allocations: 202.1 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.3694, allocations: 290.8 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3696, allocations: 52.77 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.3697, allocations: 103.6 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.37, allocations: 131.3 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.979e-05/0.37, allocations: 20 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.3705, allocations: 287.6 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.3705, allocations: 43.78 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.3706, allocations: 107.4 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.3711, allocations: 330.6 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3711, allocations: 0 / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3711, allocations: 0 / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3711, allocations: 7.922 kB / 1.368 GB, free: 8.801 MB / 1.061 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.001108/0.3722, allocations: 0.5554 MB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3722, allocations: 8.031 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.3725, allocations: 36.75 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.3729, allocations: 229.4 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3729, allocations: 16.66 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.3729, allocations: 19.92 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.3735, allocations: 232.5 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3735, allocations: 3.938 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3735, allocations: 8 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3735, allocations: 4 kB / 1.37 GB, free: 7.621 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006921/0.3742, allocations: 195.8 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.3754, allocations: 0.8405 MB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/0.3762, allocations: 237.1 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.3766, allocations: 93.64 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3766, allocations: 0 / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3766, allocations: 38.56 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.3766, allocations: 0 / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.001234/0.3779, allocations: 345.7 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.3779, allocations: 81.11 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.3782, allocations: 260.2 kB / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3782, allocations: 29.7 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3784, allocations: 168.3 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.3784, allocations: 55.53 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.3785, allocations: 45.64 kB / 1.372 GB, free: 5.137 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3787, allocations: 334.8 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.379, allocations: 91.91 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.3794, allocations: 140 kB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.3801, allocations: 245.7 kB / 1.373 GB, free: 4.293 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3801, allocations: 0 / 1.373 GB, free: 4.293 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008866/0.381, allocations: 297.1 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.381, allocations: 8 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.381, allocations: 0 / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3811, allocations: 4 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.3814, allocations: 64.12 kB / 1.373 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3814, allocations: 11.94 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.3816, allocations: 35.81 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3816, allocations: 12 kB / 1.373 GB, free: 3.863 MB / 1.061 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.0001396/0.3818, allocations: 138.8 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.3819, allocations: 31.84 kB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.3828, allocations: 279.1 kB / 1.373 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3828, allocations: 4 kB / 1.373 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3828, allocations: 0 / 1.373 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3828, allocations: 3.984 kB / 1.373 GB, free: 3.395 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.3831, allocations: 209.1 kB / 1.374 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3831, allocations: 7.938 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.3834, allocations: 55.89 kB / 1.374 GB, free: 3.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3834, allocations: 0 / 1.374 GB, free: 3.098 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3834, allocations: 8 kB / 1.374 GB, free: 3.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3834, allocations: 4 kB / 1.374 GB, free: 3.086 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3834, allocations: 0 / 1.374 GB, free: 3.086 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.3844, allocations: 448.4 kB / 1.374 GB, free: 2.633 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.3844, allocations: 27.75 kB / 1.374 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.3844, allocations: 4 kB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.3847, allocations: 31.95 kB / 1.374 GB, free: 2.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.3848, allocations: 15.97 kB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3848, allocations: 12 kB / 1.374 GB, free: 2.543 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001865/0.385, allocations: 183.1 kB / 1.374 GB, free: 2.367 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.385, allocations: 0 / 1.374 GB, free: 2.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003712/0.3854, allocations: 59.94 kB / 1.375 GB, free: 2.309 MB / 1.061 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.0001905/0.3855, allocations: 111.2 kB / 1.375 GB, free: 2.191 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008003/0.3864, allocations: 224.7 kB / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3864, allocations: 0 / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.3867, allocations: 119.8 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.3873, allocations: 77.7 kB / 1.375 GB, free: 1.777 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.3881, allocations: 450.7 kB / 1.375 GB, free: 1.305 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.3883, allocations: 143.1 kB / 1.376 GB, free: 1.145 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.3884, allocations: 30.28 kB / 1.376 GB, free: 1.117 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.3885, allocations: 23.44 kB / 1.376 GB, free: 1.094 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3885, allocations: 0 / 1.376 GB, free: 1.094 MB / 1.061 GB Notification: Performance of Templates: time 0.009416/0.3979, allocations: 4.55 MB / 1.38 GB, free: 12.65 MB / 1.076 GB " [Timeout remaining time 300] 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/jenkins/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: 9.364738063886762]