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.001663/0.001663, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001814/0.001814, allocations: 213.2 kB / 22.99 MB, free: 4.965 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.371/3.371, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 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.002165/0.002165, allocations: 68.02 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3816, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003604/0.3852, allocations: 2.063 MB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3871, allocations: 1.018 MB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3872, allocations: 11.94 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.957e-05/0.3873, allocations: 27.66 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.3876, allocations: 79.23 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.388, allocations: 191.6 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.3884, allocations: 298.7 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3885, allocations: 44.84 kB / 1.368 GB, free: 9.867 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3887, allocations: 115.5 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.3889, allocations: 127.4 kB / 1.369 GB, free: 9.629 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.389, allocations: 16 kB / 1.369 GB, free: 9.613 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.3894, allocations: 283.6 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.3894, allocations: 51.83 kB / 1.369 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.3895, allocations: 99.45 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.39, allocations: 338.5 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.39, allocations: 0 / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.984e-06/0.39, allocations: 0 / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.39, allocations: 4 kB / 1.369 GB, free: 8.852 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.00108/0.3911, allocations: 0.5515 MB / 1.37 GB, free: 8.266 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3911, allocations: 8.031 kB / 1.37 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.3913, allocations: 36.75 kB / 1.37 GB, free: 8.223 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.3917, allocations: 233.4 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3918, allocations: 8.656 kB / 1.37 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.3918, allocations: 23.94 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.3923, allocations: 228.5 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3923, allocations: 0 / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.3924, allocations: 8 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3924, allocations: 8 kB / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.393, allocations: 191.8 kB / 1.371 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3942, allocations: 0.8367 MB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/0.395, allocations: 245.1 kB / 1.372 GB, free: 6.348 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.3953, allocations: 97.64 kB / 1.372 GB, free: 6.246 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.3953, allocations: 4 kB / 1.372 GB, free: 6.242 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3954, allocations: 38.5 kB / 1.372 GB, free: 6.195 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.3954, allocations: 0 / 1.372 GB, free: 6.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.001167/0.3965, allocations: 337.5 kB / 1.372 GB, free: 5.859 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.3966, allocations: 85.05 kB / 1.372 GB, free: 5.758 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.3969, allocations: 256.2 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3969, allocations: 37.7 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.3971, allocations: 164.3 kB / 1.373 GB, free: 5.297 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.3971, allocations: 55.53 kB / 1.373 GB, free: 5.242 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.3972, allocations: 45.64 kB / 1.373 GB, free: 5.191 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3974, allocations: 338.8 kB / 1.373 GB, free: 4.852 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.3977, allocations: 83.92 kB / 1.373 GB, free: 4.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.398, allocations: 152.1 kB / 1.373 GB, free: 4.602 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.3987, allocations: 237.7 kB / 1.373 GB, free: 4.348 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3987, allocations: 4 kB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008218/0.3995, allocations: 289.2 kB / 1.374 GB, free: 4.055 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3996, allocations: 8 kB / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3996, allocations: 0 / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3996, allocations: 7.984 kB / 1.374 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.3999, allocations: 59.95 kB / 1.374 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3999, allocations: 7.922 kB / 1.374 GB, free: 3.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.4001, allocations: 47.94 kB / 1.374 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.4001, allocations: 4 kB / 1.374 GB, free: 3.922 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.0001344/0.4003, allocations: 138.4 kB / 1.374 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4004, allocations: 23.86 kB / 1.374 GB, free: 3.754 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008246/0.4012, allocations: 295.9 kB / 1.374 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4012, allocations: 0 / 1.374 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4012, allocations: 4 kB / 1.374 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4012, allocations: 3.984 kB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.4015, allocations: 209.1 kB / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4015, allocations: 7.938 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.4018, allocations: 55.89 kB / 1.375 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.4018, allocations: 4 kB / 1.375 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.4018, allocations: 7.938 kB / 1.375 GB, free: 3.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4018, allocations: 0 / 1.375 GB, free: 3.137 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4018, allocations: 4 kB / 1.375 GB, free: 3.133 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.4027, allocations: 444.2 kB / 1.375 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.4027, allocations: 27.75 kB / 1.375 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.4028, allocations: 8 kB / 1.375 GB, free: 2.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.403, allocations: 27.95 kB / 1.375 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.4031, allocations: 19.97 kB / 1.375 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4031, allocations: 8 kB / 1.375 GB, free: 2.594 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001896/0.4033, allocations: 187.1 kB / 1.375 GB, free: 2.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4033, allocations: 4 kB / 1.375 GB, free: 2.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003614/0.4037, allocations: 55.94 kB / 1.375 GB, free: 2.355 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.0002172/0.4039, allocations: 117.7 kB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007524/0.4046, allocations: 216.2 kB / 1.376 GB, free: 2.023 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4046, allocations: 0 / 1.376 GB, free: 2.023 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.405, allocations: 115.8 kB / 1.376 GB, free: 1.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.4055, allocations: 76.19 kB / 1.376 GB, free: 1.836 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.4064, allocations: 475.2 kB / 1.376 GB, free: 1.336 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.4066, allocations: 147.1 kB / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.4067, allocations: 23.38 kB / 1.376 GB, free: 1.148 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.4067, allocations: 8 kB / 1.376 GB, free: 1.141 MB / 1.061 GB Notification: Performance of Templates: time 0.006478/0.4131, allocations: 3.577 MB / 1.38 GB, free: 13.6 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/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.776743633206934]