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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001504/0.001504, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.00144/0.00144, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 56.12 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8624, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002201/0.8646, allocations: 1.373 MB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003314/0.8679, allocations: 2.913 MB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.868, allocations: 0 / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.961e-05/0.8681, allocations: 15.92 kB / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.8682, allocations: 43.81 kB / 1.213 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.8688, allocations: 183.1 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.8691, allocations: 239.5 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.8691, allocations: 11.97 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.066e-05/0.8692, allocations: 95.8 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.8694, allocations: 115.8 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.8694, allocations: 16 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.8698, allocations: 131.9 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.8699, allocations: 91.75 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.87, allocations: 91.64 kB / 1.214 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.8703, allocations: 272.9 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8704, allocations: 0 / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8704, allocations: 0 / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.8704, allocations: 4 kB / 1.214 GB, free: 8.012 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.0008329/0.8712, allocations: 0.5339 MB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8713, allocations: 12.03 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.8714, allocations: 16.75 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.8716, allocations: 236 kB / 1.215 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.8717, allocations: 32.3 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.8717, allocations: 12.38 kB / 1.215 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/0.8724, allocations: 293.3 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.8724, allocations: 0 / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.8725, allocations: 4 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.8725, allocations: 4 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.874, allocations: 0.7467 MB / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.8744, allocations: 309.1 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.876, allocations: 0.6832 MB / 1.217 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.8765, allocations: 228.7 kB / 1.217 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/0.8769, allocations: 388.4 kB / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.877, allocations: 38.5 kB / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.502e-06/0.877, allocations: 0 / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001566/0.8785, allocations: 0.6612 MB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.8786, allocations: 59.41 kB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.8787, allocations: 126.1 kB / 1.218 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.8787, allocations: 29.7 kB / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.8788, allocations: 88.8 kB / 1.218 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.8789, allocations: 130.1 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.879, allocations: 65.62 kB / 1.218 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8791, allocations: 334.8 kB / 1.219 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.8796, allocations: 187.8 kB / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.8801, allocations: 203.8 kB / 1.219 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.8809, allocations: 361.9 kB / 1.219 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8809, allocations: 0 / 1.219 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001033/0.882, allocations: 468.6 kB / 1.22 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.882, allocations: 9.875 kB / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.882, allocations: 0 / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.882, allocations: 3.938 kB / 1.22 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.8824, allocations: 91.86 kB / 1.22 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.8824, allocations: 4 kB / 1.22 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.8826, allocations: 55.73 kB / 1.22 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.8827, allocations: 11.98 kB / 1.22 GB, free: 1.359 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.0001288/0.8828, allocations: 145.8 kB / 1.22 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.8828, allocations: 19.75 kB / 1.22 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.884, allocations: 0.5142 MB / 1.221 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.8841, allocations: 4 kB / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8841, allocations: 0 / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.8841, allocations: 0 / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.8844, allocations: 317.2 kB / 1.221 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8844, allocations: 0 / 1.221 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.8847, allocations: 99.78 kB / 1.221 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.8847, allocations: 0 / 1.221 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.8848, allocations: 15.98 kB / 1.221 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8848, allocations: 4 kB / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8848, allocations: 0 / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.8858, allocations: 496 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.8859, allocations: 108.7 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.886, allocations: 7.938 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.8861, allocations: 35.95 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.8864, allocations: 115.8 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.8864, allocations: 15.98 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.8865, allocations: 98.89 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8865, allocations: 0 / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003709/0.8868, allocations: 123.9 kB / 1.222 GB, free: 15.18 MB / 0.9512 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.0003099/0.8872, allocations: 194.9 kB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.8882, allocations: 467.7 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8882, allocations: 0 / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.8888, allocations: 267.7 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.8892, allocations: 79.86 kB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.8899, allocations: 456 kB / 1.223 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.8902, allocations: 0.7289 MB / 1.224 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.8904, allocations: 51.34 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.8904, allocations: 8 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of Templates: time 0.006586/0.897, allocations: 4.747 MB / 1.229 GB, free: 8.203 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