Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.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_latest_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_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.38/2.38, allocations: 390.5 MB / 398 MB, free: 10.93 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.001659/0.00166, allocations: 176.9 kB / 491.2 MB, free: 1.625 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.823/1.823, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009608/0.0009611, allocations: 87.95 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.435e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3534, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.411/5.764, allocations: 2.201 GB / 3.414 GB, free: 134.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/5.765, allocations: 93.48 kB / 3.414 GB, free: 134 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.15/23.91, allocations: 4.225 GB / 7.638 GB, free: 146.2 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.104e-06/23.91, allocations: 4.641 kB / 7.638 GB, free: 146.2 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004239/23.92, allocations: 0.5948 MB / 7.639 GB, free: 146.1 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.07633/24, allocations: 18.38 MB / 7.657 GB, free: 139.6 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/24, allocations: 7.844 kB / 7.657 GB, free: 139.6 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03116/24.03, allocations: 4.003 MB / 7.661 GB, free: 138.3 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08542/24.11, allocations: 29.83 MB / 7.69 GB, free: 135.8 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001324/24.11, allocations: 0.5323 MB / 7.691 GB, free: 135.8 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01005/24.12, allocations: 0.9809 MB / 7.692 GB, free: 135.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05108/24.17, allocations: 19.67 MB / 7.711 GB, free: 135.8 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07182/24.25, allocations: 22.46 MB / 7.733 GB, free: 133.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001243/24.25, allocations: 66.36 kB / 7.733 GB, free: 133.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008467/24.26, allocations: 37 kB / 7.733 GB, free: 133.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00086/24.26, allocations: 0.883 MB / 7.734 GB, free: 133.2 MB / 1.214 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.1869/24.44, allocations: 96.08 MB / 7.827 GB, free: 96.92 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02572/24.47, allocations: 14.54 MB / 7.842 GB, free: 96.32 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01384/24.48, allocations: 7.604 MB / 7.849 GB, free: 96.2 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002748/24.49, allocations: 2.031 MB / 7.851 GB, free: 94.21 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01669/24.5, allocations: 7.168 MB / 7.858 GB, free: 93.99 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 1.508e-05/24.5, allocations: 0 / 7.858 GB, free: 93.99 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.1386/24.64, allocations: 22.33 MB / 7.88 GB, free: 92.3 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/24.64, allocations: 415.9 kB / 7.88 GB, free: 91.91 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03294/24.67, allocations: 15.09 MB / 7.895 GB, free: 90.99 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003238/24.68, allocations: 40.7 kB / 7.895 GB, free: 90.96 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0123/24.69, allocations: 9.694 MB / 7.904 GB, free: 83.98 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006123/24.7, allocations: 3.483 MB / 7.908 GB, free: 81.27 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/24.7, allocations: 6.781 kB / 7.908 GB, free: 81.27 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0008843/24.7, allocations: 0.8377 MB / 7.909 GB, free: 80.74 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008921/24.71, allocations: 6.088 MB / 7.915 GB, free: 78.43 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01253/24.72, allocations: 9.647 MB / 7.924 GB, free: 71.69 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3073/25.03, allocations: 32.06 MB / 7.955 GB, free: 66.21 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/25.03, allocations: 34.66 kB / 7.955 GB, free: 66.21 MB / 1.214 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.3388/25.37, allocations: 41.08 MB / 7.996 GB, free: 40.61 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.02917/25.4, allocations: 69.16 MB / 8.063 GB, free: 30.8 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004584/25.4, allocations: 104 kB / 8.063 GB, free: 30.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/25.4, allocations: 188 kB / 8.063 GB, free: 30.51 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02754/25.42, allocations: 3.555 MB / 8.067 GB, free: 27.79 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003873/25.42, allocations: 238.8 kB / 8.067 GB, free: 27.62 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03501/25.46, allocations: 1.979 MB / 8.069 GB, free: 25.96 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004722/25.46, allocations: 0.6276 MB / 8.07 GB, free: 25.41 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/25.46, allocations: 4 kB / 8.07 GB, free: 25.4 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.342/26.81, allocations: 40.56 MB / 8.109 GB, free: 190.9 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004163/26.81, allocations: 103.8 kB / 8.109 GB, free: 190.9 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/26.81, allocations: 188.6 kB / 8.109 GB, free: 190.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02072/26.83, allocations: 3.549 MB / 8.113 GB, free: 190.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006221/26.83, allocations: 242.6 kB / 8.113 GB, free: 190.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02791/26.86, allocations: 1.735 MB / 8.115 GB, free: 190.9 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005199/26.86, allocations: 0.6277 MB / 8.116 GB, free: 190.9 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 () * 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.0079/26.87, allocations: 474.8 kB / 8.116 GB, free: 190.8 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01046/26.88, allocations: 1.562 MB / 8.117 GB, free: 190.8 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1658/27.05, allocations: 24.14 MB / 8.141 GB, free: 190.3 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001182/27.05, allocations: 102.5 kB / 8.141 GB, free: 190.3 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.268e-05/27.05, allocations: 0 / 8.141 GB, free: 190.3 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1929/27.24, allocations: 20.99 MB / 8.162 GB, free: 190 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2076/27.45, allocations: 44.38 MB / 8.205 GB, free: 188.4 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/27.45, allocations: 0 / 8.205 GB, free: 188.4 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0149/27.46, allocations: 2.511 MB / 8.207 GB, free: 188.4 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/27.46, allocations: 35.84 kB / 8.207 GB, free: 188.4 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00309/27.47, allocations: 214 kB / 8.208 GB, free: 188.4 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.682e-05/27.47, allocations: 35.56 kB / 8.208 GB, free: 188.4 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/27.47, allocations: 0 / 8.208 GB, free: 188.4 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1533/27.62, allocations: 31.68 MB / 8.239 GB, free: 186.4 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0187/27.64, allocations: 4.442 MB / 8.243 GB, free: 185.4 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01093/27.65, allocations: 60.5 kB / 8.243 GB, free: 185.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02583/27.67, allocations: 1.182 MB / 8.244 GB, free: 185.4 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003482/27.68, allocations: 0.5861 MB / 8.245 GB, free: 185.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004131/27.68, allocations: 0.5343 MB / 8.245 GB, free: 185.4 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02839/27.71, allocations: 11.59 MB / 8.257 GB, free: 185 MB / 1.276 GB Notification: Performance of sort global known variables: time 6.31e-07/27.71, allocations: 0 / 8.257 GB, free: 185 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.0615/27.77, allocations: 10.41 MB / 8.267 GB, free: 184 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) * 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.00737/27.78, allocations: 1.66 MB / 8.268 GB, free: 183.9 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.05099/27.83, allocations: 23.19 MB / 8.291 GB, free: 183.6 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 3.212e-05/27.83, allocations: 21.33 kB / 8.291 GB, free: 183.6 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.01478/27.85, allocations: 6.432 MB / 8.297 GB, free: 183.6 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05986/27.91, allocations: 9.318 MB / 8.306 GB, free: 183 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1105/28.02, allocations: 38.57 MB / 8.344 GB, free: 174.3 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03086/28.05, allocations: 13.4 MB / 8.357 GB, free: 172.8 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.07344/28.12, allocations: 16.33 MB / 8.373 GB, free: 170 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009598/28.13, allocations: 1.23 MB / 8.374 GB, free: 170 MB / 1.276 GB Notification: Performance of SimCode: time 1.242e-06/28.13, allocations: 0 / 8.374 GB, free: 170 MB / 1.276 GB Notification: Performance of Templates: time 2.558/30.69, allocations: 326.9 MB / 8.694 GB, free: 188.5 MB / 1.276 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches