Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.949/1.949, allocations: 390.4 MB / 397.7 MB, free: 11.36 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.001087/0.001087, allocations: 182.9 kB / 490.8 MB, free: 1.984 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.368/1.368, allocations: 221.3 MB / 0.7863 GB, free: 13.78 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.0009011/0.000901, allocations: 92.3 kB / 0.9264 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.522e-06, allocations: 0 / 1.072 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2916, allocations: 143 MB / 1.212 GB, free: 40.2 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.735/5.026, allocations: 2.198 GB / 3.409 GB, free: 109.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/5.027, allocations: 91.77 kB / 3.409 GB, free: 109.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 14.84/19.87, allocations: 4.245 GB / 7.654 GB, free: 138.8 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003771/19.88, allocations: 0.5914 MB / 7.655 GB, free: 138.7 MB / 1.214 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.06301/19.94, allocations: 18.24 MB / 7.672 GB, free: 132.3 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/19.94, allocations: 7.062 kB / 7.672 GB, free: 132.3 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02766/19.97, allocations: 3.97 MB / 7.676 GB, free: 131 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08611/20.05, allocations: 30.11 MB / 7.706 GB, free: 128.6 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/20.05, allocations: 0.5327 MB / 7.706 GB, free: 128.6 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007076/20.06, allocations: 0.9817 MB / 7.707 GB, free: 128.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04707/20.11, allocations: 19.94 MB / 7.727 GB, free: 128.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07122/20.18, allocations: 22.84 MB / 7.749 GB, free: 125.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001335/20.18, allocations: 63.44 kB / 7.749 GB, free: 125.9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008903/20.19, allocations: 45.47 kB / 7.749 GB, free: 125.9 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008036/20.19, allocations: 0.9053 MB / 7.75 GB, free: 125.9 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1971/20.39, allocations: 97.36 MB / 7.845 GB, free: 87.14 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03047/20.42, allocations: 13.79 MB / 7.858 GB, free: 82.36 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01842/20.44, allocations: 7.765 MB / 7.866 GB, free: 79.53 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003272/20.44, allocations: 2.028 MB / 7.868 GB, free: 77.51 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02077/20.46, allocations: 7.747 MB / 7.876 GB, free: 74.93 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 2.733e-05/20.46, allocations: 0.9375 kB / 7.876 GB, free: 74.93 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.05239/20.51, allocations: 15.25 MB / 7.89 GB, free: 69.83 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/20.51, allocations: 420.2 kB / 7.891 GB, free: 69.35 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03378/20.55, allocations: 15.45 MB / 7.906 GB, free: 56.04 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003794/20.55, allocations: 45.7 kB / 7.906 GB, free: 55.99 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.02061/20.57, allocations: 6.719 MB / 7.913 GB, free: 50.18 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.02145/20.59, allocations: 3.445 MB / 7.916 GB, free: 47 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003228/20.6, allocations: 0 / 7.916 GB, free: 47 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.00182/20.6, allocations: 0.8301 MB / 7.917 GB, free: 46.32 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01286/20.61, allocations: 6.281 MB / 7.923 GB, free: 40.79 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01704/20.63, allocations: 9.812 MB / 7.932 GB, free: 30.39 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03466/20.66, allocations: 10.59 MB / 7.943 GB, free: 22.09 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001787/20.66, allocations: 32 kB / 7.943 GB, free: 22.06 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.05932/20.72, allocations: 19.68 MB / 7.962 GB, free: 5.48 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.5774/21.3, allocations: 68.79 MB / 8.029 GB, free: 221.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003741/21.3, allocations: 104.2 kB / 8.029 GB, free: 221.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/21.3, allocations: 188.3 kB / 8.029 GB, free: 221.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01886/21.32, allocations: 3.484 MB / 8.033 GB, free: 221.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002688/21.32, allocations: 238.7 kB / 8.033 GB, free: 221.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02498/21.34, allocations: 1.859 MB / 8.035 GB, free: 221.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004306/21.35, allocations: 0.6163 MB / 8.036 GB, free: 221.1 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/21.35, allocations: 3.188 kB / 8.036 GB, free: 221.1 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04655/21.4, allocations: 18.11 MB / 8.053 GB, free: 220.9 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003026/21.4, allocations: 111.8 kB / 8.053 GB, free: 220.9 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/21.4, allocations: 188.1 kB / 8.053 GB, free: 220.9 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01923/21.41, allocations: 3.479 MB / 8.057 GB, free: 220.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000338/21.42, allocations: 237 kB / 8.057 GB, free: 220.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02433/21.44, allocations: 1.614 MB / 8.059 GB, free: 220.9 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004653/21.44, allocations: 0.6136 MB / 8.059 GB, free: 220.9 MB / 1.229 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.007761/21.45, allocations: 469.3 kB / 8.06 GB, free: 220.8 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008898/21.46, allocations: 1.553 MB / 8.061 GB, free: 220.8 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05335/21.51, allocations: 17.33 MB / 8.078 GB, free: 220.3 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.417e-05/21.51, allocations: 99.97 kB / 8.078 GB, free: 220.3 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/21.51, allocations: 5.781 kB / 8.078 GB, free: 220.3 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03718/21.55, allocations: 13.92 MB / 8.092 GB, free: 220 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09318/21.64, allocations: 37.5 MB / 8.128 GB, free: 218.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/21.65, allocations: 19.66 kB / 8.129 GB, free: 218.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01518/21.66, allocations: 2.432 MB / 8.131 GB, free: 218.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/21.66, allocations: 60.52 kB / 8.131 GB, free: 218.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002093/21.66, allocations: 234.8 kB / 8.131 GB, free: 218.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.353e-05/21.66, allocations: 60.52 kB / 8.131 GB, free: 218.5 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.671e-05/21.66, allocations: 25.81 kB / 8.131 GB, free: 218.5 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05359/21.72, allocations: 30.59 MB / 8.161 GB, free: 209.7 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01484/21.73, allocations: 4.455 MB / 8.165 GB, free: 208.8 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007667/21.74, allocations: 82.94 kB / 8.166 GB, free: 208.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02019/21.76, allocations: 0.962 MB / 8.166 GB, free: 208.8 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002632/21.76, allocations: 0.5559 MB / 8.167 GB, free: 208.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003195/21.76, allocations: 0.5457 MB / 8.168 GB, free: 208.7 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.02617/21.79, allocations: 11.9 MB / 8.179 GB, free: 208.3 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05105/21.84, allocations: 10.36 MB / 8.189 GB, free: 207.2 MB / 1.229 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.006311/21.85, allocations: 1.386 MB / 8.191 GB, free: 207 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.0474/21.9, allocations: 23.65 MB / 8.214 GB, free: 206.8 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-05/21.9, allocations: 21.45 kB / 8.214 GB, free: 206.8 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01335/21.91, allocations: 6.515 MB / 8.22 GB, free: 206.8 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04733/21.96, allocations: 8.884 MB / 8.229 GB, free: 206.6 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0981/22.05, allocations: 39.78 MB / 8.268 GB, free: 199.6 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03242/22.09, allocations: 15.17 MB / 8.282 GB, free: 198.1 MB / 1.229 GB Notification: Performance of SimCode: time 1.413e-06/22.09, allocations: 0 / 8.282 GB, free: 198.1 MB / 1.229 GB Notification: Performance of Templates: time 1.561/23.65, allocations: 430.8 MB / 8.703 GB, free: 261.7 MB / 1.229 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches