Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001399/0.001399, allocations: 181.1 kB / 498.1 MB, free: 5.734 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.731/1.731, allocations: 223.2 MB / 0.7949 GB, free: 17.91 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.001428/0.001428, allocations: 104.2 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 15.11 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3614, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.336/6.697, allocations: 2.24 GB / 3.463 GB, free: 242.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/6.698, allocations: 105.6 kB / 3.463 GB, free: 242.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.51/17.21, allocations: 2.556 GB / 6.019 GB, free: 133.3 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.897e-06/17.21, allocations: 0 / 6.019 GB, free: 133.3 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.002879/17.21, allocations: 271.8 kB / 6.019 GB, free: 133.2 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: 2053 * Number of variables: 2053 Notification: Performance of Generate backend data structure: time 0.04959/17.26, allocations: 10.87 MB / 6.03 GB, free: 129 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/17.26, allocations: 8.75 kB / 6.03 GB, free: 129 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/17.27, allocations: 2.167 MB / 6.032 GB, free: 128.5 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04615/17.32, allocations: 12.14 MB / 6.044 GB, free: 127.2 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009366/17.32, allocations: 0.6033 MB / 6.045 GB, free: 127.2 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004837/17.33, allocations: 0.8079 MB / 6.045 GB, free: 127.2 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04106/17.37, allocations: 11.27 MB / 6.056 GB, free: 126.1 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005207/17.37, allocations: 24.5 kB / 6.056 GB, free: 126.1 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004013/17.37, allocations: 342.7 kB / 6.057 GB, free: 126.1 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003252/17.37, allocations: 340.6 kB / 6.057 GB, free: 126.1 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0301/17.4, allocations: 10.43 MB / 6.067 GB, free: 126 MB / 1.214 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.1034/17.51, allocations: 45.47 MB / 6.112 GB, free: 109.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/17.53, allocations: 7.949 MB / 6.119 GB, free: 108.8 MB / 1.214 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 evalFunc (simulation): time 0.0563/17.58, allocations: 18.29 MB / 6.137 GB, free: 104.2 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01069/17.59, allocations: 3.666 MB / 6.141 GB, free: 104 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007846/17.6, allocations: 0.7752 MB / 6.142 GB, free: 103.8 MB / 1.214 GB Notification: Performance of pre-optimization done (n=513): time 3.161e-05/17.6, allocations: 0 / 6.142 GB, free: 103.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=513): time 0.03225/17.63, allocations: 9.598 MB / 6.151 GB, free: 103 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/17.63, allocations: 312.5 kB / 6.151 GB, free: 102.7 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02402/17.66, allocations: 7.248 MB / 6.158 GB, free: 102.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003042/17.66, allocations: 131.9 kB / 6.158 GB, free: 102.1 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009953/17.67, allocations: 4.373 MB / 6.163 GB, free: 100.6 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003933/17.67, allocations: 1.763 MB / 6.164 GB, free: 99.5 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/17.68, allocations: 130.5 kB / 6.165 GB, free: 99.5 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0009056/17.68, allocations: 0.558 MB / 6.165 GB, free: 99.18 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008779/17.69, allocations: 3.344 MB / 6.168 GB, free: 99.16 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/17.7, allocations: 5.064 MB / 6.173 GB, free: 97.26 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/17.71, allocations: 4.21 MB / 6.177 GB, free: 97.17 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/17.71, allocations: 14.38 kB / 6.177 GB, free: 97.17 MB / 1.214 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.03064/17.74, allocations: 9.511 MB / 6.187 GB, free: 96.55 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.006409/17.75, allocations: 23.9 MB / 6.21 GB, free: 71.67 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002534/17.75, allocations: 49.12 kB / 6.21 GB, free: 71.67 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000804/17.75, allocations: 167.7 kB / 6.21 GB, free: 71.66 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009621/17.76, allocations: 1.708 MB / 6.212 GB, free: 71.66 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/17.76, allocations: 0.7267 MB / 6.213 GB, free: 71.14 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01278/17.77, allocations: 0.7096 MB / 6.213 GB, free: 71.09 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00262/17.77, allocations: 311.6 kB / 6.214 GB, free: 71.09 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/17.77, allocations: 3.938 kB / 6.214 GB, free: 71.09 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02752/17.8, allocations: 8.802 MB / 6.222 GB, free: 70.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003574/17.8, allocations: 49.5 kB / 6.222 GB, free: 70.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007299/17.8, allocations: 169.6 kB / 6.222 GB, free: 70.89 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/17.81, allocations: 1.698 MB / 6.224 GB, free: 70.89 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008659/17.81, allocations: 0.7326 MB / 6.225 GB, free: 70.38 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/17.82, allocations: 0.6817 MB / 6.225 GB, free: 70.33 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002471/17.83, allocations: 308.1 kB / 6.226 GB, free: 70.33 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 819 * Array equations: 1 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.01308/17.84, allocations: 3.246 MB / 6.229 GB, free: 70.12 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006374/17.85, allocations: 0.7736 MB / 6.23 GB, free: 69.71 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03223/17.88, allocations: 8.006 MB / 6.238 GB, free: 69.29 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.283e-05/17.88, allocations: 61.48 kB / 6.238 GB, free: 69.29 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.588e-05/17.88, allocations: 3.938 kB / 6.238 GB, free: 69.29 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01836/17.9, allocations: 6.314 MB / 6.244 GB, free: 67.52 MB / 1.214 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 postOpt removeSimpleEquations (simulation): time 0.05802/17.95, allocations: 17.43 MB / 6.261 GB, free: 60.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/17.95, allocations: 0 / 6.261 GB, free: 60.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007376/17.96, allocations: 1.19 MB / 6.262 GB, free: 60.49 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000522/17.96, allocations: 88.3 kB / 6.262 GB, free: 60.47 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00182/17.96, allocations: 156.9 kB / 6.262 GB, free: 60.39 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006173/17.97, allocations: 0.6292 MB / 6.263 GB, free: 59.82 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/17.97, allocations: 7 kB / 6.263 GB, free: 59.82 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/18, allocations: 11.64 MB / 6.274 GB, free: 54.91 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009233/18.01, allocations: 1.95 MB / 6.276 GB, free: 53.83 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004914/18.01, allocations: 107.5 kB / 6.276 GB, free: 53.76 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01113/18.02, allocations: 0.6132 MB / 6.277 GB, free: 53.61 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001636/18.02, allocations: 307.1 kB / 6.277 GB, free: 53.57 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001815/18.03, allocations: 235.9 kB / 6.277 GB, free: 53.53 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01562/18.04, allocations: 5.711 MB / 6.283 GB, free: 51.51 MB / 1.214 GB Notification: Performance of sort global known variables: time 8.52e-07/18.04, allocations: 4 kB / 6.283 GB, free: 51.51 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.03084/18.07, allocations: 5.234 MB / 6.288 GB, free: 50.3 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 27 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.s[1],pum.filter.s[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (539): * Single equations (assignments): 528 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009017/18.08, allocations: 2.45 MB / 6.29 GB, free: 49.44 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.03188/18.11, allocations: 12.27 MB / 6.302 GB, free: 45.25 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/18.11, allocations: 6.5 kB / 6.302 GB, free: 45.25 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.009301/18.12, allocations: 3.435 MB / 6.306 GB, free: 44.08 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02552/18.15, allocations: 4.115 MB / 6.31 GB, free: 43.24 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05558/18.2, allocations: 23.56 MB / 6.333 GB, free: 26.48 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01054/18.21, allocations: 6.219 MB / 6.339 GB, free: 21.9 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.02546/18.24, allocations: 4.22 MB / 6.343 GB, free: 19.14 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004443/18.24, allocations: 0.7387 MB / 6.344 GB, free: 18.5 MB / 1.214 GB Notification: Performance of SimCode: time 1.162e-06/18.24, allocations: 2.406 kB / 6.344 GB, free: 18.5 MB / 1.214 GB Notification: Performance of Templates: time 1.193/19.44, allocations: 171.9 MB / 6.511 GB, free: 143.3 MB / 1.245 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches