Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.934/1.934, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001165/0.001164, allocations: 173.3 kB / 490.8 MB, free: 1.953 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.362/1.362, allocations: 221.3 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000908/0.0009079, allocations: 84.78 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.093e-06, allocations: 0 / 1.072 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3166, allocations: 143 MB / 1.212 GB, free: 40.18 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.428, allocations: 430.1 MB / 1.632 GB, free: 1.625 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.429, allocations: 92.08 kB / 1.632 GB, free: 1.582 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.104/4.532, allocations: 0.8028 GB / 2.434 GB, free: 188.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000927/4.533, allocations: 93.02 kB / 2.435 GB, free: 188.3 MB / 1.167 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.01423/4.548, allocations: 3.523 MB / 2.438 GB, free: 184.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/4.548, allocations: 8.031 kB / 2.438 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/4.56, allocations: 1.797 MB / 2.44 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/4.571, allocations: 4.233 MB / 2.444 GB, free: 178.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/4.571, allocations: 92 kB / 2.444 GB, free: 178.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/4.572, allocations: 179.9 kB / 2.444 GB, free: 178.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007581/4.58, allocations: 3.491 MB / 2.448 GB, free: 175.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006661/4.586, allocations: 3.676 MB / 2.451 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-05/4.586, allocations: 7.938 kB / 2.451 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003301/4.587, allocations: 4 kB / 2.451 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/4.587, allocations: 137.8 kB / 2.451 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03065/4.618, allocations: 17.61 MB / 2.468 GB, free: 152.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/4.621, allocations: 1.937 MB / 2.47 GB, free: 150.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/4.622, allocations: 1.247 MB / 2.472 GB, free: 149.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/4.624, allocations: 1.641 MB / 2.473 GB, free: 147.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/4.624, allocations: 51.88 kB / 2.473 GB, free: 147.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=164): time 3.817e-06/4.624, allocations: 0 / 2.473 GB, free: 147.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=164): time 0.01137/4.635, allocations: 3.06 MB / 2.476 GB, free: 144.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/4.635, allocations: 120.1 kB / 2.476 GB, free: 144.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/4.639, allocations: 2.418 MB / 2.479 GB, free: 141.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003273/4.639, allocations: 29.64 kB / 2.479 GB, free: 141.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007418/4.64, allocations: 1.223 MB / 2.48 GB, free: 140.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006873/4.641, allocations: 0.5389 MB / 2.48 GB, free: 140 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/4.641, allocations: 0 / 2.48 GB, free: 140 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001337/4.641, allocations: 394.2 kB / 2.481 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/4.643, allocations: 1.07 MB / 2.482 GB, free: 138.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/4.644, allocations: 1.532 MB / 2.483 GB, free: 136.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/4.659, allocations: 2.687 MB / 2.486 GB, free: 134.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.934e-05/4.659, allocations: 8 kB / 2.486 GB, free: 134.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01851/4.678, allocations: 4.336 MB / 2.49 GB, free: 129.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009077/4.679, allocations: 4.754 MB / 2.495 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/4.679, allocations: 12 kB / 2.495 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.883e-05/4.679, allocations: 20 kB / 2.495 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/4.683, allocations: 0.7099 MB / 2.496 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/4.683, allocations: 23.94 kB / 2.496 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004783/4.688, allocations: 433.2 kB / 2.496 GB, free: 123.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/4.688, allocations: 119.9 kB / 2.496 GB, free: 123.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/4.688, allocations: 4 kB / 2.496 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01684/4.705, allocations: 4.029 MB / 2.5 GB, free: 119.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/4.705, allocations: 15.94 kB / 2.5 GB, free: 119.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/4.705, allocations: 28.16 kB / 2.5 GB, free: 119.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/4.709, allocations: 0.6982 MB / 2.501 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/4.709, allocations: 35.92 kB / 2.501 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/4.714, allocations: 366 kB / 2.501 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/4.714, allocations: 107.9 kB / 2.501 GB, free: 118 MB / 1.167 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.0007085/4.715, allocations: 160.3 kB / 2.501 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007336/4.715, allocations: 276.5 kB / 2.502 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/4.728, allocations: 3.676 MB / 2.505 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/4.728, allocations: 16 kB / 2.505 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/4.728, allocations: 4 kB / 2.505 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009564/4.738, allocations: 2.947 MB / 2.508 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/4.757, allocations: 8.072 MB / 2.516 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/4.757, allocations: 4 kB / 2.516 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/4.76, allocations: 500 kB / 2.517 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-05/4.76, allocations: 15.94 kB / 2.517 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/4.76, allocations: 39.94 kB / 2.517 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/4.76, allocations: 15.94 kB / 2.517 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/4.76, allocations: 4 kB / 2.517 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0124/4.773, allocations: 5.018 MB / 2.522 GB, free: 96.62 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/4.775, allocations: 0.8131 MB / 2.522 GB, free: 95.78 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006294/4.775, allocations: 12 kB / 2.522 GB, free: 95.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/4.779, allocations: 251.6 kB / 2.523 GB, free: 95.52 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/4.779, allocations: 93.08 kB / 2.523 GB, free: 95.43 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/4.779, allocations: 83.92 kB / 2.523 GB, free: 95.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002717/4.782, allocations: 1.948 MB / 2.525 GB, free: 93.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005355/4.787, allocations: 1.795 MB / 2.526 GB, free: 91.6 MB / 1.167 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.001588/4.789, allocations: 0.7748 MB / 2.527 GB, free: 90.88 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005986/4.795, allocations: 4.034 MB / 2.531 GB, free: 86.85 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/4.795, allocations: 448 / 2.531 GB, free: 86.85 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/4.796, allocations: 1.096 MB / 2.532 GB, free: 85.76 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005825/4.802, allocations: 1.169 MB / 2.533 GB, free: 84.62 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/4.814, allocations: 5.777 MB / 2.539 GB, free: 78.74 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00315/4.817, allocations: 2.87 MB / 2.542 GB, free: 75.84 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/4.817, allocations: 0 / 2.542 GB, free: 75.84 MB / 1.167 GB Notification: Performance of Templates: time 0.1232/4.94, allocations: 78.81 MB / 2.619 GB, free: 13.59 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches