Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.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_9_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_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.046/2.046, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.0009695/0.0009695, allocations: 188.4 kB / 487.4 MB, free: 5.066 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.356/1.356, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0008966/0.0008966, allocations: 106 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.695e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2517, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.824/5.076, allocations: 2.201 GB / 3.407 GB, free: 132.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/5.076, allocations: 91.94 kB / 3.407 GB, free: 132.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 14.43/19.5, allocations: 4.225 GB / 7.632 GB, free: 146 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.854e-06/19.5, allocations: 0 / 7.632 GB, free: 146 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.00503/19.51, allocations: 0.6006 MB / 7.633 GB, free: 145.9 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: 4528 * Number of variables: 4528 Notification: Performance of Generate backend data structure: time 0.07195/19.58, allocations: 18.38 MB / 7.65 GB, free: 139.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/19.58, allocations: 7.312 kB / 7.65 GB, free: 139.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02751/19.61, allocations: 4.006 MB / 7.654 GB, free: 138.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07673/19.69, allocations: 29.83 MB / 7.684 GB, free: 135.6 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/19.69, allocations: 0.534 MB / 7.684 GB, free: 135.6 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00756/19.69, allocations: 0.9883 MB / 7.685 GB, free: 135.6 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04992/19.74, allocations: 19.66 MB / 7.704 GB, free: 135.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07189/19.82, allocations: 22.46 MB / 7.726 GB, free: 132.9 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001196/19.82, allocations: 65.52 kB / 7.726 GB, free: 132.9 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007112/19.82, allocations: 36.09 kB / 7.726 GB, free: 132.9 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008534/19.83, allocations: 0.8872 MB / 7.727 GB, free: 132.9 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.1624/19.99, allocations: 96.08 MB / 7.821 GB, free: 96.07 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02207/20.01, allocations: 14.53 MB / 7.835 GB, free: 91.75 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01225/20.02, allocations: 7.604 MB / 7.843 GB, free: 88.85 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002527/20.03, allocations: 2.034 MB / 7.845 GB, free: 86.82 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01387/20.04, allocations: 7.157 MB / 7.852 GB, free: 84.32 MB / 1.198 GB Notification: Performance of pre-optimization done (n=1037): time 1.51e-05/20.04, allocations: 0 / 7.852 GB, free: 84.32 MB / 1.198 GB Notification: Performance of matching and sorting (n=1037): time 0.1366/20.18, allocations: 22.34 MB / 7.873 GB, free: 77.82 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/20.18, allocations: 420.6 kB / 7.874 GB, free: 77.33 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02832/20.2, allocations: 15.09 MB / 7.888 GB, free: 64.39 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.003005/20.21, allocations: 37.7 kB / 7.889 GB, free: 64.34 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01025/20.22, allocations: 9.69 MB / 7.898 GB, free: 55.56 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00535/20.22, allocations: 3.492 MB / 7.901 GB, free: 52.34 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/20.22, allocations: 0 / 7.901 GB, free: 52.34 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0008124/20.23, allocations: 0.8389 MB / 7.902 GB, free: 51.65 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008295/20.23, allocations: 6.093 MB / 7.908 GB, free: 46.31 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/20.24, allocations: 9.649 MB / 7.918 GB, free: 36.11 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.297/20.54, allocations: 32.07 MB / 7.949 GB, free: 13.58 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/20.54, allocations: 32 kB / 7.949 GB, free: 13.55 MB / 1.198 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 1.032/21.57, allocations: 41.08 MB / 7.989 GB, free: 160.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01084/21.58, allocations: 69.16 MB / 8.057 GB, free: 88.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000342/21.58, allocations: 111.7 kB / 8.057 GB, free: 88.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003901/21.58, allocations: 185.5 kB / 8.057 GB, free: 88.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0181/21.6, allocations: 3.546 MB / 8.06 GB, free: 88.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003849/21.6, allocations: 242.9 kB / 8.061 GB, free: 88.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0218/21.63, allocations: 1.978 MB / 8.063 GB, free: 88.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003882/21.63, allocations: 0.6272 MB / 8.063 GB, free: 88.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/21.63, allocations: 3.5 kB / 8.063 GB, free: 88.5 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3219/21.95, allocations: 39.5 MB / 8.102 GB, free: 88.23 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004222/21.95, allocations: 105 kB / 8.102 GB, free: 88.23 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003266/21.95, allocations: 188.9 kB / 8.102 GB, free: 88.23 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01648/21.97, allocations: 3.552 MB / 8.105 GB, free: 88.23 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004179/21.97, allocations: 248.1 kB / 8.106 GB, free: 88.22 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0201/21.99, allocations: 1.737 MB / 8.107 GB, free: 88.22 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003378/21.99, allocations: 0.6293 MB / 8.108 GB, free: 88.22 MB / 1.214 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.005817/22, allocations: 470.9 kB / 8.108 GB, free: 88.12 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006595/22, allocations: 1.556 MB / 8.11 GB, free: 87.97 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1365/22.14, allocations: 24.13 MB / 8.134 GB, free: 86.76 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.625e-05/22.14, allocations: 101.8 kB / 8.134 GB, free: 86.76 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-05/22.14, allocations: 0 / 8.134 GB, free: 86.76 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1261/22.27, allocations: 20.99 MB / 8.154 GB, free: 85.83 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1718/22.44, allocations: 44.39 MB / 8.197 GB, free: 83.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/22.44, allocations: 7 kB / 8.197 GB, free: 83.39 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0122/22.45, allocations: 2.503 MB / 8.2 GB, free: 83.35 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/22.45, allocations: 37.25 kB / 8.2 GB, free: 83.35 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001618/22.45, allocations: 223.1 kB / 8.2 GB, free: 83.34 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.375e-05/22.45, allocations: 35.62 kB / 8.2 GB, free: 83.34 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/22.45, allocations: 0 / 8.2 GB, free: 83.34 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1358/22.59, allocations: 31.67 MB / 8.231 GB, free: 96.63 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01243/22.6, allocations: 4.443 MB / 8.235 GB, free: 95.72 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00586/22.61, allocations: 69.42 kB / 8.236 GB, free: 95.71 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01803/22.63, allocations: 1.173 MB / 8.237 GB, free: 95.55 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002585/22.63, allocations: 0.5879 MB / 8.237 GB, free: 95.54 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003094/22.63, allocations: 0.5322 MB / 8.238 GB, free: 95.54 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02238/22.65, allocations: 11.6 MB / 8.249 GB, free: 95.1 MB / 1.229 GB Notification: Performance of sort global known variables: time 2.6e-07/22.65, allocations: 0 / 8.249 GB, free: 95.1 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.04311/22.7, allocations: 10.4 MB / 8.259 GB, free: 93.96 MB / 1.229 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.00746/22.7, allocations: 1.651 MB / 8.261 GB, free: 93.68 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.04358/22.75, allocations: 23.19 MB / 8.284 GB, free: 93.37 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.053e-05/22.75, allocations: 18.2 kB / 8.284 GB, free: 93.36 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01194/22.76, allocations: 6.432 MB / 8.29 GB, free: 93.34 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04834/22.81, allocations: 9.324 MB / 8.299 GB, free: 92.75 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09219/22.9, allocations: 38.57 MB / 8.337 GB, free: 65.26 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02212/22.92, allocations: 13.4 MB / 8.35 GB, free: 56.77 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.06084/22.98, allocations: 16.33 MB / 8.366 GB, free: 45.92 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008748/22.99, allocations: 1.226 MB / 8.367 GB, free: 44.86 MB / 1.229 GB Notification: Performance of SimCode: time 1.272e-06/22.99, allocations: 0 / 8.367 GB, free: 44.86 MB / 1.229 GB Notification: Performance of Templates: time 1.822/24.81, allocations: 326.8 MB / 8.686 GB, free: 136.9 MB / 1.245 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches