Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001907/0.001907, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002377/0.002377, allocations: 211 kB / 22.24 MB, free: 4.855 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.789 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.464/3.464, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [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.003588/0.003588, allocations: 67.08 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4605, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003159/0.4636, allocations: 1.394 MB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004322/0.4679, allocations: 2.764 MB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.468, allocations: 0 / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.904e-05/0.4681, allocations: 7.922 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.4682, allocations: 39.81 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.4689, allocations: 187.1 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.4692, allocations: 247.5 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.4692, allocations: 11.92 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.4693, allocations: 91.81 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.4695, allocations: 115.8 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.4695, allocations: 15.98 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.4699, allocations: 143.8 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.4701, allocations: 91.75 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.4702, allocations: 79.72 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.4706, allocations: 279 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4706, allocations: 3.938 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4706, allocations: 4 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.4706, allocations: 0 / 1.369 GB, free: 8.078 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009095/0.4715, allocations: 469.2 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4715, allocations: 8.031 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.4717, allocations: 16.84 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.472, allocations: 190.2 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.472, allocations: 24.36 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.4721, allocations: 16.38 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.4728, allocations: 289 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4728, allocations: 4 kB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.4728, allocations: 8 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.4728, allocations: 8 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.4743, allocations: 0.7217 MB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.4747, allocations: 228.8 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.4764, allocations: 0.644 MB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.4769, allocations: 212.7 kB / 1.372 GB, free: 5.164 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.4772, allocations: 75.95 kB / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.4772, allocations: 38.55 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.4772, allocations: 0 / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001723/0.4789, allocations: 0.6699 MB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.479, allocations: 59.34 kB / 1.373 GB, free: 4.297 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.4791, allocations: 124.3 kB / 1.373 GB, free: 4.168 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.4791, allocations: 33.7 kB / 1.373 GB, free: 4.129 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.4792, allocations: 84.8 kB / 1.373 GB, free: 4.043 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.4793, allocations: 130.9 kB / 1.373 GB, free: 3.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4794, allocations: 65.69 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4796, allocations: 334.8 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.4801, allocations: 187.8 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.4806, allocations: 199.8 kB / 1.374 GB, free: 3.129 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/0.4815, allocations: 361 kB / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4815, allocations: 0 / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001111/0.4826, allocations: 468.7 kB / 1.375 GB, free: 2.309 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4826, allocations: 11.88 kB / 1.375 GB, free: 2.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4826, allocations: 8 kB / 1.375 GB, free: 2.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4827, allocations: 0 / 1.375 GB, free: 2.289 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.483, allocations: 87.92 kB / 1.375 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.483, allocations: 7.922 kB / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.4832, allocations: 51.8 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.4832, allocations: 11.98 kB / 1.375 GB, free: 2.133 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001464/0.4834, allocations: 149.8 kB / 1.375 GB, free: 1.977 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.4834, allocations: 19.84 kB / 1.375 GB, free: 1.957 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.4847, allocations: 0.5144 MB / 1.375 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4847, allocations: 4 kB / 1.375 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4847, allocations: 4 kB / 1.375 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4847, allocations: 0 / 1.375 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.485, allocations: 229.1 kB / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.485, allocations: 0 / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.4854, allocations: 95.84 kB / 1.376 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4854, allocations: 8 kB / 1.376 GB, free: 1.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.4854, allocations: 15.92 kB / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4854, allocations: 0 / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4854, allocations: 0 / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4866, allocations: 0.5001 MB / 1.376 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.4866, allocations: 23.8 kB / 1.376 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.4866, allocations: 7.938 kB / 1.376 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.4868, allocations: 35.95 kB / 1.376 GB, free: 480 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.4871, allocations: 119.8 kB / 1.376 GB, free: 360 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.4871, allocations: 15.98 kB / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.4872, allocations: 101.8 kB / 1.377 GB, free: 244 kB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4872, allocations: 0 / 1.377 GB, free: 244 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004106/0.4876, allocations: 123.7 kB / 1.377 GB, free: 120 kB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0003859/0.488, allocations: 191 kB / 1.377 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.4891, allocations: 451.6 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4891, allocations: 0 / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000575/0.4897, allocations: 252 kB / 1.378 GB, free: 15.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.4901, allocations: 81.23 kB / 1.378 GB, free: 15.15 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009417/0.4911, allocations: 438.7 kB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.4912, allocations: 114.5 kB / 1.378 GB, free: 14.56 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004437/0.4917, allocations: 183.8 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.4918, allocations: 43.41 kB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.4918, allocations: 0 / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of Templates: time 0.01179/0.5036, allocations: 5.699 MB / 1.384 GB, free: 8.762 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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: 10.017371309921145]