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.001108/0.001108, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001106/0.001107, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.856/2.856, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 9.375 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3856, allocations: 159.6 MB / 1.058 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001712/0.3874, allocations: 1.091 MB / 1.059 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004008/0.3914, allocations: 2.744 MB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.3915, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.3916, allocations: 7.922 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.3918, allocations: 47.8 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.3924, allocations: 147.4 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000324/0.3928, allocations: 275.4 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.406e-05/0.3929, allocations: 11.98 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.393, allocations: 87.86 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.3932, allocations: 143.7 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.3933, allocations: 8 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.3938, allocations: 155.8 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3939, allocations: 83.83 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.394, allocations: 61.58 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.3943, allocations: 187.9 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3943, allocations: 0 / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3943, allocations: 4 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3943, allocations: 0 / 1.063 GB, free: 328 kB / 0.8106 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.0008585/0.3952, allocations: 0.5183 MB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3952, allocations: 19.95 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.3953, allocations: 19.81 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.3956, allocations: 234.8 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.3957, allocations: 23.98 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.3957, allocations: 15.98 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/0.3964, allocations: 321 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3964, allocations: 4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.3964, allocations: 4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3964, allocations: 4 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.3979, allocations: 0.7999 MB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.3983, allocations: 317 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.4, allocations: 0.7737 MB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.4006, allocations: 260.7 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.401, allocations: 392.3 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.4011, allocations: 38.56 kB / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.165e-06/0.4011, allocations: 0 / 1.067 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001637/0.4027, allocations: 0.7339 MB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.4028, allocations: 59.41 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4029, allocations: 125 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4029, allocations: 33.69 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.403, allocations: 88.8 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.4031, allocations: 122.2 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.4031, allocations: 8 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4032, allocations: 326.8 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.4037, allocations: 227.8 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.4042, allocations: 232.5 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.4047, allocations: 207.8 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4047, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001073/0.4058, allocations: 0.5053 MB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.4058, allocations: 8 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4058, allocations: 4 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4059, allocations: 0 / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.4062, allocations: 103.9 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4062, allocations: 4 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.4064, allocations: 67.73 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.4065, allocations: 19.92 kB / 1.069 GB, free: 9.473 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.4066, allocations: 141.8 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.4067, allocations: 19.77 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.4082, allocations: 0.5841 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4082, allocations: 8 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4082, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4083, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.4088, allocations: 309.3 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4088, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.4094, allocations: 111.8 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.4094, allocations: 11.89 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.4094, allocations: 11.98 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.4094, allocations: 0 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4095, allocations: 0 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.4113, allocations: 0.543 MB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.4114, allocations: 100.8 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.4115, allocations: 11.95 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.4118, allocations: 55.95 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.4122, allocations: 115.8 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.4122, allocations: 12 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.671e-05/0.4123, allocations: 107.2 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4123, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006011/0.4129, allocations: 111.9 kB / 1.071 GB, free: 7.141 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004701/0.4134, allocations: 192.9 kB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.4151, allocations: 0.523 MB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4151, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009156/0.4161, allocations: 283.7 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.4168, allocations: 71.92 kB / 1.073 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.418, allocations: 0.5056 MB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.4184, allocations: 0.7292 MB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004583/0.4189, allocations: 178.5 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.419, allocations: 39.41 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.419, allocations: 0 / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of Templates: time 0.009162/0.4282, allocations: 4.697 MB / 1.079 GB, free: 15.93 MB / 0.8419 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches