Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.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_latest_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_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.367/2.367, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001424/0.001424, allocations: 176 kB / 0.4902 GB, free: 2.254 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.653/1.653, allocations: 223.2 MB / 0.7992 GB, free: 14.74 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.0009746/0.0009747, allocations: 96.31 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006051/0.0006052, allocations: 10.44 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4462, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.952/7.398, allocations: 2.2 GB / 3.429 GB, free: 189.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/7.398, allocations: 97.64 kB / 3.429 GB, free: 189.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 11.46/18.86, allocations: 2.894 GB / 6.323 GB, free: 13.73 MB / 1.214 GB Notification: Performance of FrontEnd: time 4.338e-06/18.86, allocations: 0 / 6.323 GB, free: 13.73 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00431/18.87, allocations: 403.5 kB / 6.324 GB, free: 13.34 MB / 1.214 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 1.91/20.78, allocations: 14.91 MB / 6.338 GB, free: 135 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/20.78, allocations: 11.47 kB / 6.338 GB, free: 135 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02814/20.8, allocations: 3.107 MB / 6.341 GB, free: 134.2 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07442/20.88, allocations: 18.81 MB / 6.36 GB, free: 133.1 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001933/20.88, allocations: 0.8281 MB / 6.36 GB, free: 133.1 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007841/20.89, allocations: 1.118 MB / 6.362 GB, free: 133.1 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06073/20.95, allocations: 16.85 MB / 6.378 GB, free: 131.4 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001213/20.95, allocations: 44.36 kB / 6.378 GB, free: 131.4 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00714/20.96, allocations: 492.8 kB / 6.379 GB, free: 131.4 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008643/20.96, allocations: 0.5615 MB / 6.379 GB, free: 131.4 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05412/21.01, allocations: 15.23 MB / 6.394 GB, free: 131.3 MB / 1.214 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.1658/21.18, allocations: 63.65 MB / 6.456 GB, free: 109 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02727/21.21, allocations: 10.42 MB / 6.466 GB, free: 108.7 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003322/21.21, allocations: 2.388 MB / 6.469 GB, free: 106.3 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01834/21.23, allocations: 5.787 MB / 6.474 GB, free: 106.1 MB / 1.214 GB Notification: Performance of pre-optimization done (n=706): time 4.292e-05/21.23, allocations: 0 / 6.474 GB, free: 106.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=706): time 0.04901/21.28, allocations: 14.02 MB / 6.488 GB, free: 105.1 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/21.28, allocations: 359 kB / 6.488 GB, free: 104.8 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03188/21.31, allocations: 11.34 MB / 6.499 GB, free: 104.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003076/21.31, allocations: 170.7 kB / 6.5 GB, free: 104.1 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0111/21.32, allocations: 6.325 MB / 6.506 GB, free: 102 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005918/21.33, allocations: 2.459 MB / 6.508 GB, free: 100.5 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002745/21.33, allocations: 170.2 kB / 6.508 GB, free: 100.5 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001745/21.33, allocations: 0.6521 MB / 6.509 GB, free: 100.1 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01386/21.35, allocations: 4.648 MB / 6.513 GB, free: 100.1 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0149/21.36, allocations: 6.921 MB / 6.52 GB, free: 97.57 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/21.38, allocations: 5.848 MB / 6.526 GB, free: 97.48 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/21.38, allocations: 18.16 kB / 6.526 GB, free: 97.48 MB / 1.214 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.04175/21.42, allocations: 13.08 MB / 6.539 GB, free: 96.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.009056/21.43, allocations: 37.48 MB / 6.575 GB, free: 58.59 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002709/21.43, allocations: 64.47 kB / 6.575 GB, free: 58.59 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009385/21.43, allocations: 200.9 kB / 6.576 GB, free: 58.58 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01413/21.44, allocations: 2.367 MB / 6.578 GB, free: 58.58 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/21.45, allocations: 1.699 MB / 6.58 GB, free: 57.29 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02028/21.47, allocations: 1.617 MB / 6.581 GB, free: 56.72 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003368/21.47, allocations: 424.5 kB / 6.581 GB, free: 56.72 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/21.47, allocations: 2.812 kB / 6.581 GB, free: 56.72 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0365/21.51, allocations: 12.11 MB / 6.593 GB, free: 56.53 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003566/21.51, allocations: 65.78 kB / 6.593 GB, free: 56.53 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009678/21.51, allocations: 198.9 kB / 6.594 GB, free: 56.52 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01401/21.52, allocations: 2.365 MB / 6.596 GB, free: 56.52 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/21.53, allocations: 1.695 MB / 6.598 GB, free: 71.24 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01787/21.54, allocations: 1.449 MB / 6.599 GB, free: 70.78 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004291/21.55, allocations: 424.4 kB / 6.599 GB, free: 70.78 MB / 1.229 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.02163/21.57, allocations: 4.884 MB / 6.604 GB, free: 70.55 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007692/21.58, allocations: 1.126 MB / 6.605 GB, free: 69.97 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04413/21.62, allocations: 11.63 MB / 6.617 GB, free: 69.5 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/21.62, allocations: 69.19 kB / 6.617 GB, free: 69.5 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-05/21.62, allocations: 0 / 6.617 GB, free: 69.5 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0293/21.65, allocations: 9.262 MB / 6.626 GB, free: 67.56 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09014/21.74, allocations: 26.46 MB / 6.652 GB, free: 57.15 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.537e-05/21.74, allocations: 11.75 kB / 6.652 GB, free: 57.15 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01123/21.75, allocations: 1.73 MB / 6.653 GB, free: 57.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007139/21.75, allocations: 119.5 kB / 6.653 GB, free: 57.09 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00246/21.76, allocations: 241.7 kB / 6.654 GB, free: 56.98 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/21.76, allocations: 1.608 MB / 6.655 GB, free: 55.55 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/21.76, allocations: 15.47 kB / 6.655 GB, free: 55.55 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04818/21.81, allocations: 19.74 MB / 6.674 GB, free: 45.38 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01496/21.82, allocations: 3.076 MB / 6.677 GB, free: 43.73 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007477/21.83, allocations: 172.9 kB / 6.678 GB, free: 43.63 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01849/21.85, allocations: 0.8354 MB / 6.678 GB, free: 43.48 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003698/21.85, allocations: 457.7 kB / 6.679 GB, free: 43.41 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004835/21.86, allocations: 383.5 kB / 6.679 GB, free: 43.35 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02971/21.89, allocations: 8.899 MB / 6.688 GB, free: 40.34 MB / 1.229 GB Notification: Performance of sort global known variables: time 9.72e-07/21.89, allocations: 0 / 6.688 GB, free: 40.34 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04725/21.93, allocations: 7.188 MB / 6.695 GB, free: 38.91 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) * 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.00917/21.94, allocations: 2.207 MB / 6.697 GB, free: 38.41 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.04922/21.99, allocations: 17.38 MB / 6.714 GB, free: 29.6 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 4.139e-05/21.99, allocations: 11.61 kB / 6.714 GB, free: 29.59 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01365/22.01, allocations: 5.09 MB / 6.719 GB, free: 25.23 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04069/22.05, allocations: 6.888 MB / 6.726 GB, free: 20.36 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.11/22.16, allocations: 36.35 MB / 6.761 GB, free: 7.875 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01294/22.17, allocations: 8.74 MB / 6.77 GB, free: 1.504 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.05548/22.23, allocations: 8.91 MB / 6.779 GB, free: 0 / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01203/22.24, allocations: 1.235 MB / 6.78 GB, free: 15.34 MB / 1.261 GB Notification: Performance of SimCode: time 2.485e-06/22.24, allocations: 0 / 6.78 GB, free: 15.34 MB / 1.261 GB Notification: Performance of Templates: time 1.231/23.47, allocations: 249.6 MB / 7.023 GB, free: 147.9 MB / 1.261 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches