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.001444/0.001444, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001433/0.001433, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.205/2.205, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8617/0.863, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002358/0.8654, allocations: 1.383 MB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003386/0.8688, allocations: 2.903 MB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.8689, allocations: 8.625 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.68e-05/0.869, allocations: 7.625 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.8691, allocations: 45.73 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.8698, allocations: 183.5 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.8701, allocations: 239.5 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.8701, allocations: 8.625 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.8703, allocations: 87.38 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.8704, allocations: 127 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.8705, allocations: 10.72 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.8709, allocations: 134.7 kB / 1.094 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.871, allocations: 93.23 kB / 1.094 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.8711, allocations: 88.12 kB / 1.094 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.8715, allocations: 277.6 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8716, allocations: 0 / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8716, allocations: 1.391 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.8716, allocations: 0 / 1.094 GB, free: 2.234 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.0008298/0.8724, allocations: 0.528 MB / 1.095 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.8725, allocations: 8.844 kB / 1.095 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.8726, allocations: 18.58 kB / 1.095 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.8728, allocations: 240.8 kB / 1.095 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.8729, allocations: 24.2 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.8729, allocations: 17.81 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.8737, allocations: 295.9 kB / 1.095 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.8737, allocations: 1 kB / 1.095 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.8737, allocations: 8.844 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.8737, allocations: 3.625 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.8755, allocations: 0.7466 MB / 1.096 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.8759, allocations: 314.6 kB / 1.096 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.8777, allocations: 0.6711 MB / 1.097 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.8783, allocations: 231 kB / 1.097 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003931/0.8787, allocations: 391.6 kB / 1.097 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.8788, allocations: 45.23 kB / 1.097 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.834e-06/0.8788, allocations: 3.938 kB / 1.097 GB, free: 500 kB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001761/0.8805, allocations: 0.6468 MB / 1.098 GB, free: 364 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.8806, allocations: 58.53 kB / 1.098 GB, free: 296 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.8807, allocations: 124.6 kB / 1.098 GB, free: 188 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.8807, allocations: 31.89 kB / 1.098 GB, free: 152 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.8807, allocations: 88.72 kB / 1.098 GB, free: 64 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.8809, allocations: 127.7 kB / 1.099 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.881, allocations: 66.5 kB / 1.099 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8811, allocations: 329.5 kB / 1.099 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.8817, allocations: 189.9 kB / 1.099 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.8822, allocations: 205.5 kB / 1.099 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/0.8832, allocations: 365.3 kB / 1.1 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8832, allocations: 0 / 1.1 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001204/0.8845, allocations: 463.6 kB / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.8845, allocations: 5.312 kB / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8845, allocations: 0.7031 kB / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8845, allocations: 2.25 kB / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.8849, allocations: 97.72 kB / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.8849, allocations: 6.094 kB / 1.1 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.8852, allocations: 52.19 kB / 1.1 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.8852, allocations: 15.41 kB / 1.1 GB, free: 15.33 MB / 0.8731 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.000158/0.8854, allocations: 142.7 kB / 1.1 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.8854, allocations: 20.22 kB / 1.1 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.8869, allocations: 0.517 MB / 1.101 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.8869, allocations: 3.844 kB / 1.101 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.8869, allocations: 5.062 kB / 1.101 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.8869, allocations: 2.047 kB / 1.101 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.8873, allocations: 314.1 kB / 1.101 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8873, allocations: 3.938 kB / 1.101 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.8877, allocations: 102.4 kB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8877, allocations: 2.656 kB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.8878, allocations: 10.58 kB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8878, allocations: 1.344 kB / 1.101 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8878, allocations: 4.703 kB / 1.101 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.8889, allocations: 0.4892 MB / 1.102 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.889, allocations: 100.2 kB / 1.102 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.8891, allocations: 6 kB / 1.102 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.8893, allocations: 34.83 kB / 1.102 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.8895, allocations: 121.3 kB / 1.102 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.8896, allocations: 14.61 kB / 1.102 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.165e-05/0.8897, allocations: 108.4 kB / 1.102 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8897, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000476/0.8901, allocations: 127.7 kB / 1.102 GB, free: 14.37 MB / 0.8731 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.0003725/0.8905, allocations: 182.3 kB / 1.102 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.8917, allocations: 470 kB / 1.103 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8917, allocations: 4 kB / 1.103 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.8924, allocations: 257.9 kB / 1.103 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.8928, allocations: 80.47 kB / 1.103 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.8937, allocations: 455.4 kB / 1.104 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.894, allocations: 0.735 MB / 1.104 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.8942, allocations: 49.16 kB / 1.104 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.314e-06/0.8942, allocations: 0 / 1.104 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.009781/0.904, allocations: 4.753 MB / 1.109 GB, free: 12.67 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches