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.609/2.609, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001577/0.001577, allocations: 181 kB / 498.1 MB, free: 5.676 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.919/1.919, allocations: 223.2 MB / 0.7949 GB, free: 17.86 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.001345/0.001345, allocations: 113.4 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 14.75 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3731, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.239/6.613, allocations: 2.198 GB / 3.421 GB, free: 230.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/6.613, allocations: 100 kB / 3.421 GB, free: 230.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 17.09/23.71, allocations: 4.252 GB / 7.673 GB, free: 18.61 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.166e-06/23.71, allocations: 0 / 7.673 GB, free: 18.61 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00633/23.71, allocations: 0.6009 MB / 7.674 GB, free: 18.01 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 2.041/25.75, allocations: 22.44 MB / 7.696 GB, free: 132.7 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/25.75, allocations: 12.08 kB / 7.696 GB, free: 132.7 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03122/25.78, allocations: 3.799 MB / 7.7 GB, free: 131.5 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1054/25.89, allocations: 29.83 MB / 7.729 GB, free: 129.9 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002084/25.89, allocations: 1.257 MB / 7.73 GB, free: 129.8 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01037/25.9, allocations: 1.671 MB / 7.732 GB, free: 129.8 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09121/25.99, allocations: 25.74 MB / 7.757 GB, free: 127.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001733/26, allocations: 71.56 kB / 7.757 GB, free: 127.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01017/26.01, allocations: 0.7199 MB / 7.758 GB, free: 127.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/26.01, allocations: 0.8841 MB / 7.758 GB, free: 127.1 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06995/26.08, allocations: 22.57 MB / 7.78 GB, free: 127 MB / 1.214 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.2043/26.28, allocations: 99.3 MB / 7.877 GB, free: 90.41 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04782/26.33, allocations: 15.98 MB / 7.893 GB, free: 89.76 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004236/26.33, allocations: 2.031 MB / 7.895 GB, free: 87.78 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03894/26.37, allocations: 8.427 MB / 7.903 GB, free: 87.55 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 3.75e-05/26.37, allocations: 0 / 7.903 GB, free: 87.55 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.07963/26.45, allocations: 20.06 MB / 7.923 GB, free: 86.43 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002196/26.45, allocations: 416 kB / 7.923 GB, free: 86.05 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04133/26.49, allocations: 17.76 MB / 7.941 GB, free: 83.1 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003207/26.5, allocations: 237.5 kB / 7.941 GB, free: 82.92 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01263/26.51, allocations: 9.86 MB / 7.95 GB, free: 75.35 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006044/26.52, allocations: 3.579 MB / 7.954 GB, free: 72.61 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/26.52, allocations: 254.1 kB / 7.954 GB, free: 72.41 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001096/26.52, allocations: 0.8348 MB / 7.955 GB, free: 71.88 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01451/26.53, allocations: 6.846 MB / 7.962 GB, free: 69.61 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01951/26.55, allocations: 10.45 MB / 7.972 GB, free: 63 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/26.57, allocations: 8.792 MB / 7.98 GB, free: 59.77 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/26.57, allocations: 30 kB / 7.981 GB, free: 59.77 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.05093/26.62, allocations: 19.4 MB / 7.999 GB, free: 53.27 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.03121/26.65, allocations: 73.2 MB / 8.071 GB, free: 40.46 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003471/26.65, allocations: 104.6 kB / 8.071 GB, free: 40.46 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/26.65, allocations: 188 kB / 8.071 GB, free: 40.46 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01885/26.67, allocations: 3.489 MB / 8.075 GB, free: 40.36 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003328/26.67, allocations: 235.7 kB / 8.075 GB, free: 40.36 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02533/26.7, allocations: 2.394 MB / 8.077 GB, free: 39.29 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004208/26.7, allocations: 0.6202 MB / 8.078 GB, free: 39.19 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/26.7, allocations: 6.062 kB / 8.078 GB, free: 39.19 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0442/26.75, allocations: 17.93 MB / 8.095 GB, free: 32.75 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003327/26.75, allocations: 104.1 kB / 8.095 GB, free: 32.75 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/26.75, allocations: 195.2 kB / 8.096 GB, free: 32.74 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01833/26.77, allocations: 3.486 MB / 8.099 GB, free: 32.42 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003103/26.77, allocations: 240.5 kB / 8.099 GB, free: 32.38 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02248/26.79, allocations: 2.131 MB / 8.101 GB, free: 31.37 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004017/26.79, allocations: 0.6201 MB / 8.102 GB, free: 31.27 MB / 1.276 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 (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.02009/26.81, allocations: 7.719 MB / 8.109 GB, free: 28.09 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009524/26.82, allocations: 1.709 MB / 8.111 GB, free: 27.21 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05068/26.87, allocations: 16.35 MB / 8.127 GB, free: 17.46 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.018e-05/26.87, allocations: 96 kB / 8.127 GB, free: 17.37 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.357e-05/26.87, allocations: 0 / 8.127 GB, free: 17.37 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03642/26.91, allocations: 12.83 MB / 8.14 GB, free: 6.477 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9563/27.87, allocations: 39.34 MB / 8.178 GB, free: 199.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-05/27.87, allocations: 21.09 kB / 8.178 GB, free: 199.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01699/27.88, allocations: 2.474 MB / 8.181 GB, free: 199.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/27.88, allocations: 55.94 kB / 8.181 GB, free: 199.5 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00388/27.89, allocations: 341 kB / 8.181 GB, free: 199.5 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002253/27.89, allocations: 57.64 kB / 8.181 GB, free: 199.5 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.869e-05/27.89, allocations: 25.09 kB / 8.181 GB, free: 199.5 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07444/27.96, allocations: 31.58 MB / 8.212 GB, free: 190.1 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01829/27.98, allocations: 4.668 MB / 8.216 GB, free: 190 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009901/27.99, allocations: 239.8 kB / 8.217 GB, free: 190 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02341/28.01, allocations: 1.212 MB / 8.218 GB, free: 190 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003405/28.02, allocations: 0.6266 MB / 8.218 GB, free: 190 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003849/28.02, allocations: 0.545 MB / 8.219 GB, free: 190 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03097/28.05, allocations: 14.3 MB / 8.233 GB, free: 189.6 MB / 1.292 GB Notification: Performance of sort global known variables: time 4.01e-07/28.05, allocations: 3.969 kB / 8.233 GB, free: 189.6 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.04771/28.1, allocations: 10.68 MB / 8.243 GB, free: 188.8 MB / 1.292 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 (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.00836/28.11, allocations: 1.676 MB / 8.245 GB, free: 188.7 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.05857/28.17, allocations: 25.04 MB / 8.269 GB, free: 188.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-05/28.17, allocations: 19.92 kB / 8.269 GB, free: 188.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01673/28.18, allocations: 7.03 MB / 8.276 GB, free: 188.4 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0522/28.24, allocations: 11.38 MB / 8.287 GB, free: 188.3 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/28.34, allocations: 53.19 MB / 8.339 GB, free: 168.9 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03014/28.37, allocations: 13.32 MB / 8.352 GB, free: 167.5 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.05004/28.42, allocations: 11.48 MB / 8.364 GB, free: 165.6 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01062/28.43, allocations: 1.628 MB / 8.365 GB, free: 165.6 MB / 1.292 GB Notification: Performance of SimCode: time 8.92e-07/28.43, allocations: 0 / 8.365 GB, free: 165.6 MB / 1.292 GB Notification: Performance of Templates: time 1.442/29.87, allocations: 376.1 MB / 8.733 GB, free: 198.5 MB / 1.292 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