Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 90.58 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 169.2 kB / 23.55 MB, free: 0.8516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.86/2.86, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.458e-05, allocations: 4.844 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002871/0.002906, allocations: 1.396 MB / 0.8121 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004726/0.007631, allocations: 2.75 MB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.007684, allocations: 3.938 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.007785, allocations: 5.359 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.007933, allocations: 43.69 kB / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.008682, allocations: 193.3 kB / 0.8151 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.009017, allocations: 247.4 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.00906, allocations: 4 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.009254, allocations: 124.6 kB / 0.8154 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.009464, allocations: 115.8 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.00951, allocations: 8 kB / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.009952, allocations: 156.4 kB / 0.8157 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.01008, allocations: 91.77 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.01021, allocations: 77.17 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.01076, allocations: 299.1 kB / 0.8161 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.01077, allocations: 0 / 0.8161 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.857e-06/0.01077, allocations: 4.828 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.01078, allocations: 4 kB / 0.8161 GB, free: 12.64 MB / 0.7761 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.001093/0.01188, allocations: 467.5 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.01192, allocations: 8.031 kB / 0.8166 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.01212, allocations: 38.38 kB / 0.8166 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.01245, allocations: 185.5 kB / 0.8168 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.0125, allocations: 24.36 kB / 0.8168 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.01254, allocations: 12.38 kB / 0.8168 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.01327, allocations: 288.7 kB / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.01329, allocations: 192 / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.01332, allocations: 8.125 kB / 0.8171 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.01333, allocations: 4.5 kB / 0.8171 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.015, allocations: 0.7309 MB / 0.8178 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.01541, allocations: 229.1 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.01721, allocations: 0.6348 MB / 0.8187 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.01776, allocations: 215.9 kB / 0.8189 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.01809, allocations: 79.95 kB / 0.819 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.01813, allocations: 40.56 kB / 0.819 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.01813, allocations: 0 / 0.819 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.001858/0.01999, allocations: 0.6668 MB / 0.8197 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.02004, allocations: 59.34 kB / 0.8197 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.02018, allocations: 126.1 kB / 0.8198 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.02023, allocations: 37.7 kB / 0.8199 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.02029, allocations: 84.8 kB / 0.82 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.02043, allocations: 131.3 kB / 0.8201 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.02055, allocations: 70.98 kB / 0.8201 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.02074, allocations: 326.8 kB / 0.8205 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.02127, allocations: 196.7 kB / 0.8206 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.02177, allocations: 195.6 kB / 0.8208 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.02285, allocations: 369.8 kB / 0.8212 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.02285, allocations: 0 / 0.8212 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001182/0.02404, allocations: 476.9 kB / 0.8216 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.02406, allocations: 6.5 kB / 0.8216 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.02406, allocations: 0 / 0.8216 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.02408, allocations: 0 / 0.8216 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.02448, allocations: 103.8 kB / 0.8217 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.02449, allocations: 4 kB / 0.8217 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.02469, allocations: 47.8 kB / 0.8218 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.02472, allocations: 15.98 kB / 0.8218 GB, free: 6.688 MB / 0.7761 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.000159/0.02488, allocations: 141.8 kB / 0.8219 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.02495, allocations: 31.91 kB / 0.822 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.02631, allocations: 0.519 MB / 0.8225 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.02631, allocations: 4 kB / 0.8225 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.02632, allocations: 7.938 kB / 0.8225 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.02633, allocations: 3.984 kB / 0.8225 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.02667, allocations: 229.1 kB / 0.8227 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.02667, allocations: 7.938 kB / 0.8227 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.02703, allocations: 87.92 kB / 0.8228 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.02703, allocations: 0 / 0.8228 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.02707, allocations: 15.98 kB / 0.8228 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.02707, allocations: 7.938 kB / 0.8228 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02707, allocations: 0 / 0.8228 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.02833, allocations: 0.5042 MB / 0.8233 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.02837, allocations: 19.78 kB / 0.8233 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.02841, allocations: 8 kB / 0.8233 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.0286, allocations: 35.95 kB / 0.8234 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.02886, allocations: 119.7 kB / 0.8235 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.02889, allocations: 15.98 kB / 0.8235 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.903e-05/0.02899, allocations: 96.39 kB / 0.8236 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02899, allocations: 0 / 0.8236 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004288/0.02942, allocations: 123.8 kB / 0.8237 GB, free: 4.668 MB / 0.7761 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.0004472/0.02987, allocations: 194.8 kB / 0.8239 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.03108, allocations: 459.4 kB / 0.8243 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.03108, allocations: 0 / 0.8243 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000619/0.0317, allocations: 247.7 kB / 0.8246 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.03221, allocations: 99.89 kB / 0.8247 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.03324, allocations: 417.4 kB / 0.8251 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.03339, allocations: 114.6 kB / 0.8252 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004821/0.03388, allocations: 187.8 kB / 0.8254 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.03404, allocations: 44.47 kB / 0.8254 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of SimCode: time 8.71e-07/0.03404, allocations: 0 / 0.8254 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of Templates: time 0.0119/0.04594, allocations: 5.528 MB / 0.8308 GB, free: 13.49 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.15905819600448]