Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,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.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,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.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.376/2.376, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001646/0.001646, allocations: 186.1 kB / 0.4902 GB, free: 2.254 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.704/1.704, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.001076/0.001076, allocations: 96.84 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004859, allocations: 17.8 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4416, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.439/6.881, allocations: 2.202 GB / 3.431 GB, free: 246.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/6.881, allocations: 102.1 kB / 3.431 GB, free: 246.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 17.37/24.25, allocations: 4.256 GB / 7.687 GB, free: 29 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.344e-06/24.25, allocations: 0 / 7.687 GB, free: 29 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004449/24.25, allocations: 0.6048 MB / 7.688 GB, free: 28.39 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: 4528 * Number of variables: 4528 Notification: Performance of Generate backend data structure: time 0.09125/24.34, allocations: 22.62 MB / 7.71 GB, free: 5.617 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/24.34, allocations: 8.031 kB / 7.71 GB, free: 5.609 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02987/24.37, allocations: 4.023 MB / 7.714 GB, free: 1.555 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.064/25.44, allocations: 29.94 MB / 7.743 GB, free: 143 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003299/25.44, allocations: 1.255 MB / 7.744 GB, free: 143 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01218/25.45, allocations: 1.691 MB / 7.746 GB, free: 143 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1066/25.56, allocations: 25.85 MB / 7.771 GB, free: 140.3 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001701/25.56, allocations: 70.48 kB / 7.771 GB, free: 140.3 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01063/25.57, allocations: 0.7204 MB / 7.772 GB, free: 140.3 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001326/25.57, allocations: 0.8818 MB / 7.773 GB, free: 140.3 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0722/25.65, allocations: 22.81 MB / 7.795 GB, free: 140.2 MB / 1.229 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.2348/25.88, allocations: 99.54 MB / 7.892 GB, free: 105.2 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03762/25.92, allocations: 16.05 MB / 7.908 GB, free: 104.6 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00359/25.92, allocations: 2.032 MB / 7.91 GB, free: 102.6 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02806/25.95, allocations: 8.087 MB / 7.918 GB, free: 102.4 MB / 1.229 GB Notification: Performance of pre-optimization done (n=1037): time 2.514e-05/25.95, allocations: 3.828 kB / 7.918 GB, free: 102.4 MB / 1.229 GB Notification: Performance of matching and sorting (n=1037): time 0.06896/26.02, allocations: 20.39 MB / 7.938 GB, free: 101.1 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002165/26.02, allocations: 424 kB / 7.938 GB, free: 100.7 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05091/26.07, allocations: 17.75 MB / 7.955 GB, free: 99.79 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004332/26.07, allocations: 243.4 kB / 7.956 GB, free: 99.76 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01723/26.09, allocations: 9.892 MB / 7.965 GB, free: 94.96 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.008622/26.1, allocations: 3.62 MB / 7.969 GB, free: 92.19 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004267/26.11, allocations: 264.2 kB / 7.969 GB, free: 91.99 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001975/26.11, allocations: 0.8341 MB / 7.97 GB, free: 91.45 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01879/26.13, allocations: 6.946 MB / 7.977 GB, free: 89.15 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0229/26.15, allocations: 10.59 MB / 7.987 GB, free: 82.47 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0213/26.17, allocations: 8.9 MB / 7.996 GB, free: 79.19 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002139/26.17, allocations: 28.62 kB / 7.996 GB, free: 79.19 MB / 1.229 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.05915/26.23, allocations: 19.65 MB / 8.015 GB, free: 72.6 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.03303/26.26, allocations: 73.37 MB / 8.087 GB, free: 59.62 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005215/26.26, allocations: 105.5 kB / 8.087 GB, free: 59.62 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/26.26, allocations: 189.6 kB / 8.087 GB, free: 59.62 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01985/26.28, allocations: 3.549 MB / 8.09 GB, free: 59.35 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003693/26.28, allocations: 240.7 kB / 8.091 GB, free: 59.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02658/26.31, allocations: 2.411 MB / 8.093 GB, free: 58.24 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004666/26.32, allocations: 0.6273 MB / 8.093 GB, free: 58.14 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/26.32, allocations: 3.156 kB / 8.093 GB, free: 58.14 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05179/26.37, allocations: 18.19 MB / 8.111 GB, free: 51.57 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003486/26.37, allocations: 107.4 kB / 8.111 GB, free: 51.57 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/26.37, allocations: 189.5 kB / 8.112 GB, free: 51.57 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01956/26.39, allocations: 3.55 MB / 8.115 GB, free: 51.27 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004232/26.39, allocations: 238.8 kB / 8.115 GB, free: 51.22 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02935/26.42, allocations: 2.179 MB / 8.117 GB, free: 50.32 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005753/26.42, allocations: 0.6264 MB / 8.118 GB, free: 50.21 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1659): * Single equations (assignments): 1659 * 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.02589/26.45, allocations: 7.746 MB / 8.126 GB, free: 47.02 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01006/26.46, allocations: 1.714 MB / 8.127 GB, free: 46.13 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05131/26.51, allocations: 16.58 MB / 8.143 GB, free: 40.06 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001691/26.51, allocations: 103.2 kB / 8.143 GB, free: 40.06 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-05/26.51, allocations: 7.656 kB / 8.144 GB, free: 40.05 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04151/26.55, allocations: 13.07 MB / 8.156 GB, free: 35.48 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1362/26.69, allocations: 38.73 MB / 8.194 GB, free: 8.703 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.105e-05/26.69, allocations: 4 kB / 8.194 GB, free: 8.699 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01985/26.71, allocations: 2.503 MB / 8.197 GB, free: 6.719 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003438/26.71, allocations: 36 kB / 8.197 GB, free: 6.684 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005861/26.71, allocations: 337.9 kB / 8.197 GB, free: 6.43 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000289/26.72, allocations: 36 kB / 8.197 GB, free: 6.395 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/26.72, allocations: 8 kB / 8.197 GB, free: 6.387 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.112/27.83, allocations: 24.69 MB / 8.221 GB, free: 193.5 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02591/27.85, allocations: 4.62 MB / 8.226 GB, free: 193.2 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01299/27.87, allocations: 222.8 kB / 8.226 GB, free: 193.2 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02592/27.89, allocations: 1.368 MB / 8.227 GB, free: 193.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004403/27.9, allocations: 0.5843 MB / 8.228 GB, free: 193.1 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005013/27.9, allocations: 0.5378 MB / 8.228 GB, free: 193.1 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.04019/27.94, allocations: 13.97 MB / 8.242 GB, free: 192.7 MB / 1.292 GB Notification: Performance of sort global known variables: time 2.705e-06/27.94, allocations: 1.406 kB / 8.242 GB, free: 192.7 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06293/28, allocations: 10.8 MB / 8.252 GB, free: 191.9 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1062): * Single equations (assignments): 1054 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * 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.01018/28.01, allocations: 1.966 MB / 8.254 GB, free: 191.8 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.0658/28.08, allocations: 25.6 MB / 8.279 GB, free: 191.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 3.301e-05/28.08, allocations: 19.05 kB / 8.279 GB, free: 191.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.0184/28.1, allocations: 7.22 MB / 8.286 GB, free: 191.4 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06053/28.16, allocations: 10.95 MB / 8.297 GB, free: 191.3 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1223/28.28, allocations: 53.12 MB / 8.349 GB, free: 172.2 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03012/28.31, allocations: 13.37 MB / 8.362 GB, free: 170.8 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.05732/28.37, allocations: 11.37 MB / 8.373 GB, free: 168.9 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01306/28.38, allocations: 1.629 MB / 8.375 GB, free: 168.9 MB / 1.292 GB Notification: Performance of SimCode: time 2.354e-06/28.38, allocations: 0 / 8.375 GB, free: 168.9 MB / 1.292 GB Notification: Performance of Templates: time 1.545/29.93, allocations: 368.5 MB / 8.735 GB, free: 208.4 MB / 1.307 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches