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.024/2.024, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001082/0.001082, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.399/1.399, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008742/0.0008742, allocations: 103.8 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.413e-05/1.415e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2921, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.688/4.98, allocations: 2.2 GB / 3.406 GB, free: 122.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/4.98, allocations: 92.86 kB / 3.406 GB, free: 122.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.19/10.17, allocations: 1.494 GB / 4.9 GB, free: 157 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.796e-06/10.17, allocations: 0.9375 kB / 4.9 GB, free: 157 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001484/10.17, allocations: 198.6 kB / 4.9 GB, free: 157 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.0255/10.2, allocations: 6.695 MB / 4.907 GB, free: 154.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/10.2, allocations: 9.812 kB / 4.907 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/10.22, allocations: 2.567 MB / 4.909 GB, free: 154.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02378/10.24, allocations: 8.105 MB / 4.917 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/10.24, allocations: 193.8 kB / 4.917 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002755/10.24, allocations: 354.2 kB / 4.918 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01663/10.26, allocations: 6.961 MB / 4.924 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02242/10.28, allocations: 7.2 MB / 4.931 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003409/10.28, allocations: 20.11 kB / 4.931 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002645/10.28, allocations: 8 kB / 4.931 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003052/10.29, allocations: 284.8 kB / 4.932 GB, free: 152.3 MB / 1.167 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.06374/10.35, allocations: 30.53 MB / 4.961 GB, free: 141.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008991/10.36, allocations: 5.049 MB / 4.966 GB, free: 141.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004402/10.36, allocations: 2.59 MB / 4.969 GB, free: 141.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002343/10.36, allocations: 2.41 MB / 4.971 GB, free: 139.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006548/10.37, allocations: 2.849 MB / 4.974 GB, free: 139 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 1.258e-05/10.37, allocations: 0 / 4.974 GB, free: 139 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.1555/10.53, allocations: 17.51 MB / 4.991 GB, free: 138.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/10.53, allocations: 381.6 kB / 4.992 GB, free: 138.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008459/10.54, allocations: 4.521 MB / 4.996 GB, free: 137.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00146/10.54, allocations: 29.3 kB / 4.996 GB, free: 137.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002986/10.54, allocations: 3.186 MB / 4.999 GB, free: 136.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002311/10.54, allocations: 1.375 MB / 5 GB, free: 135.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/10.54, allocations: 0 / 5 GB, free: 135.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002359/10.54, allocations: 488.4 kB / 5.001 GB, free: 135.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/10.55, allocations: 2.055 MB / 5.003 GB, free: 135.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/10.55, allocations: 3.008 MB / 5.006 GB, free: 134.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1494/10.7, allocations: 15.28 MB / 5.021 GB, free: 133.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.882e-05/10.7, allocations: 7.812 kB / 5.021 GB, free: 133.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.1567/10.86, allocations: 18.44 MB / 5.039 GB, free: 132.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001866/10.86, allocations: 10.58 MB / 5.049 GB, free: 121.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/10.86, allocations: 28.88 kB / 5.049 GB, free: 121.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.773e-05/10.86, allocations: 47.17 kB / 5.049 GB, free: 121.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006661/10.86, allocations: 1.298 MB / 5.05 GB, free: 121.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.099e-05/10.86, allocations: 58.78 kB / 5.051 GB, free: 121.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008059/10.87, allocations: 0.6928 MB / 5.051 GB, free: 121 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000983/10.87, allocations: 227.8 kB / 5.051 GB, free: 121 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/10.87, allocations: 6.812 kB / 5.051 GB, free: 121 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1514/11.02, allocations: 17.86 MB / 5.069 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-05/11.02, allocations: 22.81 kB / 5.069 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/11.02, allocations: 46.16 kB / 5.069 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006268/11.03, allocations: 1.295 MB / 5.07 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.744e-05/11.03, allocations: 54.2 kB / 5.07 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007882/11.04, allocations: 0.6389 MB / 5.071 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/11.04, allocations: 228.3 kB / 5.071 GB, free: 119.8 MB / 1.167 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 () * 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.001349/11.04, allocations: 204.9 kB / 5.071 GB, free: 119.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002029/11.04, allocations: 0.565 MB / 5.072 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1521/11.2, allocations: 18.6 MB / 5.09 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/11.2, allocations: 44.22 kB / 5.09 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/11.2, allocations: 1.969 kB / 5.09 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1483/11.34, allocations: 17.13 MB / 5.107 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1665/11.51, allocations: 26.02 MB / 5.132 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/11.51, allocations: 4.844 kB / 5.132 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005569/11.52, allocations: 1.066 MB / 5.133 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-05/11.52, allocations: 24 kB / 5.133 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004745/11.52, allocations: 102.7 kB / 5.133 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.929e-05/11.52, allocations: 31.09 kB / 5.133 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/11.52, allocations: 12.03 kB / 5.133 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1559/11.67, allocations: 22 MB / 5.155 GB, free: 98.69 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004718/11.68, allocations: 1.62 MB / 5.156 GB, free: 97.82 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001772/11.68, allocations: 23.44 kB / 5.156 GB, free: 97.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006263/11.69, allocations: 449.2 kB / 5.157 GB, free: 97.49 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/11.69, allocations: 283.6 kB / 5.157 GB, free: 97.35 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004765/11.69, allocations: 209.5 kB / 5.157 GB, free: 97.23 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005325/11.69, allocations: 3.49 MB / 5.161 GB, free: 95.34 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/11.69, allocations: 3.188 kB / 5.161 GB, free: 95.34 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01356/11.71, allocations: 3.568 MB / 5.164 GB, free: 91.89 MB / 1.167 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) * 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.00379/11.71, allocations: 1.624 MB / 5.166 GB, free: 90.85 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01254/11.72, allocations: 8.104 MB / 5.174 GB, free: 86.41 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/11.72, allocations: 5.75 kB / 5.174 GB, free: 86.41 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00378/11.73, allocations: 2.528 MB / 5.176 GB, free: 84.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01467/11.74, allocations: 2.559 MB / 5.179 GB, free: 82.62 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/11.76, allocations: 11.52 MB / 5.19 GB, free: 72.22 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003697/11.77, allocations: 4.486 MB / 5.194 GB, free: 68.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01697/11.78, allocations: 3.841 MB / 5.198 GB, free: 66.46 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002434/11.79, allocations: 491.8 kB / 5.199 GB, free: 66.06 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/11.79, allocations: 0 / 5.199 GB, free: 66.06 MB / 1.167 GB Notification: Performance of Templates: time 0.9483/12.73, allocations: 116.3 MB / 5.312 GB, free: 167.2 MB / 1.198 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