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.384/2.384, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001141/0.001141, allocations: 184.8 kB / 487.4 MB, free: 5.004 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.539/1.539, allocations: 221.5 MB / 0.7824 GB, free: 0.8867 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.0009172/0.0009172, allocations: 93.27 kB / 0.9219 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.644e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.99/6.318, allocations: 2.242 GB / 3.448 GB, free: 56.52 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/6.319, allocations: 92 kB / 3.448 GB, free: 56.48 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.67/22.99, allocations: 4.436 GB / 7.884 GB, free: 64.63 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.156e-06/22.99, allocations: 0 / 7.884 GB, free: 64.63 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002874/22.99, allocations: 322.7 kB / 7.885 GB, free: 64.57 MB / 1.339 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.04164/23.03, allocations: 10.18 MB / 7.894 GB, free: 60.05 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/23.03, allocations: 10.5 kB / 7.894 GB, free: 60.05 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/23.05, allocations: 2.425 MB / 7.897 GB, free: 59.31 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0541/23.1, allocations: 13.38 MB / 7.91 GB, free: 57.57 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006877/23.11, allocations: 243.2 kB / 7.91 GB, free: 57.57 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/23.11, allocations: 480.6 kB / 7.911 GB, free: 57.57 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02068/23.13, allocations: 6.379 MB / 7.917 GB, free: 57.54 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/23.16, allocations: 7.287 MB / 7.924 GB, free: 56.59 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006293/23.16, allocations: 23.22 kB / 7.924 GB, free: 56.58 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003521/23.17, allocations: 10.75 kB / 7.924 GB, free: 56.58 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004212/23.17, allocations: 312.5 kB / 7.924 GB, free: 56.56 MB / 1.339 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.09413/23.26, allocations: 40.11 MB / 7.963 GB, free: 35.93 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/23.27, allocations: 4.396 MB / 7.968 GB, free: 35.73 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005747/23.28, allocations: 2.555 MB / 7.97 GB, free: 35.68 MB / 1.339 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.03267/23.31, allocations: 10.16 MB / 7.98 GB, free: 32.8 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006174/23.32, allocations: 2.496 MB / 7.983 GB, free: 32.64 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008276/23.32, allocations: 379.4 kB / 7.983 GB, free: 32.43 MB / 1.339 GB Notification: Performance of pre-optimization done (n=452): time 3.128e-05/23.32, allocations: 0 / 7.983 GB, free: 32.43 MB / 1.339 GB Notification: Performance of matching and sorting (n=457): time 0.05178/23.38, allocations: 11.56 MB / 7.994 GB, free: 29.82 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001963/23.38, allocations: 388.3 kB / 7.995 GB, free: 29.41 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02215/23.4, allocations: 6.776 MB / 8.001 GB, free: 28.83 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001999/23.4, allocations: 40.42 kB / 8.001 GB, free: 28.8 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.008598/23.41, allocations: 5.093 MB / 8.006 GB, free: 27.26 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.003131/23.41, allocations: 1.509 MB / 8.008 GB, free: 26.26 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/23.41, allocations: 0 / 8.008 GB, free: 26.26 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0007055/23.41, allocations: 0.5244 MB / 8.008 GB, free: 25.94 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004883/23.42, allocations: 1.924 MB / 8.01 GB, free: 25.93 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005875/23.43, allocations: 3.778 MB / 8.014 GB, free: 23.67 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007364/23.43, allocations: 2.733 MB / 8.016 GB, free: 23.46 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.778e-05/23.43, allocations: 10.69 kB / 8.016 GB, free: 23.46 MB / 1.339 GB Notification: Performance of matching and sorting (n=742) (initialization): time 0.02066/23.45, allocations: 7.03 MB / 8.023 GB, free: 22.46 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.007621/23.46, allocations: 22.6 MB / 8.045 GB, free: 14.65 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/23.46, allocations: 36.69 kB / 8.045 GB, free: 14.65 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003721/23.46, allocations: 0.8389 MB / 8.046 GB, free: 14.57 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006537/23.47, allocations: 1.275 MB / 8.047 GB, free: 14.49 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00874/23.48, allocations: 7.295 MB / 8.055 GB, free: 8.996 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/23.49, allocations: 0.6594 MB / 8.055 GB, free: 8.859 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/23.49, allocations: 279.2 kB / 8.056 GB, free: 8.859 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/23.49, allocations: 8.594 kB / 8.056 GB, free: 8.855 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0193/23.51, allocations: 5.733 MB / 8.061 GB, free: 8.348 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/23.51, allocations: 43.03 kB / 8.061 GB, free: 8.348 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/23.52, allocations: 0.803 MB / 8.062 GB, free: 8.285 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005891/23.52, allocations: 1.224 MB / 8.063 GB, free: 8.203 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/23.54, allocations: 8.854 MB / 8.072 GB, free: 18.43 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/23.55, allocations: 0.6103 MB / 8.072 GB, free: 18.31 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/23.55, allocations: 261.4 kB / 8.073 GB, free: 18.31 MB / 1.37 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 (685): * Single equations (assignments): 677 * 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 {5 6,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003502/23.55, allocations: 274.4 kB / 8.073 GB, free: 18.09 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004043/23.56, allocations: 0.9243 MB / 8.074 GB, free: 17.6 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01954/23.58, allocations: 5.99 MB / 8.08 GB, free: 17.04 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.895e-05/23.58, allocations: 55.67 kB / 8.08 GB, free: 17.04 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.059e-05/23.58, allocations: 3.656 kB / 8.08 GB, free: 17.04 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01123/23.59, allocations: 4.414 MB / 8.084 GB, free: 16.64 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04654/23.64, allocations: 13.22 MB / 8.097 GB, free: 15.64 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/23.64, allocations: 0 / 8.097 GB, free: 15.64 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004766/23.64, allocations: 0.8661 MB / 8.098 GB, free: 15.59 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/23.64, allocations: 0.6631 MB / 8.098 GB, free: 15.5 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001174/23.64, allocations: 79.23 kB / 8.099 GB, free: 15.49 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/23.65, allocations: 12.87 MB / 8.111 GB, free: 4.539 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/23.65, allocations: 4.062 kB / 8.111 GB, free: 4.535 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02133/23.68, allocations: 8.239 MB / 8.119 GB, free: 3.285 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008284/23.68, allocations: 1.732 MB / 8.121 GB, free: 2.691 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005052/23.69, allocations: 24.78 kB / 8.121 GB, free: 2.691 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/23.7, allocations: 0.6114 MB / 8.121 GB, free: 2.594 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001652/23.7, allocations: 327.6 kB / 8.122 GB, free: 2.586 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001503/23.7, allocations: 211.2 kB / 8.122 GB, free: 2.586 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01627/23.72, allocations: 5.004 MB / 8.127 GB, free: 2.297 MB / 1.37 GB Notification: Performance of sort global known variables: time 6.61e-07/23.72, allocations: 1.312 kB / 8.127 GB, free: 2.297 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03811/23.76, allocations: 4.892 MB / 8.132 GB, free: 2.066 MB / 1.37 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 (454): * Single equations (assignments): 431 * 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.01552/23.77, allocations: 6.144 MB / 8.138 GB, free: 14.98 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.0254/23.8, allocations: 9.369 MB / 8.147 GB, free: 13.72 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/23.8, allocations: 6.219 kB / 8.147 GB, free: 13.72 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.007206/23.81, allocations: 3.287 MB / 8.15 GB, free: 11.69 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02923/23.84, allocations: 4.357 MB / 8.154 GB, free: 9.227 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05403/23.89, allocations: 15.16 MB / 8.169 GB, free: 13.04 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01262/23.9, allocations: 5.515 MB / 8.174 GB, free: 9.16 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.02904/23.93, allocations: 3.732 MB / 8.178 GB, free: 6.66 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003724/23.94, allocations: 0.5677 MB / 8.179 GB, free: 6.145 MB / 1.401 GB Notification: Performance of SimCode: time 1.793e-06/23.94, allocations: 6.156 kB / 8.179 GB, free: 6.141 MB / 1.401 GB Notification: Performance of Templates: time 1.498/25.43, allocations: 190.8 MB / 8.365 GB, free: 130.3 MB / 1.417 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