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.001229/0.001229, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001535/0.001535, allocations: 166.8 kB / 24.87 MB, free: 8.891 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 0.9833/0.9833, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.002/2.002, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 177] 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.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.53e-05, allocations: 3.156 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001893/0.001919, allocations: 1.44 MB / 0.8142 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002691/0.004609, allocations: 2.969 MB / 0.8171 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.004654, allocations: 5 kB / 0.8171 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.185e-05/0.004736, allocations: 3.938 kB / 0.8171 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.004838, allocations: 44.48 kB / 0.8171 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.005309, allocations: 200.8 kB / 0.8173 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.00551, allocations: 243.4 kB / 0.8175 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.005545, allocations: 9.781 kB / 0.8175 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.641e-05/0.005641, allocations: 115.8 kB / 0.8177 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.005748, allocations: 123.8 kB / 0.8178 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.00577, allocations: 8 kB / 0.8178 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.006027, allocations: 143.7 kB / 0.8179 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.006099, allocations: 94.14 kB / 0.818 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.006161, allocations: 75.83 kB / 0.8181 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.006452, allocations: 299.1 kB / 0.8184 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.006455, allocations: 0 / 0.8184 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006456, allocations: 0 / 0.8184 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.00646, allocations: 4 kB / 0.8184 GB, free: 11.73 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.0005688/0.007028, allocations: 0.5728 MB / 0.8189 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.007062, allocations: 12.03 kB / 0.8189 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.007171, allocations: 28.84 kB / 0.819 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.00733, allocations: 176.3 kB / 0.8191 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.007362, allocations: 21.2 kB / 0.8192 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.007382, allocations: 16.38 kB / 0.8192 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.007589, allocations: 171.8 kB / 0.8193 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.007596, allocations: 192 / 0.8193 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.007611, allocations: 12.69 kB / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.007616, allocations: 4 kB / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.007932, allocations: 341.9 kB / 0.8197 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.008119, allocations: 177 kB / 0.8198 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.008649, allocations: 440.3 kB / 0.8203 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.008732, allocations: 79.64 kB / 0.8203 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.008891, allocations: 72.78 kB / 0.8204 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.008914, allocations: 43.25 kB / 0.8204 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.008916, allocations: 0 / 0.8204 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0003711/0.009287, allocations: 272.7 kB / 0.8207 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.009314, allocations: 56.72 kB / 0.8208 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.009399, allocations: 192.2 kB / 0.8209 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.009415, allocations: 33.64 kB / 0.821 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.009462, allocations: 136.5 kB / 0.8211 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.009544, allocations: 134.8 kB / 0.8212 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/0.009616, allocations: 79.3 kB / 0.8213 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.00974, allocations: 0.4973 MB / 0.8218 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.009805, allocations: 47.95 kB / 0.8218 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.009874, allocations: 55.7 kB / 0.8219 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01002, allocations: 113 kB / 0.822 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01002, allocations: 0 / 0.822 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002498/0.01027, allocations: 201.2 kB / 0.8222 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01028, allocations: 4 kB / 0.8222 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01029, allocations: 0 / 0.8222 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.01029, allocations: 4 kB / 0.8222 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.0105, allocations: 99.84 kB / 0.8223 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.01051, allocations: 3.938 kB / 0.8223 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.01061, allocations: 53.78 kB / 0.8224 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.01062, allocations: 8 kB / 0.8224 GB, free: 7.449 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 9.007e-05/0.01071, allocations: 177.5 kB / 0.8225 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.01075, allocations: 31.86 kB / 0.8226 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.01107, allocations: 262.6 kB / 0.8228 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.01107, allocations: 5.125 kB / 0.8228 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01107, allocations: 0 / 0.8228 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01108, allocations: 3.938 kB / 0.8228 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.01124, allocations: 186 kB / 0.823 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.01125, allocations: 0 / 0.823 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.01143, allocations: 98.11 kB / 0.8231 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01143, allocations: 0 / 0.8231 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01145, allocations: 15.98 kB / 0.8231 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01145, allocations: 4 kB / 0.8231 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01145, allocations: 4.438 kB / 0.8231 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.01173, allocations: 263.9 kB / 0.8234 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.01175, allocations: 17.41 kB / 0.8234 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.01177, allocations: 8 kB / 0.8234 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.01186, allocations: 40.86 kB / 0.8234 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.01194, allocations: 47.92 kB / 0.8235 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.01195, allocations: 13.08 kB / 0.8235 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.01199, allocations: 139.1 kB / 0.8236 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01199, allocations: 4 kB / 0.8236 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002637/0.01226, allocations: 116.3 kB / 0.8237 GB, free: 5.988 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.0002995/0.01256, allocations: 198.5 kB / 0.8239 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.0128, allocations: 199.4 kB / 0.8241 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.0128, allocations: 4 kB / 0.8241 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.01293, allocations: 127.5 kB / 0.8242 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.01321, allocations: 91.91 kB / 0.8243 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.01386, allocations: 351.1 kB / 0.8247 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01396, allocations: 88.81 kB / 0.8247 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.01412, allocations: 75.81 kB / 0.8248 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.01431, allocations: 162.1 kB / 0.825 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.01431, allocations: 4 kB / 0.825 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.007933/0.02224, allocations: 6.551 MB / 0.8314 GB, free: 14.24 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.396658454090357]