Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.sta_b.T|solCol2.sta_b.T|dT.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.sta_b.T|solCol2.sta_b.T|dT.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") [: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 2.023/2.023, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001032/0.001032, allocations: 189.2 kB / 490.8 MB, free: 1.938 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.389/1.389, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.000909/0.000909, allocations: 86.88 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.167e-05/1.17e-05, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.757/5.054, allocations: 2.2 GB / 3.412 GB, free: 107.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/5.055, allocations: 87.95 kB / 3.412 GB, free: 107.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.735/10.79, allocations: 1.503 GB / 4.915 GB, free: 166.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001783/10.79, allocations: 199.8 kB / 4.915 GB, free: 166.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: 1566 * Number of variables: 1566 Notification: Performance of Generate backend data structure: time 0.02677/10.82, allocations: 6.803 MB / 4.922 GB, free: 163.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/10.82, allocations: 7.281 kB / 4.922 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01922/10.84, allocations: 2.805 MB / 4.924 GB, free: 163.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02504/10.86, allocations: 8.202 MB / 4.932 GB, free: 162.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/10.86, allocations: 196.2 kB / 4.933 GB, free: 162.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002081/10.87, allocations: 348.9 kB / 4.933 GB, free: 162.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01436/10.88, allocations: 7.065 MB / 4.94 GB, free: 162.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/10.9, allocations: 7.299 MB / 4.947 GB, free: 161.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002845/10.9, allocations: 17.19 kB / 4.947 GB, free: 161.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/10.9, allocations: 9.656 kB / 4.947 GB, free: 161.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003467/10.9, allocations: 293.6 kB / 4.947 GB, free: 161.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06414/10.97, allocations: 32.22 MB / 4.979 GB, free: 149.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008/10.97, allocations: 4.665 MB / 4.983 GB, free: 149.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003799/10.98, allocations: 2.639 MB / 4.986 GB, free: 149.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002326/10.98, allocations: 2.407 MB / 4.988 GB, free: 146.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004347/10.99, allocations: 2.89 MB / 4.991 GB, free: 146.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 6.513e-06/10.99, allocations: 0 / 4.991 GB, free: 146.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.02093/11.01, allocations: 6.252 MB / 4.997 GB, free: 146.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/11.01, allocations: 380 kB / 4.997 GB, free: 146 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007801/11.01, allocations: 4.605 MB / 5.002 GB, free: 145.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001047/11.02, allocations: 29.05 kB / 5.002 GB, free: 145.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002657/11.02, allocations: 2.174 MB / 5.004 GB, free: 144.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002444/11.02, allocations: 1.371 MB / 5.005 GB, free: 143.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/11.02, allocations: 3.594 kB / 5.005 GB, free: 143.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002897/11.02, allocations: 491.4 kB / 5.006 GB, free: 143.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/11.02, allocations: 2.102 MB / 5.008 GB, free: 143.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/11.03, allocations: 3.06 MB / 5.011 GB, free: 142.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/11.04, allocations: 3.988 MB / 5.015 GB, free: 142.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.31e-05/11.04, allocations: 4.281 kB / 5.015 GB, free: 142.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.02381/11.07, allocations: 7.201 MB / 5.022 GB, free: 141.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00223/11.07, allocations: 10.58 MB / 5.032 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.797e-05/11.07, allocations: 21.53 kB / 5.032 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-05/11.07, allocations: 46.72 kB / 5.032 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007841/11.08, allocations: 1.308 MB / 5.034 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.148e-05/11.08, allocations: 53.69 kB / 5.034 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00885/11.09, allocations: 0.6896 MB / 5.034 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/11.09, allocations: 235.8 kB / 5.034 GB, free: 130.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/11.09, allocations: 3.75 kB / 5.034 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02238/11.11, allocations: 6.625 MB / 5.041 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-05/11.11, allocations: 21.69 kB / 5.041 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.294e-05/11.11, allocations: 48.78 kB / 5.041 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007132/11.12, allocations: 1.304 MB / 5.042 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.415e-05/11.12, allocations: 56.41 kB / 5.042 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008132/11.13, allocations: 0.627 MB / 5.043 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008316/11.13, allocations: 227.1 kB / 5.043 GB, free: 130.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (565): * Single equations (assignments): 565 * 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.001476/11.13, allocations: 217.8 kB / 5.043 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002099/11.13, allocations: 0.5611 MB / 5.044 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02528/11.16, allocations: 7.529 MB / 5.051 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.978e-05/11.16, allocations: 49.97 kB / 5.051 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/11.16, allocations: 6.703 kB / 5.051 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01879/11.17, allocations: 5.88 MB / 5.057 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04004/11.21, allocations: 14.75 MB / 5.071 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/11.21, allocations: 7.594 kB / 5.071 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007003/11.22, allocations: 1.073 MB / 5.073 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.03e-05/11.22, allocations: 24.66 kB / 5.073 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006975/11.22, allocations: 95.3 kB / 5.073 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-05/11.22, allocations: 24.09 kB / 5.073 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/11.22, allocations: 11.89 kB / 5.073 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02936/11.25, allocations: 10.87 MB / 5.083 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006053/11.26, allocations: 1.621 MB / 5.085 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00387/11.26, allocations: 22.42 kB / 5.085 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008929/11.27, allocations: 454.2 kB / 5.085 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009356/11.27, allocations: 247.2 kB / 5.086 GB, free: 123.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008528/11.27, allocations: 212.3 kB / 5.086 GB, free: 123.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.008378/11.28, allocations: 3.563 MB / 5.089 GB, free: 122.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01893/11.3, allocations: 3.571 MB / 5.093 GB, free: 121.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].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 (451): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.004474/11.3, allocations: 1.59 MB / 5.094 GB, free: 121.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01416/11.32, allocations: 8.323 MB / 5.102 GB, free: 118.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/11.32, allocations: 5.375 kB / 5.102 GB, free: 118.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00477/11.32, allocations: 2.594 MB / 5.105 GB, free: 117.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01504/11.34, allocations: 2.445 MB / 5.107 GB, free: 116.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03591/11.37, allocations: 11.84 MB / 5.119 GB, free: 112.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01205/11.39, allocations: 5.169 MB / 5.124 GB, free: 109.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.272e-06/11.39, allocations: 4 kB / 5.124 GB, free: 109.1 MB / 1.167 GB Notification: Performance of Templates: time 0.2707/11.66, allocations: 156.6 MB / 5.277 GB, free: 8.664 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches