Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.322/2.322, allocations: 390.5 MB / 398 MB, free: 10.96 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.001021/0.001021, allocations: 180.8 kB / 491.2 MB, free: 1.57 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.648/1.648, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001058/0.001058, allocations: 95.91 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.782e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3488, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.765/7.114, allocations: 2.199 GB / 3.412 GB, free: 76.12 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/7.114, allocations: 90.83 kB / 3.412 GB, free: 76.07 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 11.91/19.03, allocations: 2.872 GB / 6.284 GB, free: 156.5 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.394e-06/19.03, allocations: 0 / 6.284 GB, free: 156.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003435/19.03, allocations: 393.6 kB / 6.284 GB, free: 156.5 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: 2975 * Number of variables: 2975 Notification: Performance of Generate backend data structure: time 0.05252/19.09, allocations: 12.19 MB / 6.296 GB, free: 152 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/19.09, allocations: 14.53 kB / 6.296 GB, free: 152 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02399/19.11, allocations: 3.089 MB / 6.299 GB, free: 151.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05762/19.17, allocations: 18.74 MB / 6.318 GB, free: 149.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/19.17, allocations: 357.4 kB / 6.318 GB, free: 149.5 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006564/19.17, allocations: 0.6566 MB / 6.319 GB, free: 149.5 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03978/19.21, allocations: 12.91 MB / 6.331 GB, free: 149.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05392/19.27, allocations: 14.49 MB / 6.345 GB, free: 147.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007069/19.27, allocations: 42.33 kB / 6.345 GB, free: 147.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00524/19.27, allocations: 21.28 kB / 6.345 GB, free: 147.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005589/19.28, allocations: 0.5664 MB / 6.346 GB, free: 147.8 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.1475/19.42, allocations: 61.39 MB / 6.406 GB, free: 125.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0173/19.44, allocations: 9.239 MB / 6.415 GB, free: 125.3 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008633/19.45, allocations: 4.926 MB / 6.42 GB, free: 125.2 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002961/19.45, allocations: 2.381 MB / 6.422 GB, free: 122.7 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01048/19.46, allocations: 5.079 MB / 6.427 GB, free: 122.5 MB / 1.198 GB Notification: Performance of pre-optimization done (n=706): time 1.141e-05/19.46, allocations: 0 / 6.427 GB, free: 122.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=706): time 0.1275/19.59, allocations: 17.73 MB / 6.444 GB, free: 119.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/19.59, allocations: 363.5 kB / 6.445 GB, free: 118.9 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02282/19.61, allocations: 9.607 MB / 6.454 GB, free: 115.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002921/19.62, allocations: 38.08 kB / 6.454 GB, free: 115.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.008815/19.62, allocations: 6.296 MB / 6.46 GB, free: 110.6 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005107/19.63, allocations: 2.36 MB / 6.463 GB, free: 108.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009482/19.63, allocations: 3.562 kB / 6.463 GB, free: 108.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0006798/19.63, allocations: 0.6487 MB / 6.463 GB, free: 108.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006505/19.64, allocations: 3.993 MB / 6.467 GB, free: 106.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007972/19.65, allocations: 6.215 MB / 6.473 GB, free: 102.5 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2987/19.94, allocations: 28.8 MB / 6.501 GB, free: 98.04 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/19.95, allocations: 21.28 kB / 6.501 GB, free: 98.04 MB / 1.198 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.3161/20.26, allocations: 34.83 MB / 6.535 GB, free: 74.86 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.009446/20.27, allocations: 35.81 MB / 6.57 GB, free: 37.06 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002926/20.27, allocations: 64 kB / 6.57 GB, free: 37 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009319/20.27, allocations: 198.5 kB / 6.571 GB, free: 36.82 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01397/20.29, allocations: 2.366 MB / 6.573 GB, free: 35.01 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/20.29, allocations: 1.61 MB / 6.574 GB, free: 33.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0213/20.31, allocations: 1.329 MB / 6.576 GB, free: 32.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00477/20.31, allocations: 432.2 kB / 6.576 GB, free: 31.94 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/20.31, allocations: 4 kB / 6.576 GB, free: 31.93 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3205/20.64, allocations: 33.78 MB / 6.609 GB, free: 1.133 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003682/20.64, allocations: 64.94 kB / 6.609 GB, free: 1.07 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008147/20.64, allocations: 200.8 kB / 6.609 GB, free: 0.8711 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/20.65, allocations: 2.363 MB / 6.612 GB, free: 14.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/20.65, allocations: 1.611 MB / 6.613 GB, free: 12.77 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01839/20.67, allocations: 1.156 MB / 6.614 GB, free: 11.61 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003813/20.68, allocations: 423.8 kB / 6.615 GB, free: 11.2 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1097): * Single equations (assignments): 1096 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006446/20.68, allocations: 342.2 kB / 6.615 GB, free: 10.85 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00748/20.69, allocations: 1.027 MB / 6.616 GB, free: 9.812 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.14/21.83, allocations: 19.25 MB / 6.635 GB, free: 161.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001464/21.83, allocations: 77.23 kB / 6.635 GB, free: 161.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.319e-05/21.83, allocations: 0 / 6.635 GB, free: 161.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1362/21.97, allocations: 17.15 MB / 6.652 GB, free: 161.3 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1817/22.15, allocations: 32.79 MB / 6.684 GB, free: 159.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.363e-05/22.15, allocations: 12.22 kB / 6.684 GB, free: 159.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01063/22.16, allocations: 1.729 MB / 6.685 GB, free: 159.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006968/22.16, allocations: 115.4 kB / 6.686 GB, free: 159.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002323/22.16, allocations: 159.9 kB / 6.686 GB, free: 159.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/22.16, allocations: 1.532 MB / 6.687 GB, free: 158.6 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.901e-05/22.16, allocations: 18.94 kB / 6.687 GB, free: 158.6 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1423/22.31, allocations: 26.67 MB / 6.713 GB, free: 154.4 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01295/22.32, allocations: 2.969 MB / 6.716 GB, free: 153.9 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008392/22.33, allocations: 45.62 kB / 6.716 GB, free: 153.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01769/22.35, allocations: 0.7129 MB / 6.717 GB, free: 153.9 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002842/22.35, allocations: 464.7 kB / 6.717 GB, free: 153.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003259/22.35, allocations: 378.7 kB / 6.718 GB, free: 153.9 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02111/22.37, allocations: 7.363 MB / 6.725 GB, free: 153.6 MB / 1.214 GB Notification: Performance of sort global known variables: time 3.71e-07/22.37, allocations: 3.188 kB / 6.725 GB, free: 153.6 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.04353/22.42, allocations: 6.908 MB / 6.732 GB, free: 153 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,TOut.T,TIn.T,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,TOut1.T,TIn1.T) * 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 (732): * Single equations (assignments): 719 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009028/22.43, allocations: 2.099 MB / 6.734 GB, free: 152.7 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.03943/22.47, allocations: 15.51 MB / 6.749 GB, free: 152.3 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 4.043e-05/22.47, allocations: 15.55 kB / 6.749 GB, free: 152.3 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/22.48, allocations: 4.456 MB / 6.753 GB, free: 152.2 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03736/22.51, allocations: 5.873 MB / 6.759 GB, free: 152.1 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06757/22.58, allocations: 25.01 MB / 6.783 GB, free: 146.1 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01706/22.6, allocations: 8.746 MB / 6.792 GB, free: 145 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.04517/22.64, allocations: 10.09 MB / 6.802 GB, free: 143.5 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006848/22.65, allocations: 0.8364 MB / 6.803 GB, free: 143.5 MB / 1.214 GB Notification: Performance of SimCode: time 1.152e-06/22.65, allocations: 0 / 6.803 GB, free: 143.5 MB / 1.214 GB Notification: Performance of Templates: time 0.3631/23.01, allocations: 219.5 MB / 7.017 GB, free: 24.8 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches