Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,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.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,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.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 390.5 MB / 398 MB, free: 10.91 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.001435/0.001435, allocations: 192.2 kB / 491.2 MB, free: 1.539 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.64/1.64, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009265/0.0009262, allocations: 83.97 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.327e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3571, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.643/7, allocations: 2.198 GB / 3.41 GB, free: 77.57 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004031/7.001, allocations: 91.39 kB / 3.41 GB, free: 77.53 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.65/23.65, allocations: 4.221 GB / 7.631 GB, free: 148.1 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.878e-06/23.65, allocations: 2.719 kB / 7.631 GB, free: 148.1 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.006404/23.65, allocations: 0.5953 MB / 7.632 GB, free: 147.9 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: 4512 * Number of variables: 4512 Notification: Performance of Generate backend data structure: time 0.07787/23.73, allocations: 18.21 MB / 7.65 GB, free: 141.6 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/23.73, allocations: 6.906 kB / 7.65 GB, free: 141.6 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03172/23.76, allocations: 3.791 MB / 7.653 GB, free: 140.3 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09253/23.86, allocations: 29.7 MB / 7.682 GB, free: 137.8 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001568/23.86, allocations: 0.5299 MB / 7.683 GB, free: 137.8 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01083/23.87, allocations: 0.9779 MB / 7.684 GB, free: 137.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06349/23.93, allocations: 19.44 MB / 7.703 GB, free: 137.7 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08792/24.02, allocations: 22.39 MB / 7.725 GB, free: 135.1 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001712/24.02, allocations: 69.75 kB / 7.725 GB, free: 135.1 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01002/24.03, allocations: 35.84 kB / 7.725 GB, free: 135.1 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001158/24.03, allocations: 0.8806 MB / 7.726 GB, free: 135.1 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.2239/24.26, allocations: 95.86 MB / 7.819 GB, free: 92.85 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03094/24.29, allocations: 14.51 MB / 7.834 GB, free: 86.62 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01618/24.31, allocations: 7.517 MB / 7.841 GB, free: 83.8 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003285/24.31, allocations: 2.025 MB / 7.843 GB, free: 81.78 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02016/24.33, allocations: 7.544 MB / 7.85 GB, free: 79.21 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 3.096e-05/24.33, allocations: 0 / 7.85 GB, free: 79.21 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.1474/24.48, allocations: 22.21 MB / 7.872 GB, free: 65.75 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002122/24.48, allocations: 415.8 kB / 7.872 GB, free: 65.28 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04223/24.52, allocations: 15.05 MB / 7.887 GB, free: 52.36 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004422/24.52, allocations: 45.7 kB / 7.887 GB, free: 52.31 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01659/24.54, allocations: 9.674 MB / 7.897 GB, free: 43.55 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.009134/24.55, allocations: 3.448 MB / 7.9 GB, free: 40.37 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004994/24.55, allocations: 0 / 7.9 GB, free: 40.37 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.002787/24.56, allocations: 0.8317 MB / 7.901 GB, free: 39.68 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0199/24.58, allocations: 6.032 MB / 7.907 GB, free: 34.4 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0184/24.6, allocations: 9.573 MB / 7.916 GB, free: 24.23 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.138/24.73, allocations: 17.64 MB / 7.933 GB, free: 11.14 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002191/24.73, allocations: 32 kB / 7.933 GB, free: 11.11 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.1667/24.9, allocations: 26.56 MB / 7.959 GB, free: 3.055 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.042/25.94, allocations: 68.86 MB / 8.026 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008388/25.94, allocations: 106.3 kB / 8.026 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/25.94, allocations: 189.5 kB / 8.027 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02367/25.97, allocations: 3.483 MB / 8.03 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006646/25.97, allocations: 240.8 kB / 8.03 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03439/26, allocations: 1.957 MB / 8.032 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008233/26.01, allocations: 0.619 MB / 8.033 GB, free: 106.1 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/26.01, allocations: 3.938 kB / 8.033 GB, free: 106.1 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1766/26.19, allocations: 24.99 MB / 8.057 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009552/26.19, allocations: 108.1 kB / 8.057 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004991/26.19, allocations: 187.5 kB / 8.057 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02133/26.21, allocations: 3.488 MB / 8.061 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005788/26.21, allocations: 246.2 kB / 8.061 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02706/26.24, allocations: 1.691 MB / 8.063 GB, free: 105.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00573/26.24, allocations: 0.6138 MB / 8.063 GB, free: 105.8 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * 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 (1638): * Single equations (assignments): 1638 * 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.01227/26.26, allocations: 470.1 kB / 8.064 GB, free: 105.7 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01576/26.27, allocations: 1.56 MB / 8.065 GB, free: 105.5 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1586/26.43, allocations: 23.98 MB / 8.089 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001522/26.43, allocations: 99.41 kB / 8.089 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.438e-05/26.43, allocations: 0 / 8.089 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1364/26.57, allocations: 20.86 MB / 8.109 GB, free: 104.6 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2381/26.81, allocations: 44.25 MB / 8.152 GB, free: 102.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001486/26.81, allocations: 20.44 kB / 8.152 GB, free: 102.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01688/26.82, allocations: 2.478 MB / 8.155 GB, free: 102.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/26.82, allocations: 53.09 kB / 8.155 GB, free: 102.3 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003901/26.83, allocations: 225.7 kB / 8.155 GB, free: 102.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000182/26.83, allocations: 62.34 kB / 8.155 GB, free: 102.3 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-05/26.83, allocations: 23.12 kB / 8.155 GB, free: 102.3 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1728/27, allocations: 37.12 MB / 8.191 GB, free: 92.84 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02286/27.02, allocations: 4.439 MB / 8.196 GB, free: 91.94 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01254/27.04, allocations: 79.41 kB / 8.196 GB, free: 91.94 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02823/27.06, allocations: 1.02 MB / 8.197 GB, free: 91.79 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004677/27.07, allocations: 0.6231 MB / 8.197 GB, free: 91.77 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005495/27.07, allocations: 0.5497 MB / 8.198 GB, free: 91.77 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03823/27.11, allocations: 11.57 MB / 8.209 GB, free: 91.33 MB / 1.229 GB Notification: Performance of sort global known variables: time 3.957e-06/27.11, allocations: 0 / 8.209 GB, free: 91.33 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.08258/27.2, allocations: 10.37 MB / 8.219 GB, free: 90.18 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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: 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 (1043): * Single equations (assignments): 1037 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.01253/27.21, allocations: 1.422 MB / 8.221 GB, free: 89.9 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.07827/27.29, allocations: 22.78 MB / 8.243 GB, free: 89.62 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 6.135e-05/27.29, allocations: 19.95 kB / 8.243 GB, free: 89.61 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01829/27.3, allocations: 6.272 MB / 8.249 GB, free: 89.43 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06551/27.37, allocations: 9.328 MB / 8.258 GB, free: 88.86 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.126/27.5, allocations: 38.75 MB / 8.296 GB, free: 73.46 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03536/27.53, allocations: 13.34 MB / 8.309 GB, free: 66.08 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0815/27.61, allocations: 16.42 MB / 8.325 GB, free: 55.15 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01025/27.62, allocations: 1.206 MB / 8.326 GB, free: 54.17 MB / 1.229 GB Notification: Performance of SimCode: time 1.924e-06/27.62, allocations: 0 / 8.326 GB, free: 54.17 MB / 1.229 GB Notification: Performance of Templates: time 2.731/30.36, allocations: 324.3 MB / 8.643 GB, free: 147.2 MB / 1.261 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches