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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001034/0.001034, allocations: 176.3 kB / 492.3 MB, free: 0.6211 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.742/1.742, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.0008993/0.0008996, allocations: 94.02 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.45e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3181, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.627/6.945, allocations: 2.2 GB / 3.412 GB, free: 100.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/6.946, allocations: 92.77 kB / 3.412 GB, free: 100.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 12.5/19.45, allocations: 2.887 GB / 6.299 GB, free: 148 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.677e-06/19.45, allocations: 0 / 6.299 GB, free: 148 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004082/19.45, allocations: 401.5 kB / 6.299 GB, free: 147.9 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: 2975 * Number of variables: 2975 Notification: Performance of Generate backend data structure: time 0.04742/19.5, allocations: 12.2 MB / 6.311 GB, free: 143.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/19.5, allocations: 7.875 kB / 6.311 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/19.52, allocations: 3.093 MB / 6.314 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05676/19.58, allocations: 18.74 MB / 6.333 GB, free: 140.9 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/19.58, allocations: 0.8288 MB / 6.334 GB, free: 140.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006235/19.58, allocations: 1.113 MB / 6.335 GB, free: 140.9 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05834/19.64, allocations: 16.11 MB / 6.35 GB, free: 139.2 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009957/19.64, allocations: 42.94 kB / 6.35 GB, free: 139.2 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006004/19.65, allocations: 487.9 kB / 6.351 GB, free: 139.2 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007121/19.65, allocations: 0.564 MB / 6.351 GB, free: 139.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03981/19.69, allocations: 13.86 MB / 6.365 GB, free: 139.1 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1472/19.84, allocations: 63.63 MB / 6.427 GB, free: 116.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0208/19.86, allocations: 9.567 MB / 6.436 GB, free: 116.2 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01109/19.87, allocations: 5.149 MB / 6.441 GB, free: 116.2 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003285/19.87, allocations: 2.392 MB / 6.444 GB, free: 113.7 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01434/19.89, allocations: 5.31 MB / 6.449 GB, free: 113 MB / 1.198 GB Notification: Performance of pre-optimization done (n=706): time 2.282e-05/19.89, allocations: 0 / 6.449 GB, free: 113 MB / 1.198 GB Notification: Performance of matching and sorting (n=706): time 0.02693/19.91, allocations: 8.955 MB / 6.458 GB, free: 109.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/19.91, allocations: 359.2 kB / 6.458 GB, free: 109.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02894/19.94, allocations: 11.22 MB / 6.469 GB, free: 105.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002472/19.95, allocations: 165 kB / 6.469 GB, free: 105.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.008025/19.95, allocations: 6.341 MB / 6.475 GB, free: 100.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004736/19.96, allocations: 2.46 MB / 6.478 GB, free: 98.55 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009658/19.96, allocations: 171.2 kB / 6.478 GB, free: 98.42 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0006351/19.96, allocations: 0.6534 MB / 6.479 GB, free: 97.96 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006675/19.97, allocations: 4.152 MB / 6.483 GB, free: 96.41 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008577/19.98, allocations: 6.436 MB / 6.489 GB, free: 92.15 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/19.99, allocations: 5.389 MB / 6.494 GB, free: 90.25 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-05/19.99, allocations: 20.12 kB / 6.494 GB, free: 90.25 MB / 1.198 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.03377/20.02, allocations: 12.11 MB / 6.506 GB, free: 86.14 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.009183/20.03, allocations: 37.47 MB / 6.543 GB, free: 47.56 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002414/20.03, allocations: 61.34 kB / 6.543 GB, free: 47.56 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000961/20.03, allocations: 194.9 kB / 6.543 GB, free: 47.55 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0152/20.05, allocations: 2.372 MB / 6.545 GB, free: 47.47 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/20.05, allocations: 1.674 MB / 6.547 GB, free: 46.05 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02011/20.07, allocations: 1.616 MB / 6.548 GB, free: 45.28 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003097/20.07, allocations: 431.6 kB / 6.549 GB, free: 45.21 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/20.07, allocations: 3.156 kB / 6.549 GB, free: 45.21 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02946/20.1, allocations: 11.13 MB / 6.56 GB, free: 41.18 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000314/20.1, allocations: 70.03 kB / 6.56 GB, free: 41.18 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007972/20.1, allocations: 198.2 kB / 6.56 GB, free: 41.16 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01326/20.12, allocations: 2.364 MB / 6.562 GB, free: 40.94 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/20.12, allocations: 1.67 MB / 6.564 GB, free: 39.48 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01854/20.14, allocations: 1.447 MB / 6.565 GB, free: 38.82 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003455/20.14, allocations: 429.3 kB / 6.566 GB, free: 38.75 MB / 1.198 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.006381/20.15, allocations: 0.625 MB / 6.566 GB, free: 38.22 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00748/20.15, allocations: 1.127 MB / 6.567 GB, free: 37.13 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03448/20.19, allocations: 10.67 MB / 6.578 GB, free: 28.26 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.654e-05/20.19, allocations: 79.84 kB / 6.578 GB, free: 28.18 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.204e-05/20.19, allocations: 0 / 6.578 GB, free: 28.18 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02022/20.21, allocations: 8.316 MB / 6.586 GB, free: 20.86 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08515/20.29, allocations: 25.52 MB / 6.611 GB, free: 16.54 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.958e-05/20.29, allocations: 11.66 kB / 6.611 GB, free: 16.53 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01174/20.31, allocations: 1.725 MB / 6.613 GB, free: 15.16 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009215/20.31, allocations: 127 kB / 6.613 GB, free: 15.05 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00326/20.31, allocations: 248.5 kB / 6.613 GB, free: 14.87 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/20.31, allocations: 1.589 MB / 6.615 GB, free: 13.2 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/20.31, allocations: 19.64 kB / 6.615 GB, free: 13.19 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06205/20.37, allocations: 19.8 MB / 6.634 GB, free: 15.81 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01375/20.39, allocations: 3.078 MB / 6.637 GB, free: 13.21 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007016/20.4, allocations: 167.5 kB / 6.637 GB, free: 13.05 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01635/20.41, allocations: 0.8336 MB / 6.638 GB, free: 12.43 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002531/20.41, allocations: 455.7 kB / 6.638 GB, free: 12.14 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002879/20.42, allocations: 385.9 kB / 6.639 GB, free: 11.86 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02325/20.44, allocations: 8.781 MB / 6.647 GB, free: 4.27 MB / 1.229 GB Notification: Performance of sort global known variables: time 6.51e-07/20.44, allocations: 0 / 6.647 GB, free: 4.27 MB / 1.229 GB Notification: Performance of remove unused functions: time 1.069/21.51, allocations: 7.187 MB / 6.654 GB, free: 170 MB / 1.229 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.00802/21.52, allocations: 2.174 MB / 6.656 GB, free: 169.7 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.04441/21.56, allocations: 16.3 MB / 6.672 GB, free: 169.3 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 4.623e-05/21.56, allocations: 12.14 kB / 6.672 GB, free: 169.3 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/21.57, allocations: 4.617 MB / 6.677 GB, free: 169.1 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04471/21.62, allocations: 6.88 MB / 6.684 GB, free: 169 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08097/21.7, allocations: 25.72 MB / 6.709 GB, free: 164.3 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02897/21.73, allocations: 8.755 MB / 6.717 GB, free: 163.4 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.05663/21.79, allocations: 11.34 MB / 6.728 GB, free: 162.2 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007639/21.79, allocations: 0.8664 MB / 6.729 GB, free: 162.2 MB / 1.229 GB Notification: Performance of SimCode: time 1.253e-06/21.79, allocations: 0 / 6.729 GB, free: 162.2 MB / 1.229 GB Notification: Performance of Templates: time 0.4515/22.24, allocations: 269.3 MB / 6.992 GB, free: 66.43 MB / 1.229 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