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.121/2.121, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001111/0.001111, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.408/1.408, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.000919/0.000919, allocations: 91.92 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.446e-05, allocations: 5.641 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2055, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.337/4.543, allocations: 2.198 GB / 3.403 GB, free: 136.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/4.543, allocations: 89.08 kB / 3.404 GB, free: 136.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 14.77/19.31, allocations: 4.221 GB / 7.625 GB, free: 135.3 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.755e-06/19.31, allocations: 3.391 kB / 7.625 GB, free: 135.3 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.00366/19.31, allocations: 0.6 MB / 7.625 GB, free: 135.2 MB / 1.198 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.05673/19.37, allocations: 18.2 MB / 7.643 GB, free: 128.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/19.37, allocations: 7.844 kB / 7.643 GB, free: 128.9 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02499/19.39, allocations: 3.792 MB / 7.647 GB, free: 127.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07749/19.47, allocations: 29.7 MB / 7.676 GB, free: 125.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000967/19.47, allocations: 0.5307 MB / 7.676 GB, free: 125.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006746/19.48, allocations: 0.9784 MB / 7.677 GB, free: 125.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04372/19.52, allocations: 19.44 MB / 7.696 GB, free: 125.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06392/19.59, allocations: 22.4 MB / 7.718 GB, free: 122.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008907/19.59, allocations: 65.09 kB / 7.718 GB, free: 122.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00586/19.59, allocations: 34.72 kB / 7.718 GB, free: 122.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006978/19.59, allocations: 0.8835 MB / 7.719 GB, free: 122.5 MB / 1.198 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.1678/19.76, allocations: 95.86 MB / 7.813 GB, free: 85.94 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02457/19.79, allocations: 14.51 MB / 7.827 GB, free: 85.31 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01323/19.8, allocations: 7.516 MB / 7.834 GB, free: 83.92 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002785/19.8, allocations: 2.035 MB / 7.836 GB, free: 81.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01536/19.82, allocations: 7.543 MB / 7.844 GB, free: 79.32 MB / 1.198 GB Notification: Performance of pre-optimization done (n=1022): time 1.884e-05/19.82, allocations: 5.844 kB / 7.844 GB, free: 79.32 MB / 1.198 GB Notification: Performance of matching and sorting (n=1022): time 0.1328/19.95, allocations: 22.2 MB / 7.865 GB, free: 73.75 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/19.95, allocations: 411.8 kB / 7.866 GB, free: 73.36 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03075/19.98, allocations: 15.06 MB / 7.88 GB, free: 67.98 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002954/19.99, allocations: 39.61 kB / 7.881 GB, free: 67.95 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01042/20, allocations: 9.668 MB / 7.89 GB, free: 60.59 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005698/20, allocations: 3.445 MB / 7.893 GB, free: 57.91 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/20, allocations: 0 / 7.893 GB, free: 57.91 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0009459/20, allocations: 0.8294 MB / 7.894 GB, free: 57.38 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009309/20.01, allocations: 6.036 MB / 7.9 GB, free: 52.23 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01327/20.03, allocations: 9.576 MB / 7.909 GB, free: 42.11 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1172/20.14, allocations: 17.64 MB / 7.927 GB, free: 29.11 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/20.14, allocations: 28.17 kB / 7.927 GB, free: 29.08 MB / 1.198 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.1384/20.28, allocations: 26.57 MB / 7.953 GB, free: 8.332 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.6831/20.97, allocations: 68.85 MB / 8.02 GB, free: 139.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004859/20.97, allocations: 105.2 kB / 8.02 GB, free: 139.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/20.97, allocations: 191.6 kB / 8.02 GB, free: 139.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01763/20.98, allocations: 3.488 MB / 8.023 GB, free: 139.4 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003197/20.99, allocations: 239.5 kB / 8.024 GB, free: 139.4 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01981/21, allocations: 1.946 MB / 8.026 GB, free: 139.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003183/21.01, allocations: 0.6162 MB / 8.026 GB, free: 139.4 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/21.01, allocations: 6.656 kB / 8.026 GB, free: 139.4 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1336/21.14, allocations: 24.99 MB / 8.051 GB, free: 139.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002668/21.14, allocations: 111.3 kB / 8.051 GB, free: 139.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/21.14, allocations: 185.2 kB / 8.051 GB, free: 139.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01697/21.16, allocations: 3.488 MB / 8.054 GB, free: 139.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003118/21.16, allocations: 239.5 kB / 8.055 GB, free: 139.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01966/21.18, allocations: 1.703 MB / 8.056 GB, free: 139.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003614/21.18, allocations: 0.615 MB / 8.057 GB, free: 139.1 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.005888/21.19, allocations: 466.6 kB / 8.057 GB, free: 139 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006845/21.2, allocations: 1.55 MB / 8.059 GB, free: 139 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1385/21.33, allocations: 23.99 MB / 8.082 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.318e-05/21.33, allocations: 101.6 kB / 8.082 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/21.33, allocations: 6.094 kB / 8.082 GB, free: 138.4 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1244/21.46, allocations: 20.85 MB / 8.103 GB, free: 138.1 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.167/21.63, allocations: 44.25 MB / 8.146 GB, free: 136.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-05/21.63, allocations: 14.91 kB / 8.146 GB, free: 136.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01194/21.64, allocations: 2.471 MB / 8.148 GB, free: 136 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/21.64, allocations: 52.84 kB / 8.148 GB, free: 136 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001277/21.64, allocations: 232.8 kB / 8.149 GB, free: 136 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.612e-05/21.64, allocations: 59.86 kB / 8.149 GB, free: 136 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.725e-05/21.64, allocations: 25.8 kB / 8.149 GB, free: 136 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1381/21.78, allocations: 37.13 MB / 8.185 GB, free: 126.5 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01399/21.79, allocations: 4.432 MB / 8.189 GB, free: 125.6 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006235/21.8, allocations: 82.44 kB / 8.189 GB, free: 125.6 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01723/21.81, allocations: 1.016 MB / 8.19 GB, free: 125.5 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002344/21.82, allocations: 0.6295 MB / 8.191 GB, free: 125.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002908/21.82, allocations: 0.5503 MB / 8.191 GB, free: 125.4 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02202/21.84, allocations: 11.58 MB / 8.203 GB, free: 125 MB / 1.229 GB Notification: Performance of sort global known variables: time 5.31e-07/21.84, allocations: 0 / 8.203 GB, free: 125 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04638/21.89, allocations: 10.36 MB / 8.213 GB, free: 123.9 MB / 1.229 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.006473/21.9, allocations: 1.425 MB / 8.214 GB, free: 123.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.039/21.93, allocations: 22.78 MB / 8.237 GB, free: 123.3 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.469e-05/21.93, allocations: 23.52 kB / 8.237 GB, free: 123.3 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01114/21.95, allocations: 6.274 MB / 8.243 GB, free: 123.3 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04728/21.99, allocations: 9.307 MB / 8.252 GB, free: 122.7 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07604/22.07, allocations: 38.75 MB / 8.29 GB, free: 107 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01749/22.09, allocations: 13.34 MB / 8.303 GB, free: 99.58 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.05786/22.14, allocations: 16.42 MB / 8.319 GB, free: 88.7 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007701/22.15, allocations: 1.21 MB / 8.32 GB, free: 87.73 MB / 1.229 GB Notification: Performance of SimCode: time 1.213e-06/22.15, allocations: 0 / 8.32 GB, free: 87.73 MB / 1.229 GB Notification: Performance of Templates: time 1.748/23.9, allocations: 324.2 MB / 8.636 GB, free: 163.3 MB / 1.245 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