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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 107.4 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.36 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6639, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002291/0.6662, allocations: 1.379 MB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003379/0.6696, allocations: 2.913 MB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.6696, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.678e-05/0.6697, allocations: 7.922 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.6699, allocations: 43.81 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.6704, allocations: 187.1 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.6707, allocations: 243.5 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.6708, allocations: 7.984 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.6709, allocations: 95.84 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.671, allocations: 123.7 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.6711, allocations: 8 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.6715, allocations: 135.9 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.6716, allocations: 87.75 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.6717, allocations: 91.64 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.6721, allocations: 280.9 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6721, allocations: 0 / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6721, allocations: 0 / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.6721, allocations: 0 / 1.214 GB, free: 8.074 MB / 0.9356 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.0008207/0.6729, allocations: 0.5378 MB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.673, allocations: 8.031 kB / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.6731, allocations: 16.75 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.6734, allocations: 236 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.6734, allocations: 24.36 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.6735, allocations: 16.38 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.6741, allocations: 293.2 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6741, allocations: 0 / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.6742, allocations: 8 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.6742, allocations: 4 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.6755, allocations: 0.7467 MB / 1.215 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.6759, allocations: 309.1 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.6775, allocations: 0.6754 MB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.678, allocations: 236.6 kB / 1.217 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/0.6784, allocations: 384.4 kB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.6785, allocations: 42.5 kB / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.954e-06/0.6785, allocations: 0 / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001595/0.6801, allocations: 0.6495 MB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.6801, allocations: 55.41 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.6802, allocations: 133.6 kB / 1.218 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.6802, allocations: 29.7 kB / 1.218 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.6803, allocations: 92.8 kB / 1.218 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/0.6804, allocations: 130.1 kB / 1.218 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.6805, allocations: 65.69 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.6806, allocations: 322.8 kB / 1.218 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/0.6811, allocations: 199.8 kB / 1.219 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.6816, allocations: 199.7 kB / 1.219 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008767/0.6825, allocations: 373.8 kB / 1.219 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6825, allocations: 0 / 1.219 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001052/0.6835, allocations: 460.6 kB / 1.22 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6836, allocations: 11.94 kB / 1.22 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6836, allocations: 4 kB / 1.22 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.6836, allocations: 3.938 kB / 1.22 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.684, allocations: 91.86 kB / 1.22 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.684, allocations: 4 kB / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.6842, allocations: 47.73 kB / 1.22 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.6842, allocations: 15.98 kB / 1.22 GB, free: 1.426 MB / 0.9356 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.0001207/0.6843, allocations: 141.8 kB / 1.22 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.6844, allocations: 19.75 kB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.6856, allocations: 0.518 MB / 1.221 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.6856, allocations: 3.984 kB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6856, allocations: 0 / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.6857, allocations: 92.86 kB / 1.221 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.6857, allocations: 8 kB / 1.221 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.6859, allocations: 43.95 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.6861, allocations: 115.8 kB / 1.221 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001278/0.6874, allocations: 0.586 MB / 1.221 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001157/0.6885, allocations: 0.6504 MB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005253/0.6891, allocations: 255.8 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.6891, allocations: 95.27 kB / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of Backend: time 3.4e-07/0.6891, allocations: 0 / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.6903, allocations: 425.9 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007635/0.691, allocations: 0.7879 MB / 1.223 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of Templates: time 0.009213/0.7003, allocations: 5.679 MB / 1.229 GB, free: 7.992 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches