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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.EthyleneGlycolWater,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.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,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.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001835/0.001835, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.681/2.681, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 75.86 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.674/0.6753, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002382/0.6777, allocations: 1.386 MB / 1.228 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003502/0.6812, allocations: 2.911 MB / 1.231 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.6813, allocations: 3.938 kB / 1.231 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.303e-05/0.6814, allocations: 7.922 kB / 1.231 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.6815, allocations: 47.81 kB / 1.231 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.6821, allocations: 183.1 kB / 1.231 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.6824, allocations: 247.4 kB / 1.231 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.6824, allocations: 4 kB / 1.231 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.6825, allocations: 95.8 kB / 1.231 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.6826, allocations: 119.8 kB / 1.231 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.6827, allocations: 11.94 kB / 1.231 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.6831, allocations: 143.8 kB / 1.231 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-05/0.6832, allocations: 79.83 kB / 1.231 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.6833, allocations: 99.56 kB / 1.232 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.6837, allocations: 271.7 kB / 1.232 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6837, allocations: 0 / 1.232 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6837, allocations: 0 / 1.232 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.6837, allocations: 0 / 1.232 GB, free: 7.895 MB / 0.9512 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.0007929/0.6845, allocations: 0.5373 MB / 1.232 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6846, allocations: 12.03 kB / 1.232 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.6847, allocations: 16.84 kB / 1.232 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.685, allocations: 236.1 kB / 1.233 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.685, allocations: 24.36 kB / 1.233 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.6851, allocations: 20.38 kB / 1.233 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.6857, allocations: 290.8 kB / 1.233 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6857, allocations: 0 / 1.233 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.6857, allocations: 8 kB / 1.233 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6857, allocations: 4 kB / 1.233 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.6872, allocations: 0.7527 MB / 1.234 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.6876, allocations: 305.1 kB / 1.234 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.6892, allocations: 0.6754 MB / 1.235 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.6897, allocations: 236.7 kB / 1.235 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.6901, allocations: 388.3 kB / 1.235 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.6901, allocations: 42.5 kB / 1.235 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.6901, allocations: 0 / 1.235 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001562/0.6917, allocations: 0.6537 MB / 1.236 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.6917, allocations: 55.41 kB / 1.236 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.6918, allocations: 126.1 kB / 1.236 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.6918, allocations: 33.64 kB / 1.236 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.6919, allocations: 92.8 kB / 1.236 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.902e-05/0.692, allocations: 130.9 kB / 1.236 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.6921, allocations: 65.69 kB / 1.236 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.6922, allocations: 326.8 kB / 1.237 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.6927, allocations: 203.7 kB / 1.237 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.6931, allocations: 196.8 kB / 1.237 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.694, allocations: 360.3 kB / 1.237 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.694, allocations: 4 kB / 1.237 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001053/0.6951, allocations: 469 kB / 1.238 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6951, allocations: 11.94 kB / 1.238 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.6951, allocations: 0 / 1.238 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6951, allocations: 0 / 1.238 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.6955, allocations: 95.84 kB / 1.238 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.6955, allocations: 4 kB / 1.238 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.6957, allocations: 51.75 kB / 1.238 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.6957, allocations: 15.98 kB / 1.238 GB, free: 1.23 MB / 0.9512 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.0001245/0.6959, allocations: 144 kB / 1.238 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.6959, allocations: 19.84 kB / 1.238 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.6971, allocations: 0.5134 MB / 1.239 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6971, allocations: 0 / 1.239 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6971, allocations: 3.984 kB / 1.239 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.6972, allocations: 92.95 kB / 1.239 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.6972, allocations: 8 kB / 1.239 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.6974, allocations: 47.95 kB / 1.239 GB, free: 384 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.6976, allocations: 115.8 kB / 1.239 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001237/0.6989, allocations: 0.594 MB / 1.239 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001121/0.7, allocations: 0.6423 MB / 1.24 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000518/0.7005, allocations: 252.4 kB / 1.24 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.7006, allocations: 95.27 kB / 1.24 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of Backend: time 4.5e-07/0.7006, allocations: 0 / 1.24 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.7017, allocations: 435.4 kB / 1.241 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0007319/0.7025, allocations: 0.7954 MB / 1.242 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of Templates: time 0.009242/0.7117, allocations: 5.74 MB / 1.247 GB, free: 7.715 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches