Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") [: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 2.082/2.082, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001142/0.001142, allocations: 185.2 kB / 487 MB, free: 5.352 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.607/1.607, allocations: 221.3 MB / 0.7819 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 97.66 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.334e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3876, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.04/5.428, allocations: 2.199 GB / 3.405 GB, free: 116.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/5.428, allocations: 95.8 kB / 3.405 GB, free: 116.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 10.09/15.52, allocations: 2.888 GB / 6.293 GB, free: 136.3 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.002137/15.52, allocations: 399.1 kB / 6.293 GB, free: 136.2 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2975 * Number of variables: 2975 Notification: Performance of Generate backend data structure: time 0.04006/15.56, allocations: 12.25 MB / 6.305 GB, free: 131.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/15.56, allocations: 10.34 kB / 6.305 GB, free: 131.8 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/15.58, allocations: 3.308 MB / 6.309 GB, free: 130.9 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04822/15.63, allocations: 19 MB / 6.327 GB, free: 129.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006721/15.63, allocations: 360.3 kB / 6.327 GB, free: 129.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00504/15.64, allocations: 0.6434 MB / 6.328 GB, free: 129.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03155/15.67, allocations: 13.23 MB / 6.341 GB, free: 129.2 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04882/15.72, allocations: 14.76 MB / 6.355 GB, free: 127.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00107/15.72, allocations: 32.53 kB / 6.355 GB, free: 127.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005744/15.72, allocations: 25 kB / 6.355 GB, free: 127.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007008/15.72, allocations: 0.5849 MB / 6.356 GB, free: 127.5 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1274/15.85, allocations: 62.77 MB / 6.417 GB, free: 104.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/15.87, allocations: 8.79 MB / 6.426 GB, free: 104 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008848/15.88, allocations: 5.073 MB / 6.431 GB, free: 103.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002692/15.88, allocations: 2.395 MB / 6.433 GB, free: 101.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01162/15.89, allocations: 5.182 MB / 6.438 GB, free: 101.2 MB / 1.182 GB Notification: Performance of pre-optimization done (n=706): time 1.332e-05/15.89, allocations: 0 / 6.438 GB, free: 101.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=706): time 0.03998/15.93, allocations: 10.53 MB / 6.449 GB, free: 100.5 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/15.93, allocations: 361.3 kB / 6.449 GB, free: 100.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02885/15.96, allocations: 9.855 MB / 6.458 GB, free: 99.51 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.002681/15.96, allocations: 37.39 kB / 6.459 GB, free: 99.48 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01134/15.97, allocations: 4.367 MB / 6.463 GB, free: 97.14 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0102/15.99, allocations: 2.37 MB / 6.465 GB, free: 95.55 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002445/15.99, allocations: 0 / 6.465 GB, free: 95.55 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.00123/15.99, allocations: 0.6474 MB / 6.466 GB, free: 95.09 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009241/16, allocations: 4.133 MB / 6.47 GB, free: 93.54 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/16.01, allocations: 6.353 MB / 6.476 GB, free: 89.3 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03531/16.05, allocations: 8.267 MB / 6.484 GB, free: 87.18 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001703/16.05, allocations: 18.34 kB / 6.484 GB, free: 87.18 MB / 1.182 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.0597/16.11, allocations: 14.4 MB / 6.498 GB, free: 83.16 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.007061/16.11, allocations: 35.76 MB / 6.533 GB, free: 45.75 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002953/16.11, allocations: 66.44 kB / 6.533 GB, free: 45.75 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009149/16.11, allocations: 200.5 kB / 6.533 GB, free: 45.73 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01355/16.13, allocations: 2.375 MB / 6.536 GB, free: 45.66 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/16.13, allocations: 1.605 MB / 6.537 GB, free: 44.34 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01728/16.15, allocations: 1.28 MB / 6.538 GB, free: 43.86 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003128/16.15, allocations: 434.2 kB / 6.539 GB, free: 43.79 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/16.15, allocations: 4.531 kB / 6.539 GB, free: 43.79 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05279/16.2, allocations: 13.35 MB / 6.552 GB, free: 40.34 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003537/16.2, allocations: 65.75 kB / 6.552 GB, free: 40.34 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009326/16.2, allocations: 193.9 kB / 6.552 GB, free: 40.33 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0154/16.22, allocations: 2.37 MB / 6.554 GB, free: 40.21 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/16.22, allocations: 1.618 MB / 6.556 GB, free: 38.84 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01682/16.24, allocations: 1.118 MB / 6.557 GB, free: 38.44 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003369/16.24, allocations: 422.7 kB / 6.558 GB, free: 38.38 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1097): * Single equations (assignments): 1096 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005376/16.25, allocations: 340.4 kB / 6.558 GB, free: 38.06 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005641/16.25, allocations: 1.023 MB / 6.559 GB, free: 37.03 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04544/16.3, allocations: 12.34 MB / 6.571 GB, free: 27.28 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001237/16.3, allocations: 76 kB / 6.571 GB, free: 27.21 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/16.3, allocations: 0 / 6.571 GB, free: 27.21 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03303/16.33, allocations: 9.973 MB / 6.581 GB, free: 18.95 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0884/16.42, allocations: 25.74 MB / 6.606 GB, free: 14.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.851e-05/16.42, allocations: 12.7 kB / 6.606 GB, free: 14.79 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0126/16.43, allocations: 1.714 MB / 6.608 GB, free: 13.42 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008175/16.43, allocations: 118.1 kB / 6.608 GB, free: 13.32 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002611/16.44, allocations: 165.5 kB / 6.608 GB, free: 13.21 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/16.44, allocations: 1.527 MB / 6.609 GB, free: 11.63 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.029e-05/16.44, allocations: 15.94 kB / 6.609 GB, free: 11.61 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06252/16.5, allocations: 20.11 MB / 6.629 GB, free: 10.49 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01363/16.52, allocations: 2.966 MB / 6.632 GB, free: 7.984 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00626/16.52, allocations: 51.5 kB / 6.632 GB, free: 7.941 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01455/16.54, allocations: 0.6945 MB / 6.633 GB, free: 7.438 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002182/16.54, allocations: 404.8 kB / 6.633 GB, free: 7.191 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002586/16.54, allocations: 381.9 kB / 6.633 GB, free: 6.91 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.01992/16.56, allocations: 7.562 MB / 6.641 GB, free: 408 kB / 1.214 GB Notification: Performance of remove unused functions: time 0.5412/17.1, allocations: 6.975 MB / 6.648 GB, free: 266.9 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,TOut.T,TIn.T,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,TOut1.T,TIn1.T) * 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 (732): * Single equations (assignments): 719 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006832/17.11, allocations: 2.066 MB / 6.65 GB, free: 266.6 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.0339/17.14, allocations: 16.03 MB / 6.665 GB, free: 266.2 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-05/17.14, allocations: 14.83 kB / 6.665 GB, free: 266.2 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.008784/17.15, allocations: 4.588 MB / 6.67 GB, free: 266.1 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03141/17.18, allocations: 5.59 MB / 6.675 GB, free: 266 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0738/17.26, allocations: 25.71 MB / 6.7 GB, free: 261.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03283/17.29, allocations: 9.997 MB / 6.71 GB, free: 260.6 MB / 1.214 GB Notification: Performance of SimCode: time 1.002e-06/17.29, allocations: 0 / 6.71 GB, free: 260.6 MB / 1.214 GB Notification: Performance of Templates: time 0.4871/17.78, allocations: 292.3 MB / 6.995 GB, free: 163.4 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches