Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.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_9_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_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001059/0.001059, allocations: 180.9 kB / 492.3 MB, free: 0.6016 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.521/1.521, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.000876/0.000876, allocations: 101.5 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.306e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3174, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.175/6.492, allocations: 2.198 GB / 3.411 GB, free: 102.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/6.493, allocations: 95.16 kB / 3.411 GB, free: 102.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.66/25.15, allocations: 4.242 GB / 7.653 GB, free: 142.8 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.336e-06/25.15, allocations: 3.781 kB / 7.653 GB, free: 142.8 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004533/25.16, allocations: 0.5977 MB / 7.653 GB, free: 142.7 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.07163/25.23, allocations: 18.21 MB / 7.671 GB, free: 136.4 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/25.23, allocations: 10.5 kB / 7.671 GB, free: 136.4 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03015/25.26, allocations: 3.792 MB / 7.675 GB, free: 135.1 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09211/25.35, allocations: 29.7 MB / 7.704 GB, free: 132.7 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002084/25.35, allocations: 1.248 MB / 7.705 GB, free: 132.6 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01031/25.37, allocations: 1.68 MB / 7.707 GB, free: 132.6 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08832/25.45, allocations: 24.84 MB / 7.731 GB, free: 129.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00174/25.46, allocations: 70.08 kB / 7.731 GB, free: 129.9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01044/25.47, allocations: 0.7235 MB / 7.732 GB, free: 129.9 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001135/25.47, allocations: 0.8819 MB / 7.733 GB, free: 129.9 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06405/25.53, allocations: 21.01 MB / 7.753 GB, free: 129.7 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.2271/25.76, allocations: 99.31 MB / 7.85 GB, free: 85.02 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02987/25.79, allocations: 15.02 MB / 7.865 GB, free: 78.71 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01403/25.8, allocations: 7.844 MB / 7.872 GB, free: 75.76 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00295/25.81, allocations: 2.037 MB / 7.874 GB, free: 73.74 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01783/25.82, allocations: 7.877 MB / 7.882 GB, free: 71.05 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 1.756e-05/25.82, allocations: 4 kB / 7.882 GB, free: 71.05 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.03686/25.86, allocations: 13.24 MB / 7.895 GB, free: 63.14 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/25.86, allocations: 415.8 kB / 7.895 GB, free: 62.66 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04612/25.91, allocations: 17.59 MB / 7.913 GB, free: 47.48 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004523/25.91, allocations: 233.7 kB / 7.913 GB, free: 47.25 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0178/25.93, allocations: 9.868 MB / 7.922 GB, free: 38.3 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00857/25.94, allocations: 3.579 MB / 7.926 GB, free: 35.06 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003593/25.94, allocations: 256 kB / 7.926 GB, free: 34.81 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001936/25.94, allocations: 0.8403 MB / 7.927 GB, free: 34.11 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01439/25.96, allocations: 6.286 MB / 7.933 GB, free: 28.58 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01968/25.98, allocations: 9.901 MB / 7.943 GB, free: 18.08 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02004/26, allocations: 8.272 MB / 7.951 GB, free: 11.14 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001489/26, allocations: 32 kB / 7.951 GB, free: 11.11 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.07348/26.07, allocations: 19.81 MB / 7.97 GB, free: 14.88 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.134/27.21, allocations: 73.2 MB / 8.042 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005751/27.21, allocations: 105.5 kB / 8.042 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/27.21, allocations: 189.8 kB / 8.042 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02134/27.23, allocations: 3.485 MB / 8.045 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006625/27.23, allocations: 239.5 kB / 8.046 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02953/27.26, allocations: 2.386 MB / 8.048 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006405/27.26, allocations: 0.6199 MB / 8.049 GB, free: 105 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/27.26, allocations: 6.312 kB / 8.049 GB, free: 105 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05233/27.32, allocations: 16.81 MB / 8.065 GB, free: 104.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004436/27.32, allocations: 104.2 kB / 8.065 GB, free: 104.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/27.32, allocations: 189.1 kB / 8.065 GB, free: 104.8 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01919/27.34, allocations: 3.483 MB / 8.069 GB, free: 104.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000523/27.34, allocations: 241.7 kB / 8.069 GB, free: 104.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02694/27.36, allocations: 2.141 MB / 8.071 GB, free: 104.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004822/27.37, allocations: 0.6144 MB / 8.072 GB, free: 104.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.009476/27.38, allocations: 0.8951 MB / 8.072 GB, free: 104.7 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01087/27.39, allocations: 1.709 MB / 8.074 GB, free: 104.4 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05193/27.44, allocations: 15.28 MB / 8.089 GB, free: 103.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001429/27.44, allocations: 102.3 kB / 8.089 GB, free: 103.8 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.469e-05/27.44, allocations: 0 / 8.089 GB, free: 103.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03168/27.47, allocations: 11.75 MB / 8.101 GB, free: 103.5 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1286/27.6, allocations: 37.6 MB / 8.137 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.23e-05/27.6, allocations: 16.73 kB / 8.137 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01534/27.62, allocations: 2.47 MB / 8.14 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/27.62, allocations: 56.92 kB / 8.14 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003912/27.62, allocations: 345.8 kB / 8.14 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001935/27.62, allocations: 59.27 kB / 8.14 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-05/27.62, allocations: 27.09 kB / 8.14 GB, free: 101.6 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06578/27.69, allocations: 29.98 MB / 8.17 GB, free: 91.27 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02306/27.71, allocations: 4.663 MB / 8.174 GB, free: 90.28 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0146/27.73, allocations: 248.4 kB / 8.174 GB, free: 90.27 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02683/27.75, allocations: 1.213 MB / 8.176 GB, free: 90.22 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004201/27.76, allocations: 0.6237 MB / 8.176 GB, free: 90.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004286/27.76, allocations: 0.545 MB / 8.177 GB, free: 90.2 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.04323/27.8, allocations: 14.13 MB / 8.19 GB, free: 105.7 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.032e-06/27.8, allocations: 2.094 kB / 8.19 GB, free: 105.7 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.06753/27.87, allocations: 10.69 MB / 8.201 GB, free: 104.7 MB / 1.245 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.008547/27.88, allocations: 1.644 MB / 8.202 GB, free: 104.5 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.05891/27.94, allocations: 23.94 MB / 8.226 GB, free: 104.1 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 5.697e-05/27.94, allocations: 26.27 kB / 8.226 GB, free: 104.1 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01478/27.95, allocations: 6.496 MB / 8.232 GB, free: 103.8 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07265/28.03, allocations: 11.37 MB / 8.243 GB, free: 103.7 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1029/28.13, allocations: 39.91 MB / 8.282 GB, free: 95.23 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02867/28.16, allocations: 13.36 MB / 8.295 GB, free: 91.53 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.0864/28.25, allocations: 18.28 MB / 8.313 GB, free: 86.46 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01083/28.26, allocations: 1.276 MB / 8.314 GB, free: 85.34 MB / 1.245 GB Notification: Performance of SimCode: time 1.924e-06/28.26, allocations: 0 / 8.314 GB, free: 85.34 MB / 1.245 GB Notification: Performance of Templates: time 1.792/30.05, allocations: 402.9 MB / 8.708 GB, free: 156.1 MB / 1.261 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches