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.001006/0.001006, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001049/0.001049, allocations: 165 kB / 23.82 MB, free: 0.7461 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.027/1.027, allocations: 177.1 MB / 204.2 MB, free: 5.598 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 1.91/1.91, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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.964e-06/1.964e-06, allocations: 0 / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.655e-05, allocations: 3.219 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002039/0.002066, allocations: 1.446 MB / 0.8129 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.005303, allocations: 3.001 MB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.005355, allocations: 1.531 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.857e-05/0.005454, allocations: 7.922 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.005575, allocations: 43.8 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.006245, allocations: 197.5 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.0065, allocations: 239.5 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.006545, allocations: 8 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.00666, allocations: 119.8 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.006787, allocations: 120.3 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.006821, allocations: 12.69 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.007224, allocations: 139.8 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.836e-05/0.007322, allocations: 96.28 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.007401, allocations: 72.56 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.007754, allocations: 307.1 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.007758, allocations: 1 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.332e-06/0.007759, allocations: 0 / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.007767, allocations: 0 / 0.8172 GB, free: 11.98 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.0006647/0.008431, allocations: 0.5726 MB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.008478, allocations: 8.031 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.008632, allocations: 28.84 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.00882, allocations: 184.8 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.008862, allocations: 25.17 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.008885, allocations: 16.38 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.009183, allocations: 195.5 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.009192, allocations: 192 / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.009211, allocations: 9.062 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.00922, allocations: 4 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.009674, allocations: 452.4 kB / 0.8186 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.0099, allocations: 200.4 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.01056, allocations: 499.5 kB / 0.8193 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.01069, allocations: 103.6 kB / 0.8194 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.01091, allocations: 80.73 kB / 0.8194 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01093, allocations: 38.33 kB / 0.8195 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 2.014e-06/0.01093, allocations: 3.438 kB / 0.8195 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.000517/0.01145, allocations: 336.1 kB / 0.8198 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.01148, allocations: 59.34 kB / 0.8199 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.01157, allocations: 189.3 kB / 0.82 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.01159, allocations: 29.7 kB / 0.8201 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.01163, allocations: 135.5 kB / 0.8202 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.01171, allocations: 134.9 kB / 0.8203 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.01178, allocations: 67.34 kB / 0.8204 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.01191, allocations: 0.5079 MB / 0.8209 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.01202, allocations: 72.5 kB / 0.821 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.01212, allocations: 83.75 kB / 0.821 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.01232, allocations: 136.5 kB / 0.8212 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01232, allocations: 1.656 kB / 0.8212 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003185/0.01264, allocations: 241 kB / 0.8214 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.01266, allocations: 7.984 kB / 0.8214 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01266, allocations: 0 / 0.8214 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01268, allocations: 4.5 kB / 0.8214 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.01291, allocations: 104.9 kB / 0.8215 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01291, allocations: 0.6562 kB / 0.8215 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.01301, allocations: 49.72 kB / 0.8216 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.01303, allocations: 19.98 kB / 0.8216 GB, free: 7.262 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 8.415e-05/0.01312, allocations: 164.5 kB / 0.8217 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.01315, allocations: 39.23 kB / 0.8218 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/0.01354, allocations: 310.4 kB / 0.8221 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01355, allocations: 4 kB / 0.8221 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01355, allocations: 3.938 kB / 0.8221 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01356, allocations: 3.984 kB / 0.8221 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.01372, allocations: 196.5 kB / 0.8223 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01372, allocations: 0 / 0.8223 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.01392, allocations: 108.8 kB / 0.8224 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01392, allocations: 0 / 0.8224 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01394, allocations: 9.125 kB / 0.8224 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.01394, allocations: 11.97 kB / 0.8224 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01394, allocations: 0 / 0.8224 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.01429, allocations: 309.3 kB / 0.8227 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.01431, allocations: 19.83 kB / 0.8227 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01433, allocations: 8 kB / 0.8227 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.01442, allocations: 37.09 kB / 0.8227 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.01459, allocations: 144.8 kB / 0.8229 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.0146, allocations: 15.98 kB / 0.8229 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.01465, allocations: 135.2 kB / 0.823 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01465, allocations: 0.7188 kB / 0.823 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002766/0.01493, allocations: 115.8 kB / 0.8231 GB, free: 5.598 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.0002722/0.0152, allocations: 211.8 kB / 0.8233 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.01552, allocations: 227.3 kB / 0.8236 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01552, allocations: 0 / 0.8236 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.01567, allocations: 147.9 kB / 0.8237 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.01598, allocations: 95.91 kB / 0.8238 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/0.01676, allocations: 359.1 kB / 0.8241 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.01681, allocations: 84.81 kB / 0.8242 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002446/0.01706, allocations: 161.7 kB / 0.8244 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.01713, allocations: 40.47 kB / 0.8244 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of SimCode: time 1.242e-06/0.01713, allocations: 4 kB / 0.8244 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of Templates: time 0.007605/0.02474, allocations: 6.286 MB / 0.8306 GB, free: 14.09 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.31158784404397]