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.48/1.48, allocations: 249.5 MB / 257 MB, free: 6.879 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.001031/0.001031, allocations: 179.3 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.000937/0.000937, allocations: 90.53 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.135e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.244, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.49/7.734, allocations: 2.473 GB / 3.358 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/7.734, allocations: 96.11 kB / 3.358 GB, free: 215 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 16.3/24.03, allocations: 4.039 GB / 7.397 GB, free: 88.66 MB / 0.9324 GB Notification: Performance of FrontEnd: time 2.043e-06/24.03, allocations: 0 / 7.397 GB, free: 88.66 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.00522/24.04, allocations: 0.5667 MB / 7.398 GB, free: 88.57 MB / 0.9324 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.08645/24.13, allocations: 17.96 MB / 7.416 GB, free: 82.29 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/24.13, allocations: 7 kB / 7.416 GB, free: 82.29 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03042/24.16, allocations: 3.682 MB / 7.419 GB, free: 81.05 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09459/24.25, allocations: 28.61 MB / 7.447 GB, free: 78.63 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001875/24.25, allocations: 0.5285 MB / 7.448 GB, free: 78.63 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01106/24.26, allocations: 0.9712 MB / 7.449 GB, free: 78.62 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0582/24.32, allocations: 19.35 MB / 7.467 GB, free: 78.54 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08165/24.4, allocations: 22 MB / 7.489 GB, free: 75.93 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001525/24.41, allocations: 66.16 kB / 7.489 GB, free: 75.92 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009361/24.42, allocations: 32.97 kB / 7.489 GB, free: 75.92 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008465/24.42, allocations: 0.8817 MB / 7.49 GB, free: 75.88 MB / 0.9324 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.2313/24.65, allocations: 95.12 MB / 7.583 GB, free: 39.2 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03629/24.68, allocations: 14.54 MB / 7.597 GB, free: 38.58 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01967/24.7, allocations: 7.503 MB / 7.604 GB, free: 38.47 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004083/24.71, allocations: 2.023 MB / 7.606 GB, free: 36.49 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02711/24.74, allocations: 7.337 MB / 7.613 GB, free: 36.27 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=1020): time 8.036e-05/24.74, allocations: 0 / 7.613 GB, free: 36.27 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1020): time 0.156/24.89, allocations: 21.98 MB / 7.635 GB, free: 31.7 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002584/24.89, allocations: 416.6 kB / 7.635 GB, free: 31.31 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04967/24.94, allocations: 14.78 MB / 7.65 GB, free: 23.11 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.004751/24.95, allocations: 37.7 kB / 7.65 GB, free: 23.07 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.01986/24.97, allocations: 9.605 MB / 7.659 GB, free: 14.36 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.009152/24.98, allocations: 3.436 MB / 7.663 GB, free: 11.19 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004267/24.98, allocations: 0 / 7.663 GB, free: 11.19 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.002315/24.98, allocations: 0.8253 MB / 7.663 GB, free: 10.5 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0146/25, allocations: 6.021 MB / 7.669 GB, free: 5.238 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01967/25.02, allocations: 9.571 MB / 7.679 GB, free: 11.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.132/25.15, allocations: 17.55 MB / 7.696 GB, free: 14.45 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003744/25.15, allocations: 28 kB / 7.696 GB, free: 14.43 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 1.079/26.23, allocations: 26.57 MB / 7.722 GB, free: 114.2 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.02026/26.25, allocations: 67.9 MB / 7.788 GB, free: 59.99 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000642/26.25, allocations: 107.9 kB / 7.788 GB, free: 59.99 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/26.25, allocations: 187.1 kB / 7.788 GB, free: 59.99 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02093/26.27, allocations: 3.471 MB / 7.792 GB, free: 59.99 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000552/26.27, allocations: 238.9 kB / 7.792 GB, free: 59.99 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02865/26.3, allocations: 1.933 MB / 7.794 GB, free: 59.99 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005966/26.31, allocations: 0.6174 MB / 7.794 GB, free: 59.99 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/26.31, allocations: 6.375 kB / 7.794 GB, free: 59.99 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1581/26.46, allocations: 24.81 MB / 7.819 GB, free: 59.72 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005349/26.46, allocations: 106.2 kB / 7.819 GB, free: 59.72 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/26.46, allocations: 190.3 kB / 7.819 GB, free: 59.72 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01925/26.48, allocations: 3.47 MB / 7.822 GB, free: 59.72 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004396/26.48, allocations: 242.2 kB / 7.823 GB, free: 59.72 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0277/26.51, allocations: 1.685 MB / 7.824 GB, free: 59.72 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006145/26.52, allocations: 0.6176 MB / 7.825 GB, free: 59.72 MB / 0.9793 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.01146/26.53, allocations: 465.3 kB / 7.825 GB, free: 59.61 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01395/26.54, allocations: 1.51 MB / 7.827 GB, free: 59.47 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1613/26.7, allocations: 23.75 MB / 7.85 GB, free: 58.93 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001542/26.71, allocations: 97.41 kB / 7.85 GB, free: 58.93 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-05/26.71, allocations: 0 / 7.85 GB, free: 58.93 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1409/26.85, allocations: 20.67 MB / 7.87 GB, free: 58.1 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2286/27.07, allocations: 43.69 MB / 7.913 GB, free: 55.82 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.123e-05/27.07, allocations: 18.12 kB / 7.913 GB, free: 55.82 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0134/27.09, allocations: 2.456 MB / 7.915 GB, free: 55.78 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/27.09, allocations: 53.09 kB / 7.915 GB, free: 55.78 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002024/27.09, allocations: 227.3 kB / 7.915 GB, free: 55.77 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.109e-05/27.09, allocations: 65.05 kB / 7.916 GB, free: 55.77 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.996e-05/27.09, allocations: 22.5 kB / 7.916 GB, free: 55.77 MB / 0.9793 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1627/27.25, allocations: 36.72 MB / 7.951 GB, free: 62.59 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0205/27.27, allocations: 4.321 MB / 7.956 GB, free: 61.7 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01153/27.29, allocations: 76.48 kB / 7.956 GB, free: 61.7 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02604/27.31, allocations: 1.007 MB / 7.957 GB, free: 61.56 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004699/27.32, allocations: 0.6241 MB / 7.957 GB, free: 61.53 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005503/27.32, allocations: 0.4953 MB / 7.958 GB, free: 61.53 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.04143/27.36, allocations: 11.34 MB / 7.969 GB, free: 61.13 MB / 0.9949 GB Notification: Performance of sort global known variables: time 3.336e-06/27.36, allocations: 4 kB / 7.969 GB, free: 61.13 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.06732/27.43, allocations: 10.26 MB / 7.979 GB, free: 59.82 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.009518/27.44, allocations: 1.362 MB / 7.98 GB, free: 59.55 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.06544/27.51, allocations: 22.71 MB / 8.002 GB, free: 59.15 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 4.494e-05/27.51, allocations: 15.33 kB / 8.002 GB, free: 59.14 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.01661/27.52, allocations: 6.255 MB / 8.009 GB, free: 57.58 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06109/27.58, allocations: 9.275 MB / 8.018 GB, free: 52.19 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1219/27.71, allocations: 38.27 MB / 8.055 GB, free: 23.68 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03607/27.74, allocations: 13.18 MB / 8.068 GB, free: 14.45 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.08873/27.83, allocations: 16.17 MB / 8.084 GB, free: 3.594 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01314/27.84, allocations: 1.187 MB / 8.085 GB, free: 2.562 MB / 0.9949 GB Notification: Performance of SimCode: time 1.783e-06/27.84, allocations: 0 / 8.085 GB, free: 2.562 MB / 0.9949 GB Notification: Performance of Templates: time 1.438/29.28, allocations: 320.1 MB / 8.397 GB, free: 15.64 MB / 0.9949 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