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.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 178.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.0008724/0.0008724, allocations: 78.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.16e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2366, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.231/7.467, allocations: 2.473 GB / 3.365 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/7.468, allocations: 87.95 kB / 3.365 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 16.53/24, allocations: 4.06 GB / 7.425 GB, free: 93.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.575e-06/24, allocations: 1.75 kB / 7.425 GB, free: 93.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.006654/24, allocations: 0.5631 MB / 7.425 GB, free: 93.26 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.09033/24.09, allocations: 17.97 MB / 7.443 GB, free: 86.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/24.09, allocations: 14.53 kB / 7.443 GB, free: 86.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0297/24.12, allocations: 3.68 MB / 7.446 GB, free: 85.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08733/24.21, allocations: 28.61 MB / 7.474 GB, free: 83.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001666/24.21, allocations: 1.24 MB / 7.475 GB, free: 83.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009515/24.22, allocations: 1.665 MB / 7.477 GB, free: 83.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08819/24.31, allocations: 24.41 MB / 7.501 GB, free: 80.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002061/24.31, allocations: 63.05 kB / 7.501 GB, free: 80.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01039/24.32, allocations: 0.7056 MB / 7.502 GB, free: 80.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001218/24.32, allocations: 0.8779 MB / 7.502 GB, free: 80.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06834/24.39, allocations: 20.92 MB / 7.523 GB, free: 80.54 MB / 0.948 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.2414/24.63, allocations: 98.51 MB / 7.619 GB, free: 43.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03221/24.67, allocations: 15.05 MB / 7.634 GB, free: 42.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01785/24.68, allocations: 7.825 MB / 7.641 GB, free: 41.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003761/24.69, allocations: 2.026 MB / 7.643 GB, free: 39.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02714/24.71, allocations: 7.662 MB / 7.651 GB, free: 37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1020): time 2.592e-05/24.71, allocations: 3.969 kB / 7.651 GB, free: 37 MB / 0.948 GB Notification: Performance of matching and sorting (n=1020): time 0.04132/24.76, allocations: 13.15 MB / 7.664 GB, free: 32.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002991/24.76, allocations: 416.5 kB / 7.664 GB, free: 31.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05399/24.81, allocations: 17.22 MB / 7.681 GB, free: 25.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004157/24.81, allocations: 223 kB / 7.681 GB, free: 25.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01778/24.83, allocations: 9.748 MB / 7.691 GB, free: 18.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007777/24.84, allocations: 3.573 MB / 7.694 GB, free: 15.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003393/24.84, allocations: 257 kB / 7.694 GB, free: 15.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.002006/24.85, allocations: 0.8287 MB / 7.695 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01363/24.86, allocations: 6.267 MB / 7.701 GB, free: 12.58 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01841/24.88, allocations: 9.886 MB / 7.711 GB, free: 4.664 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02829/24.91, allocations: 8.482 MB / 7.719 GB, free: 14.38 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002104/24.91, allocations: 32 kB / 7.719 GB, free: 14.35 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.06446/24.97, allocations: 18.32 MB / 7.737 GB, free: 14.87 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.9332/25.9, allocations: 72.01 MB / 7.808 GB, free: 71.14 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004149/25.9, allocations: 107 kB / 7.808 GB, free: 71.14 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/25.9, allocations: 186.3 kB / 7.808 GB, free: 71.14 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02131/25.93, allocations: 3.472 MB / 7.811 GB, free: 71.14 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005835/25.93, allocations: 246.2 kB / 7.811 GB, free: 71.13 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03063/25.96, allocations: 2.371 MB / 7.814 GB, free: 71.13 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0056/25.96, allocations: 0.6164 MB / 7.814 GB, free: 71.13 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/25.96, allocations: 3.875 kB / 7.814 GB, free: 71.13 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05728/26.02, allocations: 16.77 MB / 7.831 GB, free: 70.86 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001014/26.02, allocations: 106.8 kB / 7.831 GB, free: 70.86 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000861/26.02, allocations: 187.1 kB / 7.831 GB, free: 70.86 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02239/26.04, allocations: 3.473 MB / 7.834 GB, free: 70.86 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000863/26.05, allocations: 237.8 kB / 7.835 GB, free: 70.86 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0346/26.08, allocations: 2.114 MB / 7.837 GB, free: 70.86 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006225/26.09, allocations: 0.6172 MB / 7.837 GB, free: 70.86 MB / 0.9949 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 (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.0111/26.1, allocations: 0.8714 MB / 7.838 GB, free: 70.76 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01252/26.11, allocations: 1.665 MB / 7.84 GB, free: 70.51 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0564/26.17, allocations: 15.19 MB / 7.855 GB, free: 69.94 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002187/26.17, allocations: 104.3 kB / 7.855 GB, free: 69.94 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001156/26.17, allocations: 4.531 kB / 7.855 GB, free: 69.94 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03295/26.2, allocations: 11.71 MB / 7.866 GB, free: 69.6 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1347/26.33, allocations: 37.16 MB / 7.902 GB, free: 67.71 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001396/26.33, allocations: 13.78 kB / 7.902 GB, free: 67.71 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0162/26.35, allocations: 2.461 MB / 7.905 GB, free: 67.71 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/26.35, allocations: 49.41 kB / 7.905 GB, free: 67.71 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004414/26.36, allocations: 345.3 kB / 7.905 GB, free: 67.71 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002391/26.36, allocations: 63.34 kB / 7.905 GB, free: 67.71 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.078e-05/26.36, allocations: 26.17 kB / 7.905 GB, free: 67.71 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06718/26.42, allocations: 29.66 MB / 7.934 GB, free: 57.43 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0223/26.45, allocations: 4.538 MB / 7.939 GB, free: 56.46 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01387/26.46, allocations: 238 kB / 7.939 GB, free: 56.46 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02746/26.49, allocations: 1.195 MB / 7.94 GB, free: 56.4 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004865/26.49, allocations: 0.6258 MB / 7.941 GB, free: 56.38 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005281/26.5, allocations: 0.4949 MB / 7.941 GB, free: 56.38 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.04609/26.54, allocations: 13.83 MB / 7.955 GB, free: 55.88 MB / 0.9949 GB Notification: Performance of sort global known variables: time 9.82e-07/26.54, allocations: 0 / 7.955 GB, free: 55.88 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.06686/26.61, allocations: 10.59 MB / 7.965 GB, free: 54.74 MB / 0.9949 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 (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.009399/26.62, allocations: 1.558 MB / 7.967 GB, free: 54.52 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.05968/26.68, allocations: 23.87 MB / 7.99 GB, free: 54.13 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-05/26.68, allocations: 14.11 kB / 7.99 GB, free: 54.12 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.0198/26.7, allocations: 6.486 MB / 7.996 GB, free: 53.87 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07031/26.77, allocations: 11.32 MB / 8.007 GB, free: 53.57 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1195/26.89, allocations: 39.41 MB / 8.046 GB, free: 42.53 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04351/26.93, allocations: 13.19 MB / 8.059 GB, free: 48.95 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.08824/27.02, allocations: 17.8 MB / 8.076 GB, free: 37.08 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01052/27.03, allocations: 1.253 MB / 8.077 GB, free: 35.98 MB / 1.011 GB Notification: Performance of SimCode: time 2.094e-06/27.03, allocations: 3.938 kB / 8.077 GB, free: 35.98 MB / 1.011 GB Notification: Performance of Templates: time 1.527/28.56, allocations: 396.6 MB / 8.465 GB, free: 14.33 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