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.00125/0.00125, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001599/0.001599, allocations: 217.3 kB / 22.26 MB, free: 5.215 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 8 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.182/3.182, allocations: 0.5096 GB / 0.8147 GB, free: 17.23 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.001952/0.001952, allocations: 68.33 kB / 1.184 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3456, allocations: 181.4 MB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00242/0.348, allocations: 1.419 MB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003881/0.3519, allocations: 2.993 MB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.352, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.202e-05/0.352, allocations: 7.922 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.3522, allocations: 47.8 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.3527, allocations: 183.1 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.353, allocations: 255.4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.353, allocations: 7.938 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3531, allocations: 91.8 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3533, allocations: 123.8 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.3533, allocations: 12 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.3537, allocations: 151.7 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.3538, allocations: 91.83 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3539, allocations: 87.59 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.3543, allocations: 279 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3543, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3543, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3543, allocations: 0 / 1.367 GB, free: 10.4 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.000852/0.3552, allocations: 473.1 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3552, allocations: 12.03 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3554, allocations: 20.83 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.3556, allocations: 182.2 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.3557, allocations: 24.36 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3557, allocations: 16.38 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.3564, allocations: 297 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3564, allocations: 3.938 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.3564, allocations: 4 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3564, allocations: 4 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.3579, allocations: 0.7452 MB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.3582, allocations: 288.1 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.3599, allocations: 0.644 MB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.3603, allocations: 216.7 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.3606, allocations: 79.91 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.3607, allocations: 42.5 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.393e-06/0.3607, allocations: 0 / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001659/0.3623, allocations: 0.6535 MB / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3624, allocations: 59.41 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3625, allocations: 125.2 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.3625, allocations: 37.64 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.3626, allocations: 92.78 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.3627, allocations: 130.9 kB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3629, allocations: 69.67 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.363, allocations: 322.8 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.3635, allocations: 199.8 kB / 1.372 GB, free: 5.535 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.364, allocations: 187.8 kB / 1.372 GB, free: 5.352 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000896/0.3649, allocations: 369.9 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3649, allocations: 4 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001103/0.366, allocations: 464.7 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.366, allocations: 8 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.366, allocations: 0 / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.366, allocations: 4 kB / 1.373 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.3664, allocations: 95.84 kB / 1.373 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3664, allocations: 0 / 1.373 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.3666, allocations: 59.73 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.3666, allocations: 12 kB / 1.373 GB, free: 4.348 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.000139/0.3668, allocations: 137.8 kB / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.3668, allocations: 19.84 kB / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.368, allocations: 0.5142 MB / 1.373 GB, free: 3.656 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.368, allocations: 4 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.368, allocations: 0 / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.368, allocations: 3.984 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.3684, allocations: 288.4 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3684, allocations: 0 / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.3687, allocations: 103.8 kB / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3687, allocations: 0 / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.3687, allocations: 19.86 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3687, allocations: 0 / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3687, allocations: 4 kB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.3699, allocations: 0.4923 MB / 1.374 GB, free: 2.688 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.3699, allocations: 23.78 kB / 1.374 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.3699, allocations: 4 kB / 1.374 GB, free: 2.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3701, allocations: 39.95 kB / 1.374 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.3704, allocations: 119.8 kB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3704, allocations: 12 kB / 1.374 GB, free: 2.492 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.87e-05/0.3705, allocations: 99.25 kB / 1.375 GB, free: 2.395 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3705, allocations: 0 / 1.375 GB, free: 2.395 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003867/0.3709, allocations: 119.8 kB / 1.375 GB, free: 2.277 MB / 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.0003357/0.3712, allocations: 194.9 kB / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.3723, allocations: 455.6 kB / 1.375 GB, free: 1.633 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3723, allocations: 0 / 1.375 GB, free: 1.633 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.3728, allocations: 243.7 kB / 1.376 GB, free: 1.395 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.3732, allocations: 79.92 kB / 1.376 GB, free: 1.316 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.374, allocations: 430.7 kB / 1.376 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.3744, allocations: 0.7328 MB / 1.377 GB, free: 108 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004039/0.3748, allocations: 189.8 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3749, allocations: 35.42 kB / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.3749, allocations: 0 / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of Templates: time 0.01026/0.3851, allocations: 5.539 MB / 1.382 GB, free: 10.42 MB / 1.076 GB " [Timeout remaining time 300] 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: 8.780666301958263]