Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.sta_b.T|solCol2.sta_b.T|dT.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.sta_b.T|solCol2.sta_b.T|dT.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001469/0.00147, allocations: 169.2 kB / 498.1 MB, free: 5.742 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.843/1.843, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.0009379/0.0009378, allocations: 94.72 kB / 0.9346 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.000423, allocations: 9.984 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3411, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.202/6.543, allocations: 2.201 GB / 3.424 GB, free: 187.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/6.544, allocations: 98.62 kB / 3.424 GB, free: 187.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.391/11.94, allocations: 1.505 GB / 4.929 GB, free: 26.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.918e-06/11.94, allocations: 0 / 4.929 GB, free: 26.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001114/11.94, allocations: 199.8 kB / 4.929 GB, free: 26.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1566 * Number of variables: 1566 Notification: Performance of Generate backend data structure: time 0.02559/11.96, allocations: 8.008 MB / 4.937 GB, free: 18.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/11.96, allocations: 8.031 kB / 4.937 GB, free: 18.49 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/11.98, allocations: 2.569 MB / 4.939 GB, free: 15.91 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02262/12, allocations: 8.15 MB / 4.947 GB, free: 7.684 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005023/12, allocations: 451.9 kB / 4.948 GB, free: 7.242 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/12.01, allocations: 0.5858 MB / 4.948 GB, free: 6.656 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02353/12.03, allocations: 8.777 MB / 4.957 GB, free: 13.63 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001724/12.03, allocations: 15.88 kB / 4.957 GB, free: 13.61 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/12.03, allocations: 256 kB / 4.957 GB, free: 13.36 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002774/12.03, allocations: 287.6 kB / 4.958 GB, free: 13.08 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02532/12.06, allocations: 8.801 MB / 4.966 GB, free: 4.273 MB / 1.182 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.907/12.96, allocations: 31.7 MB / 4.997 GB, free: 127.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/12.98, allocations: 6.1 MB / 5.003 GB, free: 127.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002554/12.98, allocations: 2.404 MB / 5.005 GB, free: 124.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01055/12.99, allocations: 3.422 MB / 5.009 GB, free: 124.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=424): time 9.268e-06/12.99, allocations: 0 / 5.009 GB, free: 124.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=424): time 0.02533/13.02, allocations: 8.274 MB / 5.017 GB, free: 124.3 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/13.02, allocations: 388.6 kB / 5.017 GB, free: 123.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/13.03, allocations: 5.354 MB / 5.022 GB, free: 123.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001803/13.03, allocations: 103.6 kB / 5.023 GB, free: 123.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.003388/13.03, allocations: 3.155 MB / 5.026 GB, free: 122.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002592/13.04, allocations: 1.429 MB / 5.027 GB, free: 122 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/13.04, allocations: 88.88 kB / 5.027 GB, free: 122 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002622/13.04, allocations: 489.8 kB / 5.028 GB, free: 121.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006254/13.04, allocations: 2.583 MB / 5.03 GB, free: 121.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007644/13.05, allocations: 3.57 MB / 5.034 GB, free: 120.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007885/13.06, allocations: 3.034 MB / 5.037 GB, free: 120.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-05/13.06, allocations: 7.109 kB / 5.037 GB, free: 120.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.02341/13.08, allocations: 6.962 MB / 5.043 GB, free: 120.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002711/13.09, allocations: 10.89 MB / 5.054 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.491e-05/13.09, allocations: 27.52 kB / 5.054 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/13.09, allocations: 53.44 kB / 5.054 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008099/13.09, allocations: 1.297 MB / 5.055 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001228/13.09, allocations: 55.17 kB / 5.055 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009953/13.1, allocations: 0.8488 MB / 5.056 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/13.11, allocations: 235 kB / 5.056 GB, free: 108.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/13.11, allocations: 6.688 kB / 5.056 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02076/13.13, allocations: 6.424 MB / 5.063 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/13.13, allocations: 21.09 kB / 5.063 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/13.13, allocations: 46.62 kB / 5.063 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008871/13.14, allocations: 1.29 MB / 5.064 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000168/13.14, allocations: 63.33 kB / 5.064 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/13.15, allocations: 0.7926 MB / 5.065 GB, free: 108.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00194/13.15, allocations: 224.8 kB / 5.065 GB, free: 108.6 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (565): * Single equations (assignments): 565 * 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.009068/13.16, allocations: 2.129 MB / 5.067 GB, free: 108.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004361/13.16, allocations: 0.6084 MB / 5.068 GB, free: 108.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02783/13.19, allocations: 7.11 MB / 5.075 GB, free: 107.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-05/13.19, allocations: 43.22 kB / 5.075 GB, free: 107.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.832e-05/13.19, allocations: 0 / 5.075 GB, free: 107.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0178/13.21, allocations: 5.501 MB / 5.08 GB, free: 107.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04967/13.26, allocations: 15.28 MB / 5.095 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.336e-05/13.26, allocations: 11.23 kB / 5.095 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007614/13.27, allocations: 1.064 MB / 5.096 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.859e-05/13.27, allocations: 21.62 kB / 5.096 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00163/13.27, allocations: 151 kB / 5.096 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-05/13.27, allocations: 23.11 kB / 5.096 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/13.27, allocations: 12.97 kB / 5.096 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03116/13.3, allocations: 11.15 MB / 5.107 GB, free: 104.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007906/13.31, allocations: 1.709 MB / 5.109 GB, free: 103.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003827/13.31, allocations: 92.48 kB / 5.109 GB, free: 103.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01009/13.32, allocations: 0.5302 MB / 5.109 GB, free: 103.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/13.32, allocations: 280.1 kB / 5.11 GB, free: 103.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001656/13.32, allocations: 210.5 kB / 5.11 GB, free: 103.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0123/13.34, allocations: 4.396 MB / 5.114 GB, free: 103.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 7.82e-07/13.34, allocations: 0 / 5.114 GB, free: 103.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.02112/13.36, allocations: 3.687 MB / 5.118 GB, free: 103.1 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].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 (451): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005962/13.36, allocations: 1.747 MB / 5.12 GB, free: 102.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.02818/13.39, allocations: 9.62 MB / 5.129 GB, free: 102.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-05/13.39, allocations: 5.375 kB / 5.129 GB, free: 102.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.008959/13.4, allocations: 3.065 MB / 5.132 GB, free: 102.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01775/13.42, allocations: 3.162 MB / 5.135 GB, free: 102.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0345/13.45, allocations: 17.13 MB / 5.152 GB, free: 96.12 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004614/13.46, allocations: 4.493 MB / 5.156 GB, free: 95.16 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01424/13.47, allocations: 2.951 MB / 5.159 GB, free: 94.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/13.47, allocations: 0.6183 MB / 5.16 GB, free: 94.68 MB / 1.182 GB Notification: Performance of SimCode: time 1.823e-06/13.47, allocations: 0 / 5.16 GB, free: 94.68 MB / 1.182 GB Notification: Performance of Templates: time 0.2249/13.7, allocations: 132.2 MB / 5.289 GB, free: 79.72 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches