Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007959/0.007959, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001149/0.00115, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 61.73 kB / 0.9508 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.395, allocations: 140.4 MB / 1.088 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00251/0.3976, allocations: 1.379 MB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003689/0.4013, allocations: 2.903 MB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.4013, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.4015, allocations: 7.922 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.4017, allocations: 43.8 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.4023, allocations: 183.2 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.4026, allocations: 247.5 kB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.4027, allocations: 3.984 kB / 1.093 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.4028, allocations: 99.78 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.4029, allocations: 119.8 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.403, allocations: 12 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.4034, allocations: 131.9 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.4035, allocations: 83.81 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.4037, allocations: 99.52 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.4041, allocations: 271.3 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4041, allocations: 8 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4041, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.4041, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 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.000915/0.405, allocations: 0.5339 MB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4051, allocations: 8.031 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.4052, allocations: 20.75 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.4055, allocations: 241.5 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.4056, allocations: 24.36 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.4056, allocations: 12.38 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.4062, allocations: 293 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.4062, allocations: 4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.4063, allocations: 12 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4063, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.4077, allocations: 0.753 MB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.408, allocations: 301.3 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.4096, allocations: 0.6796 MB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.4101, allocations: 233.3 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004966/0.4106, allocations: 384.1 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.4106, allocations: 46.5 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.763e-06/0.4106, allocations: 0 / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001609/0.4122, allocations: 0.6499 MB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.4123, allocations: 55.16 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4125, allocations: 130 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.4125, allocations: 33.7 kB / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.4126, allocations: 92.8 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.4127, allocations: 126.2 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4128, allocations: 65.69 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.413, allocations: 326.8 kB / 1.098 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.4135, allocations: 203.8 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.4139, allocations: 195.9 kB / 1.099 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.4148, allocations: 364.3 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4148, allocations: 0 / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001036/0.4158, allocations: 469.1 kB / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4159, allocations: 5.719 kB / 1.099 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4159, allocations: 0 / 1.099 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.4159, allocations: 4 kB / 1.099 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.4163, allocations: 99.86 kB / 1.099 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4163, allocations: 3.984 kB / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.4165, allocations: 47.72 kB / 1.1 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.4165, allocations: 15.98 kB / 1.1 GB, free: 5.371 MB / 0.8575 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.0001273/0.4166, allocations: 141.8 kB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.4167, allocations: 19.75 kB / 1.1 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.4179, allocations: 0.5164 MB / 1.1 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.4179, allocations: 4 kB / 1.1 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4179, allocations: 0 / 1.1 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4179, allocations: 0 / 1.1 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.4183, allocations: 313.2 kB / 1.101 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4183, allocations: 0 / 1.101 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.4186, allocations: 107.8 kB / 1.101 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4186, allocations: 7.938 kB / 1.101 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4186, allocations: 11.98 kB / 1.101 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4187, allocations: 0 / 1.101 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4187, allocations: 0 / 1.101 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.4197, allocations: 0.4964 MB / 1.101 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.4198, allocations: 96.8 kB / 1.101 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.4198, allocations: 12 kB / 1.101 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.42, allocations: 39.95 kB / 1.101 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.4202, allocations: 115.8 kB / 1.101 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.4202, allocations: 23.91 kB / 1.101 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.423e-05/0.4203, allocations: 95.27 kB / 1.101 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4203, allocations: 0 / 1.101 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000391/0.4207, allocations: 115.9 kB / 1.102 GB, free: 3.176 MB / 0.8575 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.0003318/0.4211, allocations: 195 kB / 1.102 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.4221, allocations: 467.3 kB / 1.102 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4221, allocations: 0 / 1.102 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.4226, allocations: 256.6 kB / 1.102 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.4231, allocations: 79.92 kB / 1.103 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.4238, allocations: 434.9 kB / 1.103 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.4241, allocations: 0.7328 MB / 1.104 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003884/0.4245, allocations: 179.6 kB / 1.104 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.4246, allocations: 35.42 kB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.4246, allocations: 4 kB / 1.104 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of Templates: time 0.008921/0.4336, allocations: 5.312 MB / 1.109 GB, free: 11.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches