Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001244, allocations: 178.5 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009051/0.0009049, allocations: 98.28 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 9.062 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2377, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.617/6.855, allocations: 2.473 GB / 3.373 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/6.855, allocations: 102.1 kB / 3.373 GB, free: 35.87 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 16.56/23.42, allocations: 4.07 GB / 7.443 GB, free: 101.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.836e-06/23.42, allocations: 0 / 7.443 GB, free: 101.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.004744/23.42, allocations: 0.5602 MB / 7.444 GB, free: 101.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 0.09489/23.52, allocations: 22.07 MB / 7.465 GB, free: 93.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/23.52, allocations: 9.375 kB / 7.466 GB, free: 93.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02948/23.55, allocations: 3.7 MB / 7.469 GB, free: 92.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09291/23.64, allocations: 28.72 MB / 7.497 GB, free: 72.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001843/23.64, allocations: 1.242 MB / 7.498 GB, free: 71.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009531/23.65, allocations: 1.669 MB / 7.5 GB, free: 69.42 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08994/23.74, allocations: 25.28 MB / 7.525 GB, free: 43.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001248/23.75, allocations: 71.42 kB / 7.525 GB, free: 43.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008904/23.75, allocations: 0.702 MB / 7.525 GB, free: 42.58 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007976/23.75, allocations: 0.8756 MB / 7.526 GB, free: 41.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06379/23.82, allocations: 22.44 MB / 7.548 GB, free: 19.23 MB / 0.948 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.939/24.76, allocations: 98.5 MB / 7.644 GB, free: 81.74 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03441/24.79, allocations: 16.01 MB / 7.66 GB, free: 81.1 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003/24.8, allocations: 2.029 MB / 7.662 GB, free: 79.12 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02078/24.82, allocations: 8.172 MB / 7.67 GB, free: 78.9 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=1020): time 2.32e-05/24.82, allocations: 0 / 7.67 GB, free: 78.9 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1020): time 0.05982/24.88, allocations: 19.89 MB / 7.689 GB, free: 77.8 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002417/24.88, allocations: 421.6 kB / 7.69 GB, free: 77.41 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05266/24.93, allocations: 17.38 MB / 7.707 GB, free: 76.6 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.004426/24.93, allocations: 222.8 kB / 7.707 GB, free: 76.57 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0231/24.96, allocations: 9.742 MB / 7.717 GB, free: 74.28 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.008532/24.97, allocations: 3.572 MB / 7.72 GB, free: 72.43 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003868/24.97, allocations: 256.2 kB / 7.72 GB, free: 72.43 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.002271/24.97, allocations: 0.8301 MB / 7.721 GB, free: 72.09 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01865/24.99, allocations: 6.802 MB / 7.728 GB, free: 72.06 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02272/25.01, allocations: 10.42 MB / 7.738 GB, free: 67.98 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.023/25.04, allocations: 8.758 MB / 7.746 GB, free: 67.84 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003648/25.04, allocations: 29.78 kB / 7.746 GB, free: 67.84 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.06649/25.1, allocations: 19.28 MB / 7.765 GB, free: 66.71 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.04305/25.15, allocations: 72.01 MB / 7.836 GB, free: 56.55 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007869/25.15, allocations: 108.9 kB / 7.836 GB, free: 56.55 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/25.15, allocations: 186.5 kB / 7.836 GB, free: 56.55 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02156/25.17, allocations: 3.469 MB / 7.839 GB, free: 56.55 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003963/25.17, allocations: 237.1 kB / 7.84 GB, free: 56.55 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02875/25.2, allocations: 2.373 MB / 7.842 GB, free: 55.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004688/25.2, allocations: 0.6158 MB / 7.842 GB, free: 55.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/25.2, allocations: 3.812 kB / 7.842 GB, free: 55.7 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0453/25.25, allocations: 17.86 MB / 7.86 GB, free: 52.16 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003753/25.25, allocations: 106.8 kB / 7.86 GB, free: 52.16 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/25.25, allocations: 184.8 kB / 7.86 GB, free: 52.16 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0201/25.27, allocations: 3.472 MB / 7.864 GB, free: 51.85 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007695/25.27, allocations: 240.8 kB / 7.864 GB, free: 51.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02934/25.3, allocations: 2.119 MB / 7.866 GB, free: 50.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004986/25.3, allocations: 0.6146 MB / 7.866 GB, free: 50.7 MB / 1.026 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1636): * Single equations (assignments): 1636 * 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.02403/25.33, allocations: 7.609 MB / 7.874 GB, free: 47.55 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01079/25.34, allocations: 1.656 MB / 7.876 GB, free: 46.7 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05441/25.39, allocations: 16.21 MB / 7.891 GB, free: 40.73 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001382/25.39, allocations: 99.47 kB / 7.891 GB, free: 40.73 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-05/25.39, allocations: 3.219 kB / 7.891 GB, free: 40.73 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03741/25.43, allocations: 12.74 MB / 7.904 GB, free: 36.28 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1287/25.56, allocations: 38.18 MB / 7.941 GB, free: 14.75 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00014/25.56, allocations: 19.83 kB / 7.941 GB, free: 14.73 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0164/25.58, allocations: 2.456 MB / 7.944 GB, free: 12.78 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002228/25.58, allocations: 55.95 kB / 7.944 GB, free: 12.72 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003883/25.58, allocations: 340.2 kB / 7.944 GB, free: 12.46 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001909/25.58, allocations: 59.72 kB / 7.944 GB, free: 12.41 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.574e-05/25.58, allocations: 29.53 kB / 7.944 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7815/26.36, allocations: 31.17 MB / 7.974 GB, free: 180.3 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02484/26.39, allocations: 4.542 MB / 7.979 GB, free: 179.3 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009814/26.4, allocations: 244.9 kB / 7.979 GB, free: 179.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02282/26.42, allocations: 1.185 MB / 7.98 GB, free: 179.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003219/26.42, allocations: 0.6278 MB / 7.981 GB, free: 179.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003808/26.43, allocations: 0.4965 MB / 7.981 GB, free: 179.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03248/26.46, allocations: 13.99 MB / 7.995 GB, free: 178.8 MB / 1.026 GB Notification: Performance of sort global known variables: time 5.92e-07/26.46, allocations: 0.75 kB / 7.995 GB, free: 178.8 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05254/26.51, allocations: 10.59 MB / 8.005 GB, free: 178 MB / 1.026 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1040): * Single equations (assignments): 1034 * 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.006989/26.52, allocations: 1.597 MB / 8.007 GB, free: 177.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.05477/26.57, allocations: 24.92 MB / 8.031 GB, free: 177.7 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.832e-05/26.57, allocations: 13.98 kB / 8.031 GB, free: 177.7 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01588/26.59, allocations: 6.982 MB / 8.038 GB, free: 177.6 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05468/26.64, allocations: 11.33 MB / 8.049 GB, free: 177.4 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1067/26.75, allocations: 52.51 MB / 8.1 GB, free: 157.9 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03121/26.78, allocations: 13.17 MB / 8.113 GB, free: 156.6 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0526/26.84, allocations: 11.27 MB / 8.124 GB, free: 154.6 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009641/26.84, allocations: 1.596 MB / 8.126 GB, free: 154.6 MB / 1.026 GB Notification: Performance of SimCode: time 1.022e-06/26.84, allocations: 0 / 8.126 GB, free: 154.6 MB / 1.026 GB Notification: Performance of Templates: time 1.244/28.09, allocations: 370.7 MB / 8.488 GB, free: 164.4 MB / 1.026 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches