Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009884/0.0009884, allocations: 193.2 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008948/0.0008949, allocations: 82.09 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.232e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.917/4.061, allocations: 2.473 GB / 3.358 GB, free: 293.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/4.061, allocations: 87.95 kB / 3.358 GB, free: 293.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 11.58/15.64, allocations: 4.061 GB / 7.418 GB, free: 82.82 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.003433/15.65, allocations: 0.5601 MB / 7.419 GB, free: 82.82 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 0.05544/15.7, allocations: 17.99 MB / 7.437 GB, free: 78.08 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/15.7, allocations: 10.84 kB / 7.437 GB, free: 78.08 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02459/15.73, allocations: 3.865 MB / 7.44 GB, free: 76.84 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07012/15.8, allocations: 28.99 MB / 7.469 GB, free: 74.5 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007974/15.8, allocations: 0.5273 MB / 7.469 GB, free: 74.5 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005813/15.8, allocations: 0.9749 MB / 7.47 GB, free: 74.49 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03769/15.84, allocations: 19.85 MB / 7.49 GB, free: 74.42 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05464/15.9, allocations: 22.43 MB / 7.511 GB, free: 71.87 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009222/15.9, allocations: 75.55 kB / 7.512 GB, free: 71.86 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005937/15.9, allocations: 33.12 kB / 7.512 GB, free: 71.86 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008384/15.91, allocations: 0.9003 MB / 7.512 GB, free: 71.82 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1491/16.05, allocations: 96.3 MB / 7.606 GB, free: 35.01 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/16.08, allocations: 13.79 MB / 7.62 GB, free: 34.43 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01083/16.09, allocations: 7.742 MB / 7.628 GB, free: 34.32 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/16.09, allocations: 2.03 MB / 7.63 GB, free: 32.34 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01364/16.1, allocations: 7.528 MB / 7.637 GB, free: 32.13 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=1020): time 1.896e-05/16.1, allocations: 0 / 7.637 GB, free: 32.13 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1020): time 0.04596/16.15, allocations: 15.16 MB / 7.652 GB, free: 31.15 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/16.15, allocations: 414.2 kB / 7.652 GB, free: 30.77 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0348/16.18, allocations: 15.16 MB / 7.667 GB, free: 45.24 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003144/16.19, allocations: 33.42 kB / 7.667 GB, free: 45.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01918/16.21, allocations: 6.647 MB / 7.673 GB, free: 40.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01963/16.23, allocations: 3.44 MB / 7.677 GB, free: 38.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003176/16.23, allocations: 3.219 kB / 7.677 GB, free: 38.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001888/16.23, allocations: 0.8248 MB / 7.678 GB, free: 37.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0125/16.24, allocations: 6.266 MB / 7.684 GB, free: 35.22 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01587/16.26, allocations: 9.798 MB / 7.693 GB, free: 28.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03054/16.29, allocations: 10.55 MB / 7.704 GB, free: 25.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002652/16.29, allocations: 30.53 kB / 7.704 GB, free: 25.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.06041/16.35, allocations: 19.6 MB / 7.723 GB, free: 15.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.3895/16.74, allocations: 67.83 MB / 7.789 GB, free: 167.5 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005483/16.74, allocations: 108.1 kB / 7.789 GB, free: 167.5 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002439/16.74, allocations: 186.2 kB / 7.789 GB, free: 167.5 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0191/16.76, allocations: 3.463 MB / 7.793 GB, free: 167.5 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003022/16.76, allocations: 238.5 kB / 7.793 GB, free: 167.5 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02198/16.78, allocations: 1.844 MB / 7.795 GB, free: 167.5 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003488/16.79, allocations: 0.6172 MB / 7.795 GB, free: 167.5 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/16.79, allocations: 3.812 kB / 7.795 GB, free: 167.5 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0417/16.83, allocations: 18.06 MB / 7.813 GB, free: 167.2 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002907/16.83, allocations: 105.2 kB / 7.813 GB, free: 167.2 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/16.83, allocations: 187.6 kB / 7.813 GB, free: 167.2 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0175/16.85, allocations: 3.461 MB / 7.817 GB, free: 167.2 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004543/16.85, allocations: 242.6 kB / 7.817 GB, free: 167.2 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02281/16.87, allocations: 1.596 MB / 7.818 GB, free: 167.2 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004047/16.87, allocations: 0.6167 MB / 7.819 GB, free: 167.2 MB / 0.9793 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 (1636): * Single equations (assignments): 1636 * 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.006438/16.88, allocations: 461.9 kB / 7.819 GB, free: 167.1 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007241/16.89, allocations: 1.51 MB / 7.821 GB, free: 167.1 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05359/16.94, allocations: 17.23 MB / 7.838 GB, free: 166.7 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/16.94, allocations: 100.9 kB / 7.838 GB, free: 166.7 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.395e-05/16.94, allocations: 0 / 7.838 GB, free: 166.7 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03629/16.98, allocations: 13.87 MB / 7.851 GB, free: 166.3 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09342/17.07, allocations: 37.04 MB / 7.887 GB, free: 164.9 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.675e-05/17.07, allocations: 19.16 kB / 7.888 GB, free: 164.9 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.015/17.09, allocations: 2.419 MB / 7.89 GB, free: 164.9 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/17.09, allocations: 53.59 kB / 7.89 GB, free: 164.9 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003206/17.09, allocations: 228.1 kB / 7.89 GB, free: 164.9 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001347/17.09, allocations: 62.22 kB / 7.89 GB, free: 164.9 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/17.09, allocations: 24.62 kB / 7.89 GB, free: 164.9 MB / 0.9793 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06101/17.15, allocations: 30.32 MB / 7.92 GB, free: 156.6 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01489/17.17, allocations: 4.325 MB / 7.924 GB, free: 155.7 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007986/17.17, allocations: 85.36 kB / 7.924 GB, free: 155.7 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01999/17.19, allocations: 0.9455 MB / 7.925 GB, free: 155.6 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002811/17.2, allocations: 0.556 MB / 7.926 GB, free: 155.6 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003043/17.2, allocations: 0.4956 MB / 7.926 GB, free: 155.6 MB / 0.9793 GB Notification: Performance of sort global known variables: time 0.02292/17.22, allocations: 11.66 MB / 7.937 GB, free: 155.2 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.04103/17.26, allocations: 10.27 MB / 7.948 GB, free: 153.9 MB / 0.9793 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 (1040): * Single equations (assignments): 1034 * 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.005048/17.27, allocations: 1.323 MB / 7.949 GB, free: 153.7 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.03726/17.31, allocations: 23.58 MB / 7.972 GB, free: 153.5 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 2.932e-05/17.31, allocations: 14.52 kB / 7.972 GB, free: 153.4 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.009549/17.32, allocations: 6.495 MB / 7.978 GB, free: 153.3 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04137/17.36, allocations: 8.831 MB / 7.987 GB, free: 153.1 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07525/17.43, allocations: 39.27 MB / 8.025 GB, free: 145.2 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02332/17.46, allocations: 14.96 MB / 8.04 GB, free: 143.7 MB / 0.9793 GB Notification: Performance of SimCode: time 9.22e-07/17.46, allocations: 0 / 8.04 GB, free: 143.7 MB / 0.9793 GB Notification: Performance of Templates: time 0.926/18.38, allocations: 424.5 MB / 8.454 GB, free: 113.6 MB / 0.9793 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches