Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAsh.vol.1..T|solAsh.vol.2..T|solAsh.vol.3..T|solEn.vol.1..T|solEn.vol.2..T|solEn.vol.3..T|weaBus.TDryBul|solAsh.QLos.1..Q_flow|solAsh.QLos.2..Q_flow|solAsh.QLos.3..Q_flow|solEn.QLos.1..Q_flow|solEn.QLos.2..Q_flow|solEn.QLos.3..Q_flow|weaBus.HDifHor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions") translateModel(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAsh.vol.1..T|solAsh.vol.2..T|solAsh.vol.3..T|solEn.vol.1..T|solEn.vol.2..T|solEn.vol.3..T|weaBus.TDryBul|solAsh.QLos.1..Q_flow|solAsh.QLos.2..Q_flow|solAsh.QLos.3..Q_flow|solEn.QLos.1..Q_flow|solEn.QLos.2..Q_flow|solEn.QLos.3..Q_flow|weaBus.HDifHor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.033/2.033, allocations: 387.2 MB / 394.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 185.3 kB / 487 MB, free: 5.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 91 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.694e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.463, allocations: 430.1 MB / 1.625 GB, free: 9.816 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.463, allocations: 91.8 kB / 1.625 GB, free: 9.77 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.18/4.643, allocations: 0.8028 GB / 2.428 GB, free: 167.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007099/4.643, allocations: 93.48 kB / 2.428 GB, free: 167.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.01418/4.658, allocations: 3.524 MB / 2.432 GB, free: 163.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/4.658, allocations: 9.031 kB / 2.432 GB, free: 163.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/4.671, allocations: 1.786 MB / 2.433 GB, free: 162 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/4.685, allocations: 4.248 MB / 2.437 GB, free: 157.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/4.685, allocations: 95.91 kB / 2.438 GB, free: 157.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/4.688, allocations: 176 kB / 2.438 GB, free: 157.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01129/4.699, allocations: 3.493 MB / 2.441 GB, free: 154 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/4.714, allocations: 3.676 MB / 2.445 GB, free: 150.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/4.714, allocations: 3.938 kB / 2.445 GB, free: 150.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001482/4.716, allocations: 4 kB / 2.445 GB, free: 150.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/4.716, allocations: 149.7 kB / 2.445 GB, free: 150 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04203/4.758, allocations: 17.6 MB / 2.462 GB, free: 131.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/4.762, allocations: 1.941 MB / 2.464 GB, free: 129.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/4.764, allocations: 1.239 MB / 2.465 GB, free: 128.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001971/4.766, allocations: 1.638 MB / 2.467 GB, free: 126.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.873e-05/4.766, allocations: 55.88 kB / 2.467 GB, free: 126.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=164): time 5.861e-06/4.767, allocations: 4 kB / 2.467 GB, free: 126.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=164): time 0.01472/4.781, allocations: 3.052 MB / 2.47 GB, free: 123.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/4.781, allocations: 124.1 kB / 2.47 GB, free: 123.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0069/4.788, allocations: 2.414 MB / 2.472 GB, free: 120.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009221/4.789, allocations: 25.7 kB / 2.472 GB, free: 120.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/4.79, allocations: 1.216 MB / 2.474 GB, free: 119.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/4.791, allocations: 0.5388 MB / 2.474 GB, free: 119 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/4.792, allocations: 4 kB / 2.474 GB, free: 119 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001743/4.792, allocations: 394.2 kB / 2.474 GB, free: 118.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/4.794, allocations: 1.066 MB / 2.475 GB, free: 117.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/4.796, allocations: 1.539 MB / 2.477 GB, free: 115.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01607/4.812, allocations: 2.691 MB / 2.48 GB, free: 113.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.945e-05/4.812, allocations: 4 kB / 2.48 GB, free: 113.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01905/4.831, allocations: 4.331 MB / 2.484 GB, free: 108.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009417/4.832, allocations: 4.758 MB / 2.488 GB, free: 103.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/4.832, allocations: 12 kB / 2.488 GB, free: 103.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.798e-05/4.832, allocations: 27.91 kB / 2.489 GB, free: 103.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004051/4.836, allocations: 0.7099 MB / 2.489 GB, free: 102.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.159e-05/4.836, allocations: 27.92 kB / 2.489 GB, free: 102.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005016/4.841, allocations: 425.2 kB / 2.49 GB, free: 102.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/4.842, allocations: 111.9 kB / 2.49 GB, free: 102.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/4.842, allocations: 4 kB / 2.49 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.018/4.86, allocations: 4.037 MB / 2.494 GB, free: 98.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/4.86, allocations: 8 kB / 2.494 GB, free: 98.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/4.86, allocations: 24 kB / 2.494 GB, free: 98.17 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003866/4.864, allocations: 0.706 MB / 2.494 GB, free: 97.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.671e-05/4.864, allocations: 27.94 kB / 2.494 GB, free: 97.43 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/4.868, allocations: 377.9 kB / 2.495 GB, free: 97.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/4.869, allocations: 115.9 kB / 2.495 GB, free: 96.95 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006946/4.869, allocations: 163.4 kB / 2.495 GB, free: 96.79 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006449/4.87, allocations: 272.6 kB / 2.495 GB, free: 96.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/4.882, allocations: 3.676 MB / 2.499 GB, free: 92.81 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/4.882, allocations: 16 kB / 2.499 GB, free: 92.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/4.882, allocations: 4 kB / 2.499 GB, free: 92.79 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009374/4.892, allocations: 2.939 MB / 2.502 GB, free: 89.78 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/4.913, allocations: 8.08 MB / 2.51 GB, free: 81.37 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/4.913, allocations: 4 kB / 2.51 GB, free: 81.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/4.916, allocations: 499.9 kB / 2.51 GB, free: 80.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.107e-05/4.916, allocations: 12 kB / 2.51 GB, free: 80.86 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/4.916, allocations: 35.95 kB / 2.51 GB, free: 80.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/4.916, allocations: 19.92 kB / 2.51 GB, free: 80.81 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/4.916, allocations: 7.984 kB / 2.51 GB, free: 80.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01273/4.929, allocations: 5.018 MB / 2.515 GB, free: 75.53 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/4.932, allocations: 0.8131 MB / 2.516 GB, free: 74.69 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007437/4.932, allocations: 19.92 kB / 2.516 GB, free: 74.67 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/4.936, allocations: 243.6 kB / 2.516 GB, free: 74.43 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/4.936, allocations: 97.08 kB / 2.516 GB, free: 74.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/4.936, allocations: 87.92 kB / 2.516 GB, free: 74.25 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003095/4.939, allocations: 1.941 MB / 2.518 GB, free: 72.31 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007189/4.946, allocations: 1.791 MB / 2.52 GB, free: 70.52 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001934/4.948, allocations: 0.7745 MB / 2.521 GB, free: 69.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00684/4.955, allocations: 4.027 MB / 2.525 GB, free: 65.77 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/4.955, allocations: 4.375 kB / 2.525 GB, free: 65.77 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/4.957, allocations: 1.1 MB / 2.526 GB, free: 64.67 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007338/4.964, allocations: 1.159 MB / 2.527 GB, free: 63.53 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/4.979, allocations: 5.777 MB / 2.533 GB, free: 57.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003567/4.983, allocations: 2.874 MB / 2.535 GB, free: 54.74 MB / 1.151 GB Notification: Performance of SimCode: time 1.362e-06/4.983, allocations: 4 kB / 2.535 GB, free: 54.74 MB / 1.151 GB Notification: Performance of Templates: time 0.7948/5.777, allocations: 78.71 MB / 2.612 GB, free: 337.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches