Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|solCol1.vol.30..T|solCol.heaGai.30..Q_flow|solCol1.heaGai.30..Q_flow|solCol.heaLos.QLos.30.|solCol1.heaLos.QLos.30.|difHeaGai.y|difHeaLos.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.30..T|solCol1.vol.30..T|solCol.heaGai.30..Q_flow|solCol1.heaGai.30..Q_flow|solCol.heaLos.QLos.30.|solCol1.heaLos.QLos.30.|difHeaGai.y|difHeaLos.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.551/2.551, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001406/0.001406, allocations: 189.1 kB / 498.1 MB, free: 5.738 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.677/1.677, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.00108/0.001081, allocations: 106.4 kB / 0.9346 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004399, allocations: 8.812 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4101, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.675/6.085, allocations: 2.202 GB / 3.425 GB, free: 187.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/6.086, allocations: 97.83 kB / 3.425 GB, free: 187.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.85/24.93, allocations: 4.256 GB / 7.681 GB, free: 141.2 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.966e-06/24.93, allocations: 0 / 7.681 GB, free: 141.2 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004831/24.94, allocations: 0.5992 MB / 7.681 GB, free: 141.2 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: 4528 * Number of variables: 4528 Notification: Performance of Generate backend data structure: time 0.09774/25.04, allocations: 22.63 MB / 7.703 GB, free: 137 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/25.04, allocations: 10.22 kB / 7.703 GB, free: 137 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03033/25.07, allocations: 4.013 MB / 7.707 GB, free: 135.7 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09675/25.16, allocations: 29.95 MB / 7.736 GB, free: 133.3 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001878/25.17, allocations: 1.254 MB / 7.738 GB, free: 133.2 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009718/25.18, allocations: 1.685 MB / 7.739 GB, free: 133.2 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09106/25.27, allocations: 25.85 MB / 7.765 GB, free: 130.6 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001696/25.27, allocations: 68.39 kB / 7.765 GB, free: 130.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0102/25.28, allocations: 0.7289 MB / 7.765 GB, free: 130.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/25.28, allocations: 0.8828 MB / 7.766 GB, free: 130.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0743/25.35, allocations: 22.82 MB / 7.788 GB, free: 130.4 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.2133/25.57, allocations: 99.51 MB / 7.886 GB, free: 93.66 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03392/25.6, allocations: 16.06 MB / 7.901 GB, free: 93 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003028/25.61, allocations: 2.036 MB / 7.903 GB, free: 91.02 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02256/25.63, allocations: 8.089 MB / 7.911 GB, free: 90.78 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 2.071e-05/25.63, allocations: 0 / 7.911 GB, free: 90.78 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.06508/25.69, allocations: 20.39 MB / 7.931 GB, free: 89.55 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002461/25.69, allocations: 424.1 kB / 7.932 GB, free: 89.16 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06383/25.76, allocations: 17.75 MB / 7.949 GB, free: 83.91 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004765/25.76, allocations: 239.8 kB / 7.949 GB, free: 83.73 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.02058/25.78, allocations: 9.894 MB / 7.959 GB, free: 76.13 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.008933/25.79, allocations: 3.618 MB / 7.962 GB, free: 73.36 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003822/25.8, allocations: 264.7 kB / 7.963 GB, free: 73.15 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.002289/25.8, allocations: 0.8378 MB / 7.963 GB, free: 72.62 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01971/25.82, allocations: 6.947 MB / 7.97 GB, free: 70.31 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0227/25.84, allocations: 10.58 MB / 7.98 GB, free: 63.64 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02272/25.86, allocations: 8.907 MB / 7.989 GB, free: 60.36 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002662/25.86, allocations: 30.19 kB / 7.989 GB, free: 60.36 MB / 1.214 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.06401/25.93, allocations: 19.65 MB / 8.008 GB, free: 53.61 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0296/25.96, allocations: 73.38 MB / 8.08 GB, free: 40.55 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004172/25.96, allocations: 105.4 kB / 8.08 GB, free: 40.55 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/25.96, allocations: 190.1 kB / 8.08 GB, free: 40.55 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01989/25.98, allocations: 3.551 MB / 8.084 GB, free: 40.2 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005176/25.98, allocations: 238.9 kB / 8.084 GB, free: 40.15 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02757/26.01, allocations: 2.414 MB / 8.086 GB, free: 38.96 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004122/26.01, allocations: 0.6264 MB / 8.087 GB, free: 38.86 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/26.01, allocations: 6.5 kB / 8.087 GB, free: 38.86 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05233/26.06, allocations: 18.18 MB / 8.105 GB, free: 32.17 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005262/26.06, allocations: 106.5 kB / 8.105 GB, free: 32.17 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/26.06, allocations: 190.2 kB / 8.105 GB, free: 32.16 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01966/26.08, allocations: 3.55 MB / 8.109 GB, free: 30.55 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004733/26.08, allocations: 241.3 kB / 8.109 GB, free: 30.34 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0266/26.11, allocations: 2.178 MB / 8.111 GB, free: 28.48 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004896/26.12, allocations: 0.6263 MB / 8.111 GB, free: 27.92 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1659): * Single equations (assignments): 1659 * 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.024/26.14, allocations: 7.741 MB / 8.119 GB, free: 21.62 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009655/26.15, allocations: 1.717 MB / 8.121 GB, free: 19.89 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0587/26.21, allocations: 16.6 MB / 8.137 GB, free: 6.262 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001324/26.21, allocations: 104 kB / 8.137 GB, free: 6.16 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.912e-05/26.21, allocations: 3.953 kB / 8.137 GB, free: 6.156 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088/27.3, allocations: 14.86 MB / 8.152 GB, free: 190 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1447/27.44, allocations: 38.72 MB / 8.189 GB, free: 188.3 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/27.44, allocations: 3.219 kB / 8.189 GB, free: 188.3 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01653/27.46, allocations: 2.507 MB / 8.192 GB, free: 188.3 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/27.46, allocations: 44.59 kB / 8.192 GB, free: 188.3 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004377/27.46, allocations: 335.4 kB / 8.192 GB, free: 188.3 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002177/27.46, allocations: 32.94 kB / 8.192 GB, free: 188.3 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/27.46, allocations: 3.812 kB / 8.192 GB, free: 188.3 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0769/27.54, allocations: 24.7 MB / 8.216 GB, free: 187 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02766/27.57, allocations: 4.615 MB / 8.221 GB, free: 186.7 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01471/27.58, allocations: 235.6 kB / 8.221 GB, free: 186.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0291/27.61, allocations: 1.361 MB / 8.222 GB, free: 186.6 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004784/27.62, allocations: 0.5815 MB / 8.223 GB, free: 186.6 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005724/27.62, allocations: 0.5387 MB / 8.223 GB, free: 186.6 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.0444/27.67, allocations: 13.97 MB / 8.237 GB, free: 186.2 MB / 1.276 GB Notification: Performance of sort global known variables: time 2.735e-06/27.67, allocations: 2.531 kB / 8.237 GB, free: 186.2 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.08299/27.75, allocations: 10.8 MB / 8.248 GB, free: 185.4 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 60 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U,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,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1062): * Single equations (assignments): 1054 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * 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.01548/27.77, allocations: 1.971 MB / 8.25 GB, free: 185.3 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.0778/27.84, allocations: 25.6 MB / 8.275 GB, free: 185 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 4.934e-05/27.84, allocations: 20.45 kB / 8.275 GB, free: 185 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.02391/27.87, allocations: 7.216 MB / 8.282 GB, free: 184.9 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07489/27.94, allocations: 10.95 MB / 8.292 GB, free: 184.8 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1527/28.09, allocations: 53.11 MB / 8.344 GB, free: 166 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04114/28.14, allocations: 13.37 MB / 8.357 GB, free: 164.6 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.06814/28.2, allocations: 11.37 MB / 8.368 GB, free: 162.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01394/28.22, allocations: 1.63 MB / 8.37 GB, free: 162.7 MB / 1.276 GB Notification: Performance of SimCode: time 1.433e-06/28.22, allocations: 0 / 8.37 GB, free: 162.7 MB / 1.276 GB Notification: Performance of Templates: time 1.679/29.9, allocations: 368.4 MB / 8.73 GB, free: 185 MB / 1.276 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches