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.705/2.705, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001931/0.001932, allocations: 186 kB / 498.1 MB, free: 5.688 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.87/1.87, allocations: 223.2 MB / 0.7949 GB, free: 17.87 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.001062/0.001061, allocations: 99.25 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004143, allocations: 7.875 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.344/6.711, allocations: 2.2 GB / 3.423 GB, free: 229.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/6.711, allocations: 96.12 kB / 3.423 GB, free: 229 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.98/17.69, allocations: 2.894 GB / 6.317 GB, free: 50.39 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.897e-06/17.69, allocations: 0 / 6.317 GB, free: 50.39 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003906/17.69, allocations: 395.4 kB / 6.317 GB, free: 50.01 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.06422/17.75, allocations: 14.92 MB / 6.332 GB, free: 35.02 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/17.75, allocations: 8.031 kB / 6.332 GB, free: 35.01 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02285/17.78, allocations: 3.099 MB / 6.335 GB, free: 31.89 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05892/17.84, allocations: 18.81 MB / 6.353 GB, free: 13.06 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001293/17.84, allocations: 0.8305 MB / 6.354 GB, free: 12.23 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006986/17.84, allocations: 1.113 MB / 6.355 GB, free: 11.12 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.681/19.53, allocations: 16.85 MB / 6.371 GB, free: 140.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001341/19.53, allocations: 39.33 kB / 6.372 GB, free: 140.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007067/19.53, allocations: 487.8 kB / 6.372 GB, free: 140.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/19.54, allocations: 0.5667 MB / 6.373 GB, free: 140.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05715/19.59, allocations: 15.23 MB / 6.387 GB, free: 140 MB / 1.198 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1536/19.75, allocations: 63.64 MB / 6.45 GB, free: 118.8 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02673/19.77, allocations: 10.43 MB / 6.46 GB, free: 118.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00328/19.78, allocations: 2.384 MB / 6.462 GB, free: 116.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02104/19.8, allocations: 5.774 MB / 6.468 GB, free: 115.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=706): time 3.997e-05/19.8, allocations: 5.531 kB / 6.468 GB, free: 115.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=706): time 0.05262/19.85, allocations: 14.02 MB / 6.481 GB, free: 114.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002063/19.85, allocations: 359.5 kB / 6.482 GB, free: 114.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03796/19.89, allocations: 11.33 MB / 6.493 GB, free: 114 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.003054/19.89, allocations: 168.9 kB / 6.493 GB, free: 114 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01259/19.91, allocations: 6.342 MB / 6.499 GB, free: 112.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.006046/19.91, allocations: 2.455 MB / 6.502 GB, free: 111.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002744/19.91, allocations: 170.6 kB / 6.502 GB, free: 111.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.001507/19.92, allocations: 0.6503 MB / 6.502 GB, free: 110.8 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01295/19.93, allocations: 4.643 MB / 6.507 GB, free: 110.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01693/19.95, allocations: 6.923 MB / 6.514 GB, free: 108.3 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/19.96, allocations: 5.851 MB / 6.519 GB, free: 108.2 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001663/19.96, allocations: 15.41 kB / 6.519 GB, free: 108.2 MB / 1.198 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.0467/20.01, allocations: 13.08 MB / 6.532 GB, free: 107.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.01031/20.02, allocations: 37.47 MB / 6.569 GB, free: 69.29 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003153/20.02, allocations: 62.62 kB / 6.569 GB, free: 69.29 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/20.02, allocations: 203.7 kB / 6.569 GB, free: 69.28 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01453/20.04, allocations: 2.367 MB / 6.571 GB, free: 69.28 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/20.04, allocations: 1.691 MB / 6.573 GB, free: 67.99 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02068/20.06, allocations: 1.615 MB / 6.575 GB, free: 67.43 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003638/20.06, allocations: 426.1 kB / 6.575 GB, free: 67.43 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/20.06, allocations: 5.969 kB / 6.575 GB, free: 67.43 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04152/20.1, allocations: 12.11 MB / 6.587 GB, free: 67.24 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004076/20.1, allocations: 63.75 kB / 6.587 GB, free: 67.24 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000902/20.11, allocations: 204.9 kB / 6.587 GB, free: 67.23 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01396/20.12, allocations: 2.367 MB / 6.589 GB, free: 67.23 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/20.12, allocations: 1.698 MB / 6.591 GB, free: 65.94 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01872/20.14, allocations: 1.441 MB / 6.592 GB, free: 65.48 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003972/20.14, allocations: 429.2 kB / 6.593 GB, free: 65.48 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 () * Number of clocked 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.01976/20.16, allocations: 4.883 MB / 6.598 GB, free: 65.25 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008684/20.17, allocations: 1.125 MB / 6.599 GB, free: 64.67 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04559/20.22, allocations: 11.63 MB / 6.61 GB, free: 64.21 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/20.22, allocations: 66.34 kB / 6.61 GB, free: 64.21 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-05/20.22, allocations: 6.5 kB / 6.61 GB, free: 64.21 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02871/20.25, allocations: 9.262 MB / 6.619 GB, free: 63.67 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09177/20.34, allocations: 26.48 MB / 6.645 GB, free: 54.92 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001085/20.34, allocations: 11.44 kB / 6.645 GB, free: 54.92 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01174/20.35, allocations: 1.723 MB / 6.647 GB, free: 54.88 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008359/20.35, allocations: 119.5 kB / 6.647 GB, free: 54.86 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003433/20.36, allocations: 243.2 kB / 6.647 GB, free: 54.76 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/20.36, allocations: 1.601 MB / 6.649 GB, free: 53.32 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.581e-05/20.36, allocations: 22.62 kB / 6.649 GB, free: 53.32 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0572/20.42, allocations: 19.74 MB / 6.668 GB, free: 59.15 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01447/20.43, allocations: 3.08 MB / 6.671 GB, free: 57.5 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007615/20.44, allocations: 171 kB / 6.671 GB, free: 57.39 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01634/20.45, allocations: 0.8353 MB / 6.672 GB, free: 57.24 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002709/20.46, allocations: 457.5 kB / 6.672 GB, free: 57.17 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003346/20.46, allocations: 383 kB / 6.673 GB, free: 57.11 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02581/20.49, allocations: 8.895 MB / 6.681 GB, free: 54.11 MB / 1.214 GB Notification: Performance of sort global known variables: time 7.41e-07/20.49, allocations: 0 / 6.681 GB, free: 54.11 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.04155/20.53, allocations: 7.194 MB / 6.688 GB, free: 52.67 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) * Number of clocked states: 0 () * 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.008398/20.54, allocations: 2.194 MB / 6.691 GB, free: 52.19 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.04647/20.58, allocations: 17.38 MB / 6.708 GB, free: 46.59 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 3.741e-05/20.58, allocations: 12.83 kB / 6.708 GB, free: 46.58 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01504/20.6, allocations: 5.09 MB / 6.713 GB, free: 44.81 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03953/20.64, allocations: 6.887 MB / 6.719 GB, free: 43.45 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07952/20.72, allocations: 34.85 MB / 6.753 GB, free: 14.83 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02183/20.74, allocations: 8.737 MB / 6.762 GB, free: 8.457 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.04033/20.78, allocations: 7.237 MB / 6.769 GB, free: 3.578 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007662/20.79, allocations: 1.095 MB / 6.77 GB, free: 2.629 MB / 1.214 GB Notification: Performance of SimCode: time 1.663e-06/20.79, allocations: 0 / 6.77 GB, free: 2.629 MB / 1.214 GB Notification: Performance of Templates: time 1.296/22.08, allocations: 250 MB / 7.014 GB, free: 158 MB / 1.245 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