Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|solCol1.vol.30..T|solCol.heaGai.30..Q_flow|solCol1.heaGai.30..Q_flow|solCol.heaLos.QLos.30.|solCol1.heaLos.QLos.30.|difHeaGai.y|difHeaLos.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|solCol1.vol.30..T|solCol.heaGai.30..Q_flow|solCol1.heaGai.30..Q_flow|solCol.heaLos.QLos.30.|solCol1.heaLos.QLos.30.|difHeaGai.y|difHeaLos.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") [: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 1.947/1.947, allocations: 387.2 MB / 394.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 186.9 kB / 487 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 221.4 MB / 0.7819 GB, free: 6.82 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 101 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 1.026e-05/1.04e-05, allocations: 4 kB / 1.066 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9141/0.9142, allocations: 142.3 MB / 1.205 GB, free: 72.67 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.359/6.273, allocations: 2.197 GB / 3.403 GB, free: 321.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/6.273, allocations: 95 kB / 3.403 GB, free: 321.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 14.35/20.63, allocations: 4.245 GB / 7.647 GB, free: 51.77 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004256/20.63, allocations: 0.6011 MB / 7.648 GB, free: 51.17 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4512 * Number of variables: 4512 Notification: Performance of Generate backend data structure: time 0.07143/20.7, allocations: 18.23 MB / 7.666 GB, free: 32.82 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/20.7, allocations: 8.031 kB / 7.666 GB, free: 32.81 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03003/20.73, allocations: 3.964 MB / 7.67 GB, free: 28.82 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09226/20.82, allocations: 30.12 MB / 7.699 GB, free: 14.74 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001403/20.83, allocations: 0.5312 MB / 7.7 GB, free: 14.21 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009027/20.83, allocations: 0.9802 MB / 7.701 GB, free: 13.23 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6191/21.45, allocations: 19.94 MB / 7.72 GB, free: 222.9 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06699/21.52, allocations: 22.85 MB / 7.742 GB, free: 220.3 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000821/21.52, allocations: 66.52 kB / 7.742 GB, free: 220.3 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006492/21.53, allocations: 36.75 kB / 7.742 GB, free: 220.3 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007526/21.53, allocations: 0.9092 MB / 7.743 GB, free: 220.3 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1866/21.72, allocations: 97.35 MB / 7.838 GB, free: 184.5 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02965/21.75, allocations: 13.79 MB / 7.852 GB, free: 183.9 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01479/21.76, allocations: 7.759 MB / 7.859 GB, free: 183.8 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002978/21.76, allocations: 2.033 MB / 7.861 GB, free: 181.9 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01849/21.78, allocations: 7.736 MB / 7.869 GB, free: 181.7 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 2.046e-05/21.78, allocations: 6.688 kB / 7.869 GB, free: 181.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.05606/21.84, allocations: 15.25 MB / 7.884 GB, free: 180.6 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/21.84, allocations: 414.5 kB / 7.884 GB, free: 180.3 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0415/21.88, allocations: 15.45 MB / 7.899 GB, free: 179.4 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003736/21.88, allocations: 47.16 kB / 7.899 GB, free: 179.4 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.02192/21.91, allocations: 6.717 MB / 7.906 GB, free: 176.5 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.02157/21.93, allocations: 3.441 MB / 7.909 GB, free: 174.2 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003438/21.93, allocations: 0 / 7.909 GB, free: 174.2 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001833/21.93, allocations: 0.8331 MB / 7.91 GB, free: 173.9 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01302/21.95, allocations: 6.276 MB / 7.916 GB, free: 173.8 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01634/21.96, allocations: 9.816 MB / 7.926 GB, free: 169.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02992/21.99, allocations: 10.58 MB / 7.936 GB, free: 169.6 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002208/21.99, allocations: 38.59 kB / 7.936 GB, free: 169.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.05472/22.05, allocations: 19.68 MB / 7.955 GB, free: 168.6 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01218/22.06, allocations: 68.79 MB / 8.023 GB, free: 98.24 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004208/22.06, allocations: 107.2 kB / 8.023 GB, free: 98.24 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/22.06, allocations: 187.2 kB / 8.023 GB, free: 98.24 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0195/22.08, allocations: 3.481 MB / 8.026 GB, free: 98.24 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004081/22.08, allocations: 240 kB / 8.027 GB, free: 98.24 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02501/22.1, allocations: 1.859 MB / 8.028 GB, free: 97.52 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00475/22.11, allocations: 0.6165 MB / 8.029 GB, free: 97.52 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/22.11, allocations: 3.688 kB / 8.029 GB, free: 97.52 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05488/22.16, allocations: 18.11 MB / 8.047 GB, free: 97.27 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003573/22.17, allocations: 107 kB / 8.047 GB, free: 97.27 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/22.17, allocations: 193.1 kB / 8.047 GB, free: 97.27 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01999/22.19, allocations: 3.476 MB / 8.05 GB, free: 97.26 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004195/22.19, allocations: 239.3 kB / 8.051 GB, free: 97.22 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02566/22.21, allocations: 1.609 MB / 8.052 GB, free: 96.66 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00473/22.22, allocations: 0.6241 MB / 8.053 GB, free: 96.66 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1638): * Single equations (assignments): 1638 * 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.007747/22.22, allocations: 473.1 kB / 8.053 GB, free: 96.29 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009269/22.23, allocations: 1.547 MB / 8.055 GB, free: 95.48 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06041/22.29, allocations: 17.32 MB / 8.072 GB, free: 94.97 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001218/22.29, allocations: 102.9 kB / 8.072 GB, free: 94.97 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.821e-05/22.29, allocations: 2.375 kB / 8.072 GB, free: 94.97 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04458/22.34, allocations: 13.93 MB / 8.085 GB, free: 92.67 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1036/22.44, allocations: 37.49 MB / 8.122 GB, free: 79.24 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.364e-05/22.44, allocations: 22.08 kB / 8.122 GB, free: 79.24 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01476/22.46, allocations: 2.442 MB / 8.124 GB, free: 79.06 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/22.46, allocations: 56.22 kB / 8.124 GB, free: 79.06 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002074/22.46, allocations: 228.4 kB / 8.125 GB, free: 79.01 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.819e-05/22.46, allocations: 62.16 kB / 8.125 GB, free: 79 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.248e-05/22.46, allocations: 26.03 kB / 8.125 GB, free: 79 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0562/22.52, allocations: 30.59 MB / 8.155 GB, free: 63.11 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0179/22.53, allocations: 4.46 MB / 8.159 GB, free: 60.82 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009422/22.54, allocations: 83.61 kB / 8.159 GB, free: 60.81 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02131/22.56, allocations: 0.9573 MB / 8.16 GB, free: 60.72 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003096/22.57, allocations: 0.5592 MB / 8.16 GB, free: 60.62 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004218/22.57, allocations: 0.5438 MB / 8.161 GB, free: 60.54 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.02931/22.6, allocations: 11.9 MB / 8.173 GB, free: 56.26 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.0513/22.65, allocations: 10.37 MB / 8.183 GB, free: 45.95 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 60 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.vol[30].dynBal.U) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1043): * Single equations (assignments): 1037 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.007161/22.66, allocations: 1.378 MB / 8.184 GB, free: 45.12 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.04818/22.71, allocations: 23.64 MB / 8.207 GB, free: 23.96 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 3.989e-05/22.71, allocations: 18.3 kB / 8.207 GB, free: 23.94 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01454/22.72, allocations: 6.518 MB / 8.214 GB, free: 18.1 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05738/22.78, allocations: 8.874 MB / 8.222 GB, free: 12.11 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.24/24.02, allocations: 39.83 MB / 8.261 GB, free: 199.9 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04582/24.07, allocations: 15.16 MB / 8.276 GB, free: 198.7 MB / 1.214 GB Notification: Performance of SimCode: time 2.164e-06/24.07, allocations: 0 / 8.276 GB, free: 198.7 MB / 1.214 GB Notification: Performance of Templates: time 1.451/25.52, allocations: 430.8 MB / 8.697 GB, free: 173.3 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches