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.001656/0.001656, allocations: 79.73 kB / 19.76 MB, free: 1.875 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.001833/0.001833, allocations: 156.2 kB / 23.01 MB, free: 4.598 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.431/1.431, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.935/2.935, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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.002765/0.002765, allocations: 63.89 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9654/0.9681, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003036/0.9712, allocations: 2.075 MB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.9728, allocations: 1.024 MB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.9729, allocations: 7.219 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.624e-05/0.973, allocations: 24.94 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.9732, allocations: 89.94 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.9736, allocations: 189.2 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000299/0.9739, allocations: 295.5 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.9741, allocations: 43.02 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.9742, allocations: 116.6 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.9745, allocations: 126.2 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.9745, allocations: 17.66 kB / 1.191 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004757/0.975, allocations: 281 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.975, allocations: 55.89 kB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.9751, allocations: 98.77 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.9756, allocations: 335.3 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9756, allocations: 0 / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9756, allocations: 0 / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.9756, allocations: 0 / 1.191 GB, free: 13.39 MB / 1.076 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.001011/0.9766, allocations: 0.5567 MB / 1.192 GB, free: 12.97 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.9766, allocations: 7.656 kB / 1.192 GB, free: 12.97 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.9769, allocations: 42.7 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.9772, allocations: 227.9 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.9773, allocations: 18.97 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.9773, allocations: 17.38 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.9778, allocations: 238.5 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.9778, allocations: 0 / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.9778, allocations: 5.312 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.9779, allocations: 4.094 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.9786, allocations: 197.8 kB / 1.193 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.9795, allocations: 0.8302 MB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007945/0.9803, allocations: 236.5 kB / 1.194 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.9806, allocations: 96.7 kB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.9807, allocations: 10.19 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.9807, allocations: 37.47 kB / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.9807, allocations: 0 / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.001186/0.9819, allocations: 336.2 kB / 1.194 GB, free: 11.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.9819, allocations: 83.8 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.9822, allocations: 262.1 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.9822, allocations: 30.83 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.9823, allocations: 164.1 kB / 1.195 GB, free: 11.15 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.9823, allocations: 58.14 kB / 1.195 GB, free: 11.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.9824, allocations: 40.09 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.9824, allocations: 340.8 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.9827, allocations: 92.98 kB / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.9831, allocations: 144 kB / 1.195 GB, free: 10.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.9838, allocations: 241.9 kB / 1.195 GB, free: 10.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9838, allocations: 0 / 1.195 GB, free: 10.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008377/0.9846, allocations: 295.7 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.9846, allocations: 7.062 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9846, allocations: 5.219 kB / 1.196 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.9846, allocations: 7.281 kB / 1.196 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.9849, allocations: 60.55 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9849, allocations: 7.797 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.9852, allocations: 41.62 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.9852, allocations: 7.219 kB / 1.196 GB, free: 10.39 MB / 1.076 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 8.636e-05/0.9853, allocations: 132.5 kB / 1.196 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.9854, allocations: 31.98 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008237/0.9862, allocations: 287.7 kB / 1.196 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.9862, allocations: 6.156 kB / 1.196 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.9862, allocations: 4.688 kB / 1.196 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.9862, allocations: 1.609 kB / 1.196 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.9866, allocations: 206.3 kB / 1.196 GB, free: 9.961 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9866, allocations: 3.938 kB / 1.196 GB, free: 9.957 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.9869, allocations: 54.52 kB / 1.197 GB, free: 9.953 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9869, allocations: 2.281 kB / 1.197 GB, free: 9.953 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.9869, allocations: 5.953 kB / 1.197 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9869, allocations: 1.594 kB / 1.197 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9869, allocations: 5.922 kB / 1.197 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.9877, allocations: 442.6 kB / 1.197 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.9878, allocations: 32.61 kB / 1.197 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.9878, allocations: 5.719 kB / 1.197 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.9881, allocations: 31.83 kB / 1.197 GB, free: 9.637 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.9881, allocations: 18.45 kB / 1.197 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.9882, allocations: 4.312 kB / 1.197 GB, free: 9.633 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001531/0.9883, allocations: 189.3 kB / 1.197 GB, free: 9.523 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9883, allocations: 1.125 kB / 1.197 GB, free: 9.523 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003786/0.9887, allocations: 55.11 kB / 1.197 GB, free: 9.516 MB / 1.076 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.0001862/0.9889, allocations: 112.2 kB / 1.197 GB, free: 9.422 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008072/0.9897, allocations: 219.8 kB / 1.198 GB, free: 9.375 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9897, allocations: 1.094 kB / 1.198 GB, free: 9.375 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.99, allocations: 112.3 kB / 1.198 GB, free: 9.352 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.9906, allocations: 80.59 kB / 1.198 GB, free: 9.312 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.9913, allocations: 444.7 kB / 1.198 GB, free: 9.023 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.9915, allocations: 144.4 kB / 1.198 GB, free: 8.941 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.9916, allocations: 25 kB / 1.198 GB, free: 8.938 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.9917, allocations: 27.78 kB / 1.198 GB, free: 8.926 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/0.9917, allocations: 4 kB / 1.198 GB, free: 8.922 MB / 1.076 GB Notification: Performance of Templates: time 0.009462/1.001, allocations: 4.261 MB / 1.203 GB, free: 8.43 MB / 1.076 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 -s ida -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: 8.959855185006745]