Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.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.Examples.Tutorial.Boiler.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|TSetSup.y|temRet.T|TSetBoiRet.y",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System6") translateModel(Buildings.Examples.Tutorial.Boiler.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|TSetSup.y|temRet.T|TSetBoiRet.y",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001358/0.001358, allocations: 176.1 kB / 492.3 MB, free: 0.625 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.514/1.514, allocations: 221.3 MB / 0.7872 GB, free: 12.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.001012/0.001012, allocations: 91.89 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.859e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2928, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.693/5.986, allocations: 2.243 GB / 3.455 GB, free: 45.17 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/5.987, allocations: 90.19 kB / 3.455 GB, free: 45.12 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.24/24.23, allocations: 4.457 GB / 7.912 GB, free: 66.67 MB / 1.354 GB Notification: Performance of FrontEnd: time 1.823e-06/24.23, allocations: 0 / 7.912 GB, free: 66.67 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002415/24.23, allocations: 326.1 kB / 7.912 GB, free: 66.62 MB / 1.354 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1912 * Number of variables: 1912 Notification: Performance of Generate backend data structure: time 0.03412/24.27, allocations: 10.17 MB / 7.922 GB, free: 62.11 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/24.27, allocations: 7.719 kB / 7.922 GB, free: 62.11 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/24.28, allocations: 2.427 MB / 7.925 GB, free: 61.36 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04053/24.32, allocations: 13.39 MB / 7.938 GB, free: 59.62 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008361/24.32, allocations: 0.5861 MB / 7.938 GB, free: 59.6 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003608/24.33, allocations: 0.7916 MB / 7.939 GB, free: 59.59 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02758/24.36, allocations: 8.361 MB / 7.947 GB, free: 58.61 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005591/24.36, allocations: 18.56 kB / 7.947 GB, free: 58.61 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003169/24.36, allocations: 316.4 kB / 7.948 GB, free: 58.61 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003727/24.36, allocations: 312.5 kB / 7.948 GB, free: 58.59 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02751/24.39, allocations: 6.782 MB / 7.955 GB, free: 58.52 MB / 1.354 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.09031/24.48, allocations: 41.41 MB / 7.995 GB, free: 37.98 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/24.49, allocations: 4.889 MB / 8 GB, free: 37.11 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006563/24.5, allocations: 2.474 MB / 8.002 GB, free: 37.07 MB / 1.354 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 evalFunc (simulation): time 0.04049/24.54, allocations: 10.38 MB / 8.012 GB, free: 34.19 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009062/24.55, allocations: 2.597 MB / 8.015 GB, free: 34.03 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008165/24.56, allocations: 0.5306 MB / 8.015 GB, free: 33.8 MB / 1.354 GB Notification: Performance of pre-optimization done (n=448): time 2.436e-05/24.56, allocations: 1.031 kB / 8.015 GB, free: 33.8 MB / 1.354 GB Notification: Performance of matching and sorting (n=456): time 0.03513/24.59, allocations: 11.46 MB / 8.027 GB, free: 31.17 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/24.59, allocations: 390.8 kB / 8.027 GB, free: 30.75 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01994/24.61, allocations: 7.42 MB / 8.034 GB, free: 30.13 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001799/24.61, allocations: 144.5 kB / 8.034 GB, free: 30.1 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.006772/24.62, allocations: 5.132 MB / 8.039 GB, free: 28.62 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.002747/24.62, allocations: 1.565 MB / 8.041 GB, free: 27.62 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/24.62, allocations: 115.1 kB / 8.041 GB, free: 27.62 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0006191/24.62, allocations: 0.5281 MB / 8.042 GB, free: 27.3 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004748/24.63, allocations: 1.935 MB / 8.043 GB, free: 27.29 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00566/24.63, allocations: 3.845 MB / 8.047 GB, free: 25.02 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00586/24.64, allocations: 2.589 MB / 8.05 GB, free: 24.78 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.588e-05/24.64, allocations: 13.06 kB / 8.05 GB, free: 24.78 MB / 1.354 GB Notification: Performance of matching and sorting (n=741) (initialization): time 0.0232/24.66, allocations: 7.17 MB / 8.057 GB, free: 23.72 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.008813/24.67, allocations: 22.83 MB / 8.079 GB, free: 15.9 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/24.67, allocations: 43.12 kB / 8.079 GB, free: 15.9 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004429/24.68, allocations: 0.9608 MB / 8.08 GB, free: 15.84 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006389/24.68, allocations: 1.262 MB / 8.081 GB, free: 15.75 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00878/24.69, allocations: 7.304 MB / 8.088 GB, free: 10.09 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/24.71, allocations: 0.7953 MB / 8.089 GB, free: 9.953 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/24.71, allocations: 281.3 kB / 8.089 GB, free: 9.953 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/24.71, allocations: 2.562 kB / 8.089 GB, free: 9.953 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01788/24.73, allocations: 6.167 MB / 8.095 GB, free: 9.402 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/24.73, allocations: 36.75 kB / 8.095 GB, free: 9.402 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00365/24.73, allocations: 0.9066 MB / 8.096 GB, free: 9.336 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005599/24.73, allocations: 1.222 MB / 8.098 GB, free: 9.254 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/24.75, allocations: 9.102 MB / 8.106 GB, free: 19.22 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/24.76, allocations: 0.7249 MB / 8.107 GB, free: 19.12 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/24.76, allocations: 268.9 kB / 8.107 GB, free: 19.12 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition4,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysTOut.y,hysTOut.y,$PRE.hysTBoi.y,hysTBoi.y,and1.y,and2.y,$PRE.hysPum.y,hysPum.y,$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 (684): * Single equations (assignments): 676 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 3 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003376/24.76, allocations: 481.1 kB / 8.108 GB, free: 18.89 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004128/24.77, allocations: 0.9358 MB / 8.109 GB, free: 18.39 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01883/24.79, allocations: 6.273 MB / 8.115 GB, free: 17.84 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.008e-05/24.79, allocations: 47.53 kB / 8.115 GB, free: 17.84 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.982e-05/24.79, allocations: 2.281 kB / 8.115 GB, free: 17.84 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01027/24.8, allocations: 4.573 MB / 8.119 GB, free: 17.46 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04235/24.84, allocations: 14.31 MB / 8.133 GB, free: 16.45 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/24.84, allocations: 4.406 kB / 8.133 GB, free: 16.45 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004641/24.84, allocations: 0.8713 MB / 8.134 GB, free: 16.4 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002379/24.85, allocations: 0.7251 MB / 8.135 GB, free: 16.29 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/24.85, allocations: 137.4 kB / 8.135 GB, free: 16.29 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/24.86, allocations: 13.21 MB / 8.148 GB, free: 4.844 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/24.86, allocations: 0 / 8.148 GB, free: 4.844 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.022/24.88, allocations: 8.458 MB / 8.156 GB, free: 3.59 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008531/24.89, allocations: 1.758 MB / 8.158 GB, free: 2.98 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004338/24.89, allocations: 105 kB / 8.158 GB, free: 2.98 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01012/24.9, allocations: 0.6859 MB / 8.159 GB, free: 2.891 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001392/24.91, allocations: 332.3 kB / 8.159 GB, free: 2.883 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001347/24.91, allocations: 206.9 kB / 8.159 GB, free: 2.883 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01439/24.92, allocations: 5.608 MB / 8.165 GB, free: 2.551 MB / 1.385 GB Notification: Performance of sort global known variables: time 7.81e-07/24.92, allocations: 0 / 8.165 GB, free: 2.551 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.02965/24.95, allocations: 5.194 MB / 8.17 GB, free: 2.309 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2],mix.vol.dynBal.U,spl.vol.dynBal.U,spl2.vol.dynBal.U,mix2.vol.dynBal.U,spl4.vol.dynBal.U,pumBoi.vol.dynBal.U,pumBoi.filter.s[1],pumBoi.filter.s[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.filter.s[1],valRad.filter.s[2],valBoi.vol.dynBal.U,valBoi.filter.s[1],valBoi.filter.s[2],temRet.T,spl1.vol.dynBal.U,conPIDBoi.I.y,conPIDRad.I.y) * Number of discrete variables: 14 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,hysTBoi.y,hysPum.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext,hysTOut.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (453): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01294/24.96, allocations: 6.366 MB / 8.176 GB, free: 14.89 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02424/24.99, allocations: 9.831 MB / 8.186 GB, free: 13.5 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/24.99, allocations: 13.47 kB / 8.186 GB, free: 13.5 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.007129/25, allocations: 3.408 MB / 8.189 GB, free: 12.49 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02471/25.02, allocations: 4.515 MB / 8.193 GB, free: 12.21 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04192/25.06, allocations: 15.39 MB / 8.208 GB, free: 6.422 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/25.07, allocations: 5.519 MB / 8.214 GB, free: 2.906 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.02315/25.1, allocations: 3.782 MB / 8.217 GB, free: 472 kB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/25.1, allocations: 0.5782 MB / 8.218 GB, free: 15.98 MB / 1.417 GB Notification: Performance of SimCode: time 9.72e-07/25.1, allocations: 0 / 8.218 GB, free: 15.98 MB / 1.417 GB Notification: Performance of Templates: time 1.3/26.4, allocations: 225.8 MB / 8.439 GB, free: 132.7 MB / 1.432 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System6.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches