Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.001923/0.001923, 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.00249/0.00249, allocations: 212.3 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.637/1.637, allocations: 230.6 MB / 256 MB, free: 7.805 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.561/3.561, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") [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.002132/0.002132, allocations: 72.69 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4231, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002665/0.4258, allocations: 1.391 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004107/0.4299, allocations: 2.76 MB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.43, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.808e-05/0.4301, allocations: 7.922 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.4302, allocations: 47.8 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.4308, allocations: 183.1 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.4311, allocations: 243.5 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.4311, allocations: 7.938 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4313, allocations: 107.7 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.4314, allocations: 119.8 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.4315, allocations: 8 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.4318, allocations: 147.8 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4319, allocations: 87.77 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.4321, allocations: 87.69 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.4326, allocations: 271.1 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4326, allocations: 0 / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4326, allocations: 0 / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.4326, allocations: 0 / 1.369 GB, free: 8.109 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.0008814/0.4335, allocations: 473.2 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4335, allocations: 12.02 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.4336, allocations: 20.84 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.4339, allocations: 172.5 kB / 1.37 GB, free: 7.395 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.434, allocations: 28.36 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.434, allocations: 16.31 kB / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.4347, allocations: 301 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4347, allocations: 0 / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.4348, allocations: 11.94 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4348, allocations: 4 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.4363, allocations: 0.7217 MB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.4367, allocations: 228.8 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.4385, allocations: 0.6518 MB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.439, allocations: 212.7 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003527/0.4394, allocations: 79.94 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4394, allocations: 38.56 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.4394, allocations: 0 / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001748/0.4411, allocations: 0.6582 MB / 1.373 GB, free: 4.395 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.4412, allocations: 59.39 kB / 1.373 GB, free: 4.324 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.4413, allocations: 126.1 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.4413, allocations: 29.7 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.4414, allocations: 96.78 kB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.4415, allocations: 118.9 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.4416, allocations: 65.67 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4418, allocations: 334.8 kB / 1.373 GB, free: 3.535 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.4423, allocations: 191.8 kB / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.4428, allocations: 199.8 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009675/0.4438, allocations: 365 kB / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4438, allocations: 0 / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001139/0.4449, allocations: 460.7 kB / 1.375 GB, free: 2.336 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4449, allocations: 15.88 kB / 1.375 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4449, allocations: 0 / 1.375 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.445, allocations: 0 / 1.375 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.4453, allocations: 103.8 kB / 1.375 GB, free: 2.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4453, allocations: 4 kB / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.4455, allocations: 47.78 kB / 1.375 GB, free: 2.168 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.4456, allocations: 8 kB / 1.375 GB, free: 2.16 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.0001373/0.4457, allocations: 145.8 kB / 1.375 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.4458, allocations: 19.84 kB / 1.375 GB, free: 1.988 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.4471, allocations: 0.517 MB / 1.375 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4471, allocations: 8 kB / 1.375 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4471, allocations: 0 / 1.375 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4471, allocations: 3.984 kB / 1.375 GB, free: 1.453 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.4474, allocations: 229.1 kB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4474, allocations: 7.938 kB / 1.376 GB, free: 1.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.4477, allocations: 95.86 kB / 1.376 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4477, allocations: 0 / 1.376 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.4478, allocations: 15.92 kB / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4478, allocations: 0 / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4478, allocations: 4 kB / 1.376 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.449, allocations: 0.4924 MB / 1.376 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.449, allocations: 23.8 kB / 1.376 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.449, allocations: 7.938 kB / 1.376 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.4492, allocations: 43.89 kB / 1.376 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.4494, allocations: 123.8 kB / 1.376 GB, free: 380 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.4495, allocations: 8 kB / 1.376 GB, free: 372 kB / 1.061 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.4496, allocations: 103.2 kB / 1.377 GB, free: 268 kB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4496, allocations: 0 / 1.377 GB, free: 268 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003909/0.4499, allocations: 115.8 kB / 1.377 GB, free: 152 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.0004148/0.4504, allocations: 191 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.4515, allocations: 451.6 kB / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4515, allocations: 4 kB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.4521, allocations: 248 kB / 1.378 GB, free: 15.26 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.4525, allocations: 79.86 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.4533, allocations: 434.8 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.4534, allocations: 114.5 kB / 1.378 GB, free: 14.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000418/0.4538, allocations: 191.6 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/0.4539, allocations: 43.36 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.4539, allocations: 3.938 kB / 1.378 GB, free: 14.37 MB / 1.076 GB Notification: Performance of Templates: time 0.01077/0.4647, allocations: 5.7 MB / 1.384 GB, free: 8.789 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.018420774489641]