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.217/2.217, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.0009518/0.0009518, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.001017/0.001018, allocations: 90.62 kB / 0.9317 GB, free: 5.664 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.79e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3127, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.253/6.565, allocations: 2.198 GB / 3.417 GB, free: 66.46 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/6.566, allocations: 87.95 kB / 3.417 GB, free: 66.38 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.56/25.13, allocations: 4.242 GB / 7.659 GB, free: 135.5 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.326e-06/25.13, allocations: 0 / 7.659 GB, free: 135.5 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.006643/25.14, allocations: 0.5985 MB / 7.66 GB, free: 135.4 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.09065/25.23, allocations: 18.2 MB / 7.678 GB, free: 129 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/25.23, allocations: 10.84 kB / 7.678 GB, free: 129 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0335/25.26, allocations: 3.782 MB / 7.681 GB, free: 127.8 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1085/25.37, allocations: 29.71 MB / 7.71 GB, free: 125.3 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002665/25.37, allocations: 1.248 MB / 7.712 GB, free: 125.3 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01193/25.38, allocations: 1.676 MB / 7.713 GB, free: 125.3 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1103/25.5, allocations: 24.84 MB / 7.737 GB, free: 122.7 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001402/25.5, allocations: 70.25 kB / 7.738 GB, free: 122.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009237/25.51, allocations: 0.7239 MB / 7.738 GB, free: 122.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009713/25.51, allocations: 0.8848 MB / 7.739 GB, free: 122.6 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05896/25.57, allocations: 21.01 MB / 7.76 GB, free: 122.4 MB / 1.214 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.2154/25.78, allocations: 99.3 MB / 7.857 GB, free: 80.95 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02885/25.81, allocations: 15.04 MB / 7.871 GB, free: 74.62 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01541/25.83, allocations: 7.841 MB / 7.879 GB, free: 71.68 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003174/25.83, allocations: 2.029 MB / 7.881 GB, free: 69.65 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01966/25.85, allocations: 7.879 MB / 7.889 GB, free: 66.96 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 2.589e-05/25.85, allocations: 0 / 7.889 GB, free: 66.96 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.04253/25.89, allocations: 13.24 MB / 7.902 GB, free: 62.14 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002466/25.89, allocations: 412.9 kB / 7.902 GB, free: 61.76 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05161/25.94, allocations: 17.6 MB / 7.919 GB, free: 49.89 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005294/25.95, allocations: 233.7 kB / 7.919 GB, free: 49.66 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.02278/25.97, allocations: 9.869 MB / 7.929 GB, free: 40.7 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.01005/25.98, allocations: 3.579 MB / 7.933 GB, free: 37.46 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004458/25.99, allocations: 252 kB / 7.933 GB, free: 37.22 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.002347/25.99, allocations: 0.8361 MB / 7.934 GB, free: 36.52 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01595/26, allocations: 6.287 MB / 7.94 GB, free: 30.99 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02029/26.02, allocations: 9.905 MB / 7.949 GB, free: 20.48 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/26.04, allocations: 8.278 MB / 7.957 GB, free: 13.54 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/26.04, allocations: 32 kB / 7.957 GB, free: 13.51 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.06479/26.11, allocations: 18.85 MB / 7.976 GB, free: 14.87 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.256/27.36, allocations: 73.19 MB / 8.047 GB, free: 128.2 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006529/27.37, allocations: 106.3 kB / 8.047 GB, free: 128.2 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/27.37, allocations: 186.8 kB / 8.048 GB, free: 128.2 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0241/27.39, allocations: 3.491 MB / 8.051 GB, free: 128.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009015/27.39, allocations: 242.4 kB / 8.051 GB, free: 128.2 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03797/27.43, allocations: 2.389 MB / 8.054 GB, free: 128.2 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006214/27.44, allocations: 0.6189 MB / 8.054 GB, free: 128.2 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/27.44, allocations: 3.875 kB / 8.054 GB, free: 128.2 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05775/27.49, allocations: 16.81 MB / 8.071 GB, free: 127.9 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006557/27.49, allocations: 106.6 kB / 8.071 GB, free: 127.9 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005544/27.49, allocations: 186.5 kB / 8.071 GB, free: 127.9 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02555/27.52, allocations: 3.486 MB / 8.074 GB, free: 127.9 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009969/27.52, allocations: 243 kB / 8.075 GB, free: 127.9 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03008/27.55, allocations: 2.138 MB / 8.077 GB, free: 127.9 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005483/27.56, allocations: 0.6218 MB / 8.077 GB, free: 127.9 MB / 1.245 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.009806/27.57, allocations: 0.8906 MB / 8.078 GB, free: 127.8 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01284/27.58, allocations: 1.706 MB / 8.08 GB, free: 127.6 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07989/27.66, allocations: 15.28 MB / 8.095 GB, free: 127 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002223/27.66, allocations: 98.84 kB / 8.095 GB, free: 127 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.209e-05/27.66, allocations: 0 / 8.095 GB, free: 127 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03869/27.7, allocations: 11.76 MB / 8.106 GB, free: 126.7 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1483/27.85, allocations: 37.59 MB / 8.143 GB, free: 124.8 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001992/27.85, allocations: 18.16 kB / 8.143 GB, free: 124.8 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01676/27.86, allocations: 2.473 MB / 8.145 GB, free: 124.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002733/27.86, allocations: 54.09 kB / 8.145 GB, free: 124.8 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003958/27.87, allocations: 345 kB / 8.146 GB, free: 124.8 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002463/27.87, allocations: 65.48 kB / 8.146 GB, free: 124.8 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-05/27.87, allocations: 21.94 kB / 8.146 GB, free: 124.8 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06439/27.93, allocations: 29.98 MB / 8.175 GB, free: 114.5 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02605/27.96, allocations: 4.666 MB / 8.18 GB, free: 113.5 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01668/27.98, allocations: 240.9 kB / 8.18 GB, free: 113.5 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0287/28, allocations: 1.214 MB / 8.181 GB, free: 113.4 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004844/28.01, allocations: 0.6252 MB / 8.182 GB, free: 113.4 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005932/28.02, allocations: 0.5474 MB / 8.182 GB, free: 113.4 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.04592/28.06, allocations: 14.13 MB / 8.196 GB, free: 112.9 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.773e-06/28.06, allocations: 3.094 kB / 8.196 GB, free: 112.9 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.07344/28.13, allocations: 10.69 MB / 8.207 GB, free: 111.9 MB / 1.245 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.009604/28.14, allocations: 1.643 MB / 8.208 GB, free: 111.7 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.0577/28.2, allocations: 23.95 MB / 8.232 GB, free: 111.4 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 4.431e-05/28.2, allocations: 21.02 kB / 8.232 GB, free: 111.4 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01631/28.22, allocations: 6.5 MB / 8.238 GB, free: 111.2 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06873/28.29, allocations: 11.38 MB / 8.249 GB, free: 111 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/28.39, allocations: 39.91 MB / 8.288 GB, free: 102.7 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02924/28.42, allocations: 13.36 MB / 8.301 GB, free: 100.4 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.08404/28.51, allocations: 18.28 MB / 8.319 GB, free: 97.25 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01081/28.52, allocations: 1.282 MB / 8.32 GB, free: 97.16 MB / 1.245 GB Notification: Performance of SimCode: time 1.854e-06/28.52, allocations: 0 / 8.32 GB, free: 97.16 MB / 1.245 GB Notification: Performance of Templates: time 1.702/30.22, allocations: 403 MB / 8.714 GB, free: 152.9 MB / 1.261 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