Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System5.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.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System5") translateModel(Buildings.Examples.Tutorial.CDL.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001085/0.001085, allocations: 188.8 kB / 487.4 MB, free: 5.02 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.531/1.531, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.001033/0.001033, allocations: 102 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.017e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2715, allocations: 142.3 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/6.093, allocations: 2.243 GB / 3.449 GB, free: 77.87 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/6.094, allocations: 88.86 kB / 3.449 GB, free: 77.78 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.44/24.53, allocations: 4.434 GB / 7.883 GB, free: 63.28 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.436e-06/24.53, allocations: 4 kB / 7.883 GB, free: 63.28 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.00304/24.53, allocations: 323.1 kB / 7.884 GB, free: 63.22 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: 1870 * Number of variables: 1870 Notification: Performance of Generate backend data structure: time 0.0426/24.58, allocations: 10.06 MB / 7.893 GB, free: 58.75 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/24.58, allocations: 11.19 kB / 7.893 GB, free: 58.75 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/24.6, allocations: 2.412 MB / 7.896 GB, free: 58.02 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04674/24.64, allocations: 13.31 MB / 7.909 GB, free: 56.29 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007127/24.64, allocations: 241.7 kB / 7.909 GB, free: 56.29 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004087/24.65, allocations: 469.7 kB / 7.91 GB, free: 56.29 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02092/24.67, allocations: 6.29 MB / 7.916 GB, free: 56.26 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03136/24.7, allocations: 7.174 MB / 7.923 GB, free: 55.32 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000641/24.7, allocations: 22.61 kB / 7.923 GB, free: 55.32 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003577/24.7, allocations: 13.12 kB / 7.923 GB, free: 55.32 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004227/24.7, allocations: 306 kB / 7.923 GB, free: 55.3 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.09276/24.8, allocations: 39.82 MB / 7.962 GB, free: 35 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/24.81, allocations: 4.149 MB / 7.966 GB, free: 34.92 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005589/24.81, allocations: 2.5 MB / 7.968 GB, free: 34.87 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.02957/24.84, allocations: 10.11 MB / 7.978 GB, free: 32 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004251/24.85, allocations: 2.446 MB / 7.981 GB, free: 31.85 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007146/24.85, allocations: 372.7 kB / 7.981 GB, free: 31.65 MB / 1.339 GB Notification: Performance of pre-optimization done (n=437): time 2.69e-05/24.85, allocations: 0 / 7.981 GB, free: 31.65 MB / 1.339 GB Notification: Performance of matching and sorting (n=442): time 0.04116/24.9, allocations: 11.37 MB / 7.992 GB, free: 29.07 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/24.9, allocations: 338.4 kB / 7.992 GB, free: 28.71 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01825/24.91, allocations: 6.707 MB / 7.999 GB, free: 28.14 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.002067/24.92, allocations: 42.47 kB / 7.999 GB, free: 28.11 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.00737/24.92, allocations: 5.024 MB / 8.004 GB, free: 26.6 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.003163/24.93, allocations: 1.461 MB / 8.005 GB, free: 25.62 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005948/24.93, allocations: 0 / 8.005 GB, free: 25.62 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0004568/24.93, allocations: 0.5152 MB / 8.006 GB, free: 25.31 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/24.93, allocations: 1.899 MB / 8.008 GB, free: 25.3 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00489/24.94, allocations: 3.699 MB / 8.011 GB, free: 23.11 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007232/24.94, allocations: 2.688 MB / 8.014 GB, free: 22.89 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.766e-05/24.94, allocations: 12.44 kB / 8.014 GB, free: 22.89 MB / 1.339 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02042/24.96, allocations: 6.906 MB / 8.021 GB, free: 21.9 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.007886/24.97, allocations: 22.27 MB / 8.042 GB, free: 14.35 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/24.97, allocations: 40.78 kB / 8.042 GB, free: 14.35 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/24.98, allocations: 0.8401 MB / 8.043 GB, free: 14.28 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006667/24.98, allocations: 1.231 MB / 8.045 GB, free: 14.2 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008732/24.99, allocations: 7.284 MB / 8.052 GB, free: 24.71 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/25, allocations: 0.6518 MB / 8.052 GB, free: 24.58 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002096/25.01, allocations: 273.1 kB / 8.053 GB, free: 24.58 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/25.01, allocations: 3.281 kB / 8.053 GB, free: 24.58 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01344/25.02, allocations: 5.629 MB / 8.058 GB, free: 24.07 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.663e-05/25.02, allocations: 39.72 kB / 8.058 GB, free: 24.07 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/25.02, allocations: 0.803 MB / 8.059 GB, free: 24.01 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/25.03, allocations: 1.197 MB / 8.06 GB, free: 23.93 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/25.04, allocations: 8.851 MB / 8.069 GB, free: 18.15 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/25.05, allocations: 0.6114 MB / 8.069 GB, free: 18.03 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002114/25.06, allocations: 259.3 kB / 8.07 GB, free: 18.03 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: 20 ($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 (666): * Single equations (assignments): 658 * 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.003951/25.06, allocations: 275.7 kB / 8.07 GB, free: 17.82 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00488/25.06, allocations: 0.908 MB / 8.071 GB, free: 17.34 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/25.08, allocations: 5.899 MB / 8.076 GB, free: 16.84 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/25.08, allocations: 46.69 kB / 8.076 GB, free: 16.84 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/25.08, allocations: 2.969 kB / 8.076 GB, free: 16.84 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007947/25.09, allocations: 4.341 MB / 8.081 GB, free: 16.54 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03416/25.12, allocations: 13.07 MB / 8.093 GB, free: 15.64 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/25.12, allocations: 0 / 8.093 GB, free: 15.64 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003713/25.13, allocations: 0.8367 MB / 8.094 GB, free: 15.59 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/25.13, allocations: 0.6738 MB / 8.095 GB, free: 15.49 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003933/25.13, allocations: 73.81 kB / 8.095 GB, free: 15.49 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/25.14, allocations: 12.93 MB / 8.108 GB, free: 4.535 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/25.14, allocations: 0 / 8.108 GB, free: 4.535 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/25.16, allocations: 8.105 MB / 8.116 GB, free: 3.383 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007589/25.16, allocations: 1.719 MB / 8.117 GB, free: 2.793 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003877/25.17, allocations: 21.03 kB / 8.117 GB, free: 2.793 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/25.18, allocations: 0.6125 MB / 8.118 GB, free: 2.703 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001268/25.18, allocations: 310.5 kB / 8.118 GB, free: 2.695 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009109/25.18, allocations: 206.4 kB / 8.118 GB, free: 2.695 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01546/25.2, allocations: 4.965 MB / 8.123 GB, free: 2.406 MB / 1.37 GB Notification: Performance of sort global known variables: time 4.4e-07/25.2, allocations: 0 / 8.123 GB, free: 2.406 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03535/25.23, allocations: 4.866 MB / 8.128 GB, free: 2.176 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: 13 ($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 (438): * Single equations (assignments): 415 * 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.01331/25.25, allocations: 6.142 MB / 8.134 GB, free: 15.14 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02169/25.27, allocations: 9.232 MB / 8.143 GB, free: 13.91 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/25.27, allocations: 6.531 kB / 8.143 GB, free: 13.91 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.005669/25.27, allocations: 3.253 MB / 8.146 GB, free: 12.98 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02721/25.3, allocations: 4.341 MB / 8.15 GB, free: 12.7 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03946/25.34, allocations: 14.93 MB / 8.165 GB, free: 8.098 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008287/25.35, allocations: 5.449 MB / 8.17 GB, free: 4.637 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.02199/25.37, allocations: 3.718 MB / 8.174 GB, free: 2.148 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00264/25.37, allocations: 0.5607 MB / 8.174 GB, free: 1.668 MB / 1.385 GB Notification: Performance of SimCode: time 1.282e-06/25.37, allocations: 0 / 8.174 GB, free: 1.668 MB / 1.385 GB Notification: Performance of Templates: time 2.78/28.15, allocations: 189.6 MB / 8.36 GB, free: 133.2 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System5.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System5.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System5.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches