Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System3.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.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System3") translateModel(Buildings.Examples.Tutorial.CDL.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001092/0.001092, allocations: 172.8 kB / 487.4 MB, free: 5.055 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.537/1.537, allocations: 221.5 MB / 0.7824 GB, free: 1.027 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.001198/0.001198, allocations: 106.8 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.604e-05/1.608e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.362, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.801/6.163, allocations: 2.243 GB / 3.449 GB, free: 55.86 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/6.163, allocations: 87.33 kB / 3.449 GB, free: 55.81 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.61/24.78, allocations: 4.433 GB / 7.882 GB, free: 64.32 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.355e-06/24.78, allocations: 0 / 7.882 GB, free: 64.32 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002693/24.78, allocations: 317.6 kB / 7.882 GB, free: 64.26 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.03814/24.82, allocations: 9.963 MB / 7.892 GB, free: 59.81 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/24.82, allocations: 11.84 kB / 7.892 GB, free: 59.81 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/24.83, allocations: 2.396 MB / 7.894 GB, free: 59.08 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04575/24.88, allocations: 13.3 MB / 7.907 GB, free: 57.36 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007051/24.88, allocations: 228.3 kB / 7.907 GB, free: 57.36 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00481/24.89, allocations: 466.2 kB / 7.908 GB, free: 57.35 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01996/24.91, allocations: 6.25 MB / 7.914 GB, free: 57.32 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02597/24.93, allocations: 7.129 MB / 7.921 GB, free: 56.37 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003138/24.93, allocations: 23.91 kB / 7.921 GB, free: 56.37 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/24.93, allocations: 14.66 kB / 7.921 GB, free: 56.37 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002969/24.93, allocations: 296.1 kB / 7.921 GB, free: 56.35 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.07803/25.01, allocations: 39.77 MB / 7.96 GB, free: 35.86 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009983/25.02, allocations: 4.082 MB / 7.964 GB, free: 35.77 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005997/25.03, allocations: 2.474 MB / 7.966 GB, free: 35.73 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.0335/25.06, allocations: 10.15 MB / 7.976 GB, free: 32.86 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006596/25.07, allocations: 2.396 MB / 7.979 GB, free: 32.71 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007606/25.08, allocations: 371.1 kB / 7.979 GB, free: 32.51 MB / 1.339 GB Notification: Performance of pre-optimization done (n=425): time 3.112e-05/25.08, allocations: 4 kB / 7.979 GB, free: 32.5 MB / 1.339 GB Notification: Performance of matching and sorting (n=430): time 0.0471/25.12, allocations: 11.26 MB / 7.99 GB, free: 29.93 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/25.12, allocations: 337 kB / 7.99 GB, free: 29.57 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02057/25.14, allocations: 6.718 MB / 7.997 GB, free: 29 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001752/25.15, allocations: 43.55 kB / 7.997 GB, free: 28.96 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.007918/25.15, allocations: 4.997 MB / 8.002 GB, free: 27.45 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002892/25.16, allocations: 1.436 MB / 8.003 GB, free: 26.5 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/25.16, allocations: 0 / 8.003 GB, free: 26.5 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0006333/25.16, allocations: 0.5214 MB / 8.004 GB, free: 26.18 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004661/25.16, allocations: 1.872 MB / 8.006 GB, free: 26.16 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005962/25.17, allocations: 3.671 MB / 8.009 GB, free: 23.98 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007753/25.18, allocations: 2.668 MB / 8.012 GB, free: 23.77 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/25.18, allocations: 15.88 kB / 8.012 GB, free: 23.77 MB / 1.339 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.02455/25.2, allocations: 6.897 MB / 8.019 GB, free: 22.78 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.01171/25.21, allocations: 22.24 MB / 8.04 GB, free: 15.23 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002709/25.21, allocations: 40.38 kB / 8.04 GB, free: 15.23 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004149/25.22, allocations: 0.8374 MB / 8.041 GB, free: 15.16 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007143/25.23, allocations: 1.229 MB / 8.042 GB, free: 15.08 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/25.24, allocations: 7.294 MB / 8.049 GB, free: 25.59 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01526/25.25, allocations: 0.6134 MB / 8.05 GB, free: 25.46 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/25.25, allocations: 268.2 kB / 8.05 GB, free: 25.46 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/25.25, allocations: 4.625 kB / 8.05 GB, free: 25.46 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02005/25.27, allocations: 5.62 MB / 8.056 GB, free: 24.96 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/25.27, allocations: 41.59 kB / 8.056 GB, free: 24.96 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003356/25.28, allocations: 0.8063 MB / 8.057 GB, free: 24.89 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005982/25.28, allocations: 1.191 MB / 8.058 GB, free: 24.81 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/25.3, allocations: 8.863 MB / 8.066 GB, free: 19.02 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/25.31, allocations: 0.57 MB / 8.067 GB, free: 18.92 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00209/25.31, allocations: 259.3 kB / 8.067 GB, free: 18.92 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 12 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 650 * 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.003937/25.32, allocations: 274.2 kB / 8.067 GB, free: 18.7 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004749/25.32, allocations: 0.8977 MB / 8.068 GB, free: 18.22 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02089/25.34, allocations: 5.827 MB / 8.074 GB, free: 17.73 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-05/25.34, allocations: 53.05 kB / 8.074 GB, free: 17.73 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.612e-05/25.34, allocations: 6.875 kB / 8.074 GB, free: 17.73 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01154/25.35, allocations: 4.288 MB / 8.078 GB, free: 17.42 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04659/25.4, allocations: 12.99 MB / 8.091 GB, free: 16.51 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/25.4, allocations: 0 / 8.091 GB, free: 16.51 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004457/25.4, allocations: 0.829 MB / 8.092 GB, free: 16.47 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/25.41, allocations: 0.6742 MB / 8.092 GB, free: 16.37 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/25.41, allocations: 85.03 kB / 8.093 GB, free: 16.36 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/25.42, allocations: 12.92 MB / 8.105 GB, free: 5.402 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/25.42, allocations: 3.75 kB / 8.105 GB, free: 5.402 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02108/25.44, allocations: 7.993 MB / 8.113 GB, free: 4.246 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008208/25.45, allocations: 1.703 MB / 8.115 GB, free: 3.66 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004434/25.45, allocations: 26.36 kB / 8.115 GB, free: 3.66 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01023/25.46, allocations: 0.5789 MB / 8.115 GB, free: 3.57 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/25.46, allocations: 297.5 kB / 8.115 GB, free: 3.562 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001294/25.47, allocations: 202 kB / 8.116 GB, free: 3.562 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01532/25.48, allocations: 4.97 MB / 8.121 GB, free: 3.273 MB / 1.37 GB Notification: Performance of sort global known variables: time 3.71e-07/25.48, allocations: 0 / 8.121 GB, free: 3.273 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.04329/25.52, allocations: 4.858 MB / 8.125 GB, free: 3.039 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 30 (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) * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 4 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 403 * 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.01359/25.54, allocations: 6.133 MB / 8.131 GB, free: 16 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02182/25.56, allocations: 9.131 MB / 8.14 GB, free: 14.78 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/25.56, allocations: 6.688 kB / 8.14 GB, free: 14.78 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.006667/25.57, allocations: 3.169 MB / 8.143 GB, free: 13.84 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02574/25.59, allocations: 4.331 MB / 8.148 GB, free: 13.55 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04385/25.64, allocations: 14.81 MB / 8.162 GB, free: 4.105 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008015/25.64, allocations: 5.427 MB / 8.167 GB, free: 0.6562 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.01953/25.66, allocations: 3.769 MB / 8.171 GB, free: 14.3 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/25.67, allocations: 0.5558 MB / 8.172 GB, free: 13.82 MB / 1.401 GB Notification: Performance of SimCode: time 2.575e-06/25.67, allocations: 0 / 8.172 GB, free: 13.82 MB / 1.401 GB Notification: Performance of Templates: time 1.477/27.14, allocations: 188.3 MB / 8.355 GB, free: 135.9 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System3.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System3.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System3.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches