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.393/2.393, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001114/0.001114, allocations: 176.8 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.493/1.493, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009923/0.0009924, allocations: 91.83 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.744e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2708, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.989/6.26, allocations: 2.202 GB / 3.421 GB, free: 84.09 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/6.261, allocations: 88.45 kB / 3.421 GB, free: 84.01 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.55/24.81, allocations: 4.246 GB / 7.666 GB, free: 143.9 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.124e-06/24.81, allocations: 3.938 kB / 7.666 GB, free: 143.9 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004948/24.82, allocations: 0.6013 MB / 7.667 GB, free: 143.7 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.07268/24.89, allocations: 18.37 MB / 7.685 GB, free: 137.2 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/24.89, allocations: 9.531 kB / 7.685 GB, free: 137.2 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03105/24.92, allocations: 4.01 MB / 7.689 GB, free: 136 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08529/25.01, allocations: 29.83 MB / 7.718 GB, free: 133.5 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002043/25.01, allocations: 1.255 MB / 7.719 GB, free: 133.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009069/25.02, allocations: 1.689 MB / 7.721 GB, free: 133.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08411/25.1, allocations: 24.91 MB / 7.745 GB, free: 130.8 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001378/25.1, allocations: 68.67 kB / 7.745 GB, free: 130.8 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009423/25.11, allocations: 0.7225 MB / 7.746 GB, free: 130.8 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001041/25.11, allocations: 0.8828 MB / 7.747 GB, free: 130.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05366/25.17, allocations: 21.16 MB / 7.767 GB, free: 130.6 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.1945/25.36, allocations: 99.52 MB / 7.865 GB, free: 93.43 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02909/25.39, allocations: 15.06 MB / 7.879 GB, free: 91.41 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01936/25.41, allocations: 7.943 MB / 7.887 GB, free: 88.38 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004264/25.42, allocations: 2.031 MB / 7.889 GB, free: 86.35 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02213/25.44, allocations: 7.504 MB / 7.896 GB, free: 83.73 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 1.795e-05/25.44, allocations: 0 / 7.896 GB, free: 83.73 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.04298/25.48, allocations: 13.36 MB / 7.909 GB, free: 78.75 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002229/25.48, allocations: 424.7 kB / 7.91 GB, free: 78.36 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05226/25.53, allocations: 17.58 MB / 7.927 GB, free: 72.34 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004133/25.54, allocations: 243.5 kB / 7.927 GB, free: 72.16 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01814/25.56, allocations: 9.897 MB / 7.937 GB, free: 64.56 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.009291/25.57, allocations: 3.624 MB / 7.94 GB, free: 61.79 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004046/25.57, allocations: 262.3 kB / 7.941 GB, free: 61.59 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.002099/25.57, allocations: 0.8343 MB / 7.941 GB, free: 61.01 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0144/25.59, allocations: 6.342 MB / 7.948 GB, free: 55.42 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01847/25.6, allocations: 9.981 MB / 7.957 GB, free: 44.88 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/25.62, allocations: 8.337 MB / 7.966 GB, free: 37.98 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/25.62, allocations: 28 kB / 7.966 GB, free: 37.95 MB / 1.214 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.0488/25.67, allocations: 18.44 MB / 7.984 GB, free: 22.01 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.025/26.69, allocations: 73.37 MB / 8.055 GB, free: 185.3 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005459/26.69, allocations: 106.3 kB / 8.055 GB, free: 185.3 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/26.7, allocations: 188.7 kB / 8.056 GB, free: 185.3 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02284/26.72, allocations: 3.547 MB / 8.059 GB, free: 185.3 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007347/26.72, allocations: 240 kB / 8.059 GB, free: 185.3 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03207/26.75, allocations: 2.42 MB / 8.062 GB, free: 185.3 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005277/26.76, allocations: 0.6261 MB / 8.062 GB, free: 185.3 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/26.76, allocations: 4.312 kB / 8.062 GB, free: 185.3 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05577/26.81, allocations: 16.97 MB / 8.079 GB, free: 185.1 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007/26.81, allocations: 110.2 kB / 8.079 GB, free: 185.1 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/26.81, allocations: 190.1 kB / 8.079 GB, free: 185.1 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02234/26.84, allocations: 3.55 MB / 8.083 GB, free: 185.1 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/26.84, allocations: 241.3 kB / 8.083 GB, free: 185.1 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02832/26.87, allocations: 2.178 MB / 8.085 GB, free: 185.1 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005249/26.87, allocations: 0.6242 MB / 8.086 GB, free: 185.1 MB / 1.261 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 () * 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.009231/26.88, allocations: 0.9056 MB / 8.086 GB, free: 184.9 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01141/26.89, allocations: 1.715 MB / 8.088 GB, free: 184.8 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05275/26.94, allocations: 15.43 MB / 8.103 GB, free: 184.2 MB / 1.261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001292/26.94, allocations: 104.5 kB / 8.103 GB, free: 184.2 MB / 1.261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-05/26.94, allocations: 3.188 kB / 8.103 GB, free: 184.2 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02808/26.97, allocations: 11.9 MB / 8.115 GB, free: 183.9 MB / 1.261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1115/27.08, allocations: 37.57 MB / 8.152 GB, free: 181.9 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.455e-05/27.08, allocations: 0 / 8.152 GB, free: 181.9 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01567/27.1, allocations: 2.506 MB / 8.154 GB, free: 181.9 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/27.1, allocations: 34.75 kB / 8.154 GB, free: 181.9 MB / 1.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003692/27.1, allocations: 337.8 kB / 8.154 GB, free: 181.9 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001612/27.1, allocations: 37 kB / 8.154 GB, free: 181.9 MB / 1.261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/27.1, allocations: 3.75 kB / 8.154 GB, free: 181.9 MB / 1.261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06057/27.16, allocations: 22.96 MB / 8.177 GB, free: 179.6 MB / 1.261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02339/27.19, allocations: 4.616 MB / 8.181 GB, free: 178.6 MB / 1.261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01104/27.2, allocations: 225.8 kB / 8.182 GB, free: 178.6 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02491/27.22, allocations: 1.355 MB / 8.183 GB, free: 178.6 MB / 1.261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003284/27.23, allocations: 0.5864 MB / 8.183 GB, free: 178.6 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004694/27.23, allocations: 0.5379 MB / 8.184 GB, free: 178.6 MB / 1.261 GB Notification: Performance of sorting global known variables: time 0.03572/27.27, allocations: 13.8 MB / 8.197 GB, free: 178 MB / 1.261 GB Notification: Performance of sort global known variables: time 6.42e-07/27.27, allocations: 0 / 8.197 GB, free: 178 MB / 1.261 GB Notification: Performance of remove unused functions: time 0.07386/27.34, allocations: 10.8 MB / 8.208 GB, free: 177.1 MB / 1.261 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) * 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.008957/27.35, allocations: 1.903 MB / 8.21 GB, free: 176.9 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.05559/27.41, allocations: 24.35 MB / 8.234 GB, free: 176.5 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 3.323e-05/27.41, allocations: 18.11 kB / 8.234 GB, free: 176.5 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.0155/27.42, allocations: 6.646 MB / 8.24 GB, free: 176.5 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06375/27.49, allocations: 10.94 MB / 8.251 GB, free: 176.3 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1107/27.6, allocations: 39.61 MB / 8.289 GB, free: 168.8 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03039/27.63, allocations: 13.4 MB / 8.303 GB, free: 167.2 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.08426/27.71, allocations: 18.12 MB / 8.32 GB, free: 159.9 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01054/27.72, allocations: 1.274 MB / 8.322 GB, free: 158.8 MB / 1.261 GB Notification: Performance of SimCode: time 1.834e-06/27.72, allocations: 0 / 8.322 GB, free: 158.8 MB / 1.261 GB Notification: Performance of Templates: time 1.721/29.44, allocations: 395.6 MB / 8.708 GB, free: 179.8 MB / 1.261 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