Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.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.CDL.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conRadSup.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System6") translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conRadSup.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001055/0.001055, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.513/1.513, 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.001039/0.001039, allocations: 101.8 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.327e-05/1.33e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2677, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.649/5.917, allocations: 2.244 GB / 3.45 GB, free: 77.91 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/5.917, allocations: 87.95 kB / 3.45 GB, free: 77.83 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.27/24.19, allocations: 4.437 GB / 7.887 GB, free: 64.25 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.186e-06/24.19, allocations: 0 / 7.887 GB, free: 64.25 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002653/24.19, allocations: 329.9 kB / 7.887 GB, free: 64.2 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: 1924 * Number of variables: 1924 Notification: Performance of Generate backend data structure: time 0.04256/24.24, allocations: 10.24 MB / 7.897 GB, free: 59.65 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/24.24, allocations: 8.062 kB / 7.897 GB, free: 59.65 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01811/24.25, allocations: 2.434 MB / 7.9 GB, free: 58.91 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05075/24.3, allocations: 13.43 MB / 7.913 GB, free: 57.16 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006582/24.3, allocations: 242.1 kB / 7.913 GB, free: 57.16 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003968/24.31, allocations: 484.3 kB / 7.914 GB, free: 57.16 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01978/24.33, allocations: 6.435 MB / 7.92 GB, free: 57.12 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02767/24.36, allocations: 7.348 MB / 7.927 GB, free: 56.18 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/24.36, allocations: 20.25 kB / 7.927 GB, free: 56.17 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001242/24.36, allocations: 16.16 kB / 7.927 GB, free: 56.17 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002851/24.36, allocations: 307.6 kB / 7.927 GB, free: 56.16 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.08565/24.44, allocations: 40.44 MB / 7.967 GB, free: 35.81 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008769/24.45, allocations: 4.402 MB / 7.971 GB, free: 35.63 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003951/24.46, allocations: 2.571 MB / 7.974 GB, free: 35.58 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.02907/24.49, allocations: 10.25 MB / 7.984 GB, free: 32.7 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005258/24.49, allocations: 2.508 MB / 7.986 GB, free: 32.54 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007555/24.5, allocations: 379.6 kB / 7.987 GB, free: 32.34 MB / 1.339 GB Notification: Performance of pre-optimization done (n=452): time 2.415e-05/24.5, allocations: 0 / 7.987 GB, free: 32.34 MB / 1.339 GB Notification: Performance of matching and sorting (n=457): time 0.03837/24.54, allocations: 11.62 MB / 7.998 GB, free: 29.71 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/24.54, allocations: 383.5 kB / 7.998 GB, free: 29.3 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01676/24.55, allocations: 6.814 MB / 8.005 GB, free: 28.72 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.002002/24.56, allocations: 42.52 kB / 8.005 GB, free: 28.69 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.006336/24.56, allocations: 5.136 MB / 8.01 GB, free: 27.15 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002827/24.57, allocations: 1.507 MB / 8.011 GB, free: 26.14 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004728/24.57, allocations: 4 kB / 8.011 GB, free: 26.14 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0003623/24.57, allocations: 0.5264 MB / 8.012 GB, free: 25.82 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/24.57, allocations: 1.941 MB / 8.014 GB, free: 25.8 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/24.57, allocations: 3.774 MB / 8.018 GB, free: 23.58 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006025/24.58, allocations: 2.748 MB / 8.02 GB, free: 23.37 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-05/24.58, allocations: 12.19 kB / 8.02 GB, free: 23.37 MB / 1.339 GB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01758/24.6, allocations: 7.051 MB / 8.027 GB, free: 22.37 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.007368/24.6, allocations: 22.51 MB / 8.049 GB, free: 14.69 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/24.6, allocations: 37.88 kB / 8.049 GB, free: 14.69 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/24.61, allocations: 0.836 MB / 8.05 GB, free: 14.62 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006671/24.62, allocations: 1.268 MB / 8.051 GB, free: 14.53 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008921/24.62, allocations: 7.295 MB / 8.058 GB, free: 9.043 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01338/24.64, allocations: 0.6618 MB / 8.059 GB, free: 8.914 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002283/24.64, allocations: 277.1 kB / 8.059 GB, free: 8.914 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/24.64, allocations: 13.7 kB / 8.059 GB, free: 8.91 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02045/24.66, allocations: 5.746 MB / 8.065 GB, free: 8.406 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/24.66, allocations: 39.22 kB / 8.065 GB, free: 8.406 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/24.66, allocations: 0.8133 MB / 8.066 GB, free: 8.34 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006263/24.67, allocations: 1.216 MB / 8.067 GB, free: 8.258 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/24.68, allocations: 8.862 MB / 8.076 GB, free: 18.48 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/24.7, allocations: 0.6236 MB / 8.076 GB, free: 18.37 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/24.7, allocations: 264.5 kB / 8.076 GB, free: 18.37 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * 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.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y,$PRE.conEquSta.hys.y,conEquSta.hys.y,boiPumCon.u,boiSigCon.u) * 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 {5 6,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003853/24.7, allocations: 277.9 kB / 8.077 GB, free: 18.14 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004586/24.71, allocations: 0.9203 MB / 8.078 GB, free: 17.66 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/24.73, allocations: 6.021 MB / 8.083 GB, free: 17.09 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.399e-05/24.73, allocations: 54.69 kB / 8.084 GB, free: 17.09 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.528e-05/24.73, allocations: 3.594 kB / 8.084 GB, free: 17.09 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01125/24.74, allocations: 4.427 MB / 8.088 GB, free: 16.72 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04419/24.78, allocations: 13.34 MB / 8.101 GB, free: 15.73 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/24.78, allocations: 0 / 8.101 GB, free: 15.73 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003928/24.79, allocations: 0.8679 MB / 8.102 GB, free: 15.69 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/24.79, allocations: 0.6646 MB / 8.102 GB, free: 15.59 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005319/24.79, allocations: 80.98 kB / 8.102 GB, free: 15.59 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/24.8, allocations: 12.91 MB / 8.115 GB, free: 4.66 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/24.8, allocations: 1.062 kB / 8.115 GB, free: 4.66 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01929/24.82, allocations: 8.286 MB / 8.123 GB, free: 3.414 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01281/24.83, allocations: 1.758 MB / 8.125 GB, free: 2.812 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005229/24.84, allocations: 23.17 kB / 8.125 GB, free: 2.812 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01052/24.85, allocations: 0.624 MB / 8.125 GB, free: 2.719 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001356/24.85, allocations: 324.5 kB / 8.126 GB, free: 2.711 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007202/24.85, allocations: 212.2 kB / 8.126 GB, free: 2.707 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01206/24.86, allocations: 5.032 MB / 8.131 GB, free: 2.422 MB / 1.37 GB Notification: Performance of sort global known variables: time 7.01e-07/24.86, allocations: 0 / 8.131 GB, free: 2.422 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03219/24.89, allocations: 4.897 MB / 8.136 GB, free: 2.191 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,conBoiRet.conPID.I.y,conRadSup.conPIDRad.I.y) * Number of discrete variables: 14 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,conSysSta.onTOut.y,conSysSta.onTRoo.y,conEquSta.hys.y,boiPumCon.u,boiSigCon.u) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,conSysSta.onTRoo.y,conEquSta.hys.y,conSysSta.onTOut.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.01458/24.91, allocations: 6.154 MB / 8.142 GB, free: 15.14 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.023/24.93, allocations: 9.405 MB / 8.151 GB, free: 13.88 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/24.93, allocations: 11.44 kB / 8.151 GB, free: 13.88 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.006047/24.94, allocations: 3.312 MB / 8.154 GB, free: 12.94 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02676/24.97, allocations: 4.363 MB / 8.158 GB, free: 12.65 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04011/25.01, allocations: 15.23 MB / 8.173 GB, free: 8.25 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009578/25.01, allocations: 5.531 MB / 8.179 GB, free: 4.828 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.02388/25.04, allocations: 3.746 MB / 8.182 GB, free: 2.32 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003251/25.04, allocations: 0.5652 MB / 8.183 GB, free: 1.836 MB / 1.385 GB Notification: Performance of SimCode: time 1.834e-06/25.04, allocations: 3.938 kB / 8.183 GB, free: 1.832 MB / 1.385 GB Notification: Performance of Templates: time 2.867/27.91, allocations: 191.5 MB / 8.37 GB, free: 132.4 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System6.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System6.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System6.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches