Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.335/2.335, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001597/0.001597, allocations: 182.4 kB / 0.4902 GB, free: 2.23 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.642/1.642, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.00111/0.00111, allocations: 99.58 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004863, allocations: 8.156 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.373, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.924/7.297, allocations: 2.198 GB / 3.428 GB, free: 191.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/7.297, allocations: 99.03 kB / 3.428 GB, free: 191.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.35/25.65, allocations: 4.252 GB / 7.68 GB, free: 131.9 MB / 1.214 GB Notification: Performance of FrontEnd: time 5.921e-06/25.65, allocations: 1.125 kB / 7.68 GB, free: 131.9 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.009686/25.66, allocations: 0.5989 MB / 7.681 GB, free: 131.8 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 0.1104/25.77, allocations: 22.45 MB / 7.703 GB, free: 124.2 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/25.77, allocations: 7.688 kB / 7.703 GB, free: 124.2 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0296/25.8, allocations: 3.804 MB / 7.706 GB, free: 123 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0944/25.89, allocations: 29.82 MB / 7.735 GB, free: 120.6 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002149/25.9, allocations: 1.244 MB / 7.737 GB, free: 120.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01135/25.91, allocations: 1.682 MB / 7.738 GB, free: 120.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09864/26.01, allocations: 25.74 MB / 7.763 GB, free: 117.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001741/26.01, allocations: 71.56 kB / 7.763 GB, free: 117.9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01038/26.02, allocations: 0.7261 MB / 7.764 GB, free: 117.9 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001264/26.02, allocations: 0.8841 MB / 7.765 GB, free: 117.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07469/26.09, allocations: 22.58 MB / 7.787 GB, free: 117.7 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.22/26.31, allocations: 99.31 MB / 7.884 GB, free: 80.98 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03861/26.35, allocations: 15.97 MB / 7.9 GB, free: 80.23 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003336/26.36, allocations: 2.023 MB / 7.902 GB, free: 78.25 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02559/26.38, allocations: 8.431 MB / 7.91 GB, free: 77.99 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 3.381e-05/26.38, allocations: 0 / 7.91 GB, free: 77.99 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.0706/26.45, allocations: 20.06 MB / 7.929 GB, free: 76.79 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002321/26.45, allocations: 423.2 kB / 7.93 GB, free: 76.4 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05005/26.5, allocations: 17.76 MB / 7.947 GB, free: 75.51 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005153/26.51, allocations: 234.5 kB / 7.947 GB, free: 75.48 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0221/26.53, allocations: 9.857 MB / 7.957 GB, free: 67.94 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.01071/26.54, allocations: 3.575 MB / 7.96 GB, free: 65.2 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004369/26.55, allocations: 254.9 kB / 7.961 GB, free: 65 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.002147/26.55, allocations: 0.8306 MB / 7.962 GB, free: 64.47 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02933/26.58, allocations: 6.845 MB / 7.968 GB, free: 62.18 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02835/26.61, allocations: 10.46 MB / 7.978 GB, free: 55.44 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01987/26.63, allocations: 8.794 MB / 7.987 GB, free: 52.05 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/26.63, allocations: 29.59 kB / 7.987 GB, free: 52.05 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.05722/26.68, allocations: 19.4 MB / 8.006 GB, free: 45.42 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.02944/26.71, allocations: 73.2 MB / 8.077 GB, free: 32.23 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004408/26.71, allocations: 106.2 kB / 8.078 GB, free: 32.23 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/26.71, allocations: 186 kB / 8.078 GB, free: 32.23 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0211/26.73, allocations: 3.486 MB / 8.081 GB, free: 32.08 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006484/26.74, allocations: 245 kB / 8.081 GB, free: 32.08 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03007/26.77, allocations: 2.388 MB / 8.084 GB, free: 30.9 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004347/26.77, allocations: 0.6203 MB / 8.084 GB, free: 30.8 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/26.77, allocations: 4.688 kB / 8.084 GB, free: 30.8 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04081/26.81, allocations: 17.93 MB / 8.102 GB, free: 24.22 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003154/26.81, allocations: 107.1 kB / 8.102 GB, free: 24.22 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/26.81, allocations: 194.2 kB / 8.102 GB, free: 24.21 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01913/26.83, allocations: 3.477 MB / 8.106 GB, free: 21.59 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003327/26.83, allocations: 241.8 kB / 8.106 GB, free: 21.38 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0258/26.86, allocations: 2.145 MB / 8.108 GB, free: 19.54 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004306/26.86, allocations: 0.6188 MB / 8.108 GB, free: 18.99 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.02388/26.88, allocations: 7.719 MB / 8.116 GB, free: 12.71 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009031/26.89, allocations: 1.706 MB / 8.118 GB, free: 10.98 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.084/27.98, allocations: 17.15 MB / 8.134 GB, free: 174.8 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001641/27.98, allocations: 99.12 kB / 8.135 GB, free: 174.8 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.971e-05/27.98, allocations: 0.5 kB / 8.135 GB, free: 174.8 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04699/28.03, allocations: 12.82 MB / 8.147 GB, free: 174.4 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1343/28.16, allocations: 38.67 MB / 8.185 GB, free: 172.8 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.864e-05/28.16, allocations: 16.59 kB / 8.185 GB, free: 172.8 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01582/28.18, allocations: 2.468 MB / 8.187 GB, free: 172.8 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/28.18, allocations: 52.41 kB / 8.187 GB, free: 172.8 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003227/28.18, allocations: 350.6 kB / 8.188 GB, free: 172.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001312/28.18, allocations: 58.81 kB / 8.188 GB, free: 172.8 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/28.18, allocations: 28.56 kB / 8.188 GB, free: 172.8 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06105/28.24, allocations: 31.57 MB / 8.219 GB, free: 163.4 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02004/28.26, allocations: 4.668 MB / 8.223 GB, free: 163.1 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01043/28.27, allocations: 240.4 kB / 8.223 GB, free: 163.1 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02477/28.3, allocations: 1.216 MB / 8.224 GB, free: 163 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003877/28.3, allocations: 0.6288 MB / 8.225 GB, free: 163 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003619/28.3, allocations: 0.5484 MB / 8.226 GB, free: 163 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03858/28.34, allocations: 14.3 MB / 8.24 GB, free: 162.5 MB / 1.276 GB Notification: Performance of sort global known variables: time 9.01e-07/28.34, allocations: 0 / 8.24 GB, free: 162.5 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05959/28.4, allocations: 10.68 MB / 8.25 GB, free: 161.8 MB / 1.276 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.007406/28.41, allocations: 1.677 MB / 8.252 GB, free: 161.6 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.06564/28.47, allocations: 25.04 MB / 8.276 GB, free: 161.4 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 5.806e-05/28.47, allocations: 19.86 kB / 8.276 GB, free: 161.4 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.01923/28.49, allocations: 7.029 MB / 8.283 GB, free: 161.4 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06243/28.56, allocations: 11.38 MB / 8.294 GB, free: 161.2 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1211/28.68, allocations: 53.19 MB / 8.346 GB, free: 142.5 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02872/28.71, allocations: 13.33 MB / 8.359 GB, free: 141.1 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.06285/28.77, allocations: 11.48 MB / 8.37 GB, free: 139.2 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01448/28.78, allocations: 1.63 MB / 8.372 GB, free: 139.2 MB / 1.276 GB Notification: Performance of SimCode: time 1.784e-06/28.78, allocations: 4 kB / 8.372 GB, free: 139.2 MB / 1.276 GB Notification: Performance of Templates: time 1.587/30.37, allocations: 376.2 MB / 8.739 GB, free: 184.5 MB / 1.292 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches