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.421/2.421, allocations: 390.3 MB / 405.3 MB, free: 13.3 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.001202/0.001202, allocations: 177 kB / 498.1 MB, free: 5.531 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.818/1.818, allocations: 223.2 MB / 0.7949 GB, free: 17.86 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.001081/0.001081, allocations: 110.5 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004439, allocations: 6.875 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4567, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.547/7.003, allocations: 2.244 GB / 3.467 GB, free: 238.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/7.004, allocations: 96.52 kB / 3.467 GB, free: 238.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 19.1/26.1, allocations: 4.467 GB / 7.934 GB, free: 16.51 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.948e-06/26.1, allocations: 0 / 7.934 GB, free: 16.51 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002626/26.1, allocations: 325.6 kB / 7.935 GB, free: 16.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: 1870 * Number of variables: 1870 Notification: Performance of Generate backend data structure: time 0.04644/26.15, allocations: 12.56 MB / 7.947 GB, free: 3.512 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/26.15, allocations: 8.031 kB / 7.947 GB, free: 3.504 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/26.16, allocations: 2.409 MB / 7.949 GB, free: 1.078 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04831/26.21, allocations: 13.44 MB / 7.962 GB, free: 3.543 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/26.21, allocations: 0.5688 MB / 7.963 GB, free: 2.973 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003886/26.22, allocations: 0.7694 MB / 7.964 GB, free: 2.203 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03409/26.25, allocations: 8.43 MB / 7.972 GB, free: 9.488 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006791/26.25, allocations: 19.84 kB / 7.972 GB, free: 9.469 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004587/26.26, allocations: 308 kB / 7.972 GB, free: 9.168 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005176/26.26, allocations: 301.9 kB / 7.972 GB, free: 8.871 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02375/26.28, allocations: 7.003 MB / 7.979 GB, free: 1.855 MB / 1.37 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 1.211/27.49, allocations: 41.06 MB / 8.019 GB, free: 62 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00988/27.5, allocations: 4.859 MB / 8.024 GB, free: 61.27 MB / 1.37 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03338/27.54, allocations: 10.33 MB / 8.034 GB, free: 58.68 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005449/27.54, allocations: 2.655 MB / 8.037 GB, free: 58.53 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007127/27.55, allocations: 0.5196 MB / 8.037 GB, free: 58.44 MB / 1.37 GB Notification: Performance of pre-optimization done (n=434): time 2.824e-05/27.55, allocations: 2.219 kB / 8.037 GB, free: 58.44 MB / 1.37 GB Notification: Performance of matching and sorting (n=442): time 0.05221/27.6, allocations: 14.84 MB / 8.052 GB, free: 55.34 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/27.6, allocations: 333.3 kB / 8.052 GB, free: 55 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02073/27.62, allocations: 7.439 MB / 8.059 GB, free: 54.46 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001816/27.62, allocations: 143.2 kB / 8.06 GB, free: 54.43 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.006737/27.63, allocations: 5.016 MB / 8.064 GB, free: 53.39 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.002876/27.63, allocations: 1.524 MB / 8.066 GB, free: 52.62 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/27.64, allocations: 114.6 kB / 8.066 GB, free: 52.62 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0005975/27.64, allocations: 0.5212 MB / 8.067 GB, free: 52.31 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005319/27.64, allocations: 2.042 MB / 8.069 GB, free: 52.29 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006386/27.65, allocations: 3.912 MB / 8.072 GB, free: 50.16 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006101/27.65, allocations: 2.66 MB / 8.075 GB, free: 50.05 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-05/27.65, allocations: 12.03 kB / 8.075 GB, free: 50.05 MB / 1.37 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01802/27.67, allocations: 7.362 MB / 8.082 GB, free: 49.3 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.007902/27.68, allocations: 22.56 MB / 8.104 GB, free: 41.86 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/27.68, allocations: 41.38 kB / 8.104 GB, free: 41.86 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004269/27.68, allocations: 0.9833 MB / 8.105 GB, free: 41.81 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00616/27.69, allocations: 1.232 MB / 8.106 GB, free: 41.81 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008524/27.7, allocations: 7.427 MB / 8.114 GB, free: 36.21 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/27.71, allocations: 0.7749 MB / 8.114 GB, free: 36.17 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/27.71, allocations: 273.5 kB / 8.115 GB, free: 36.17 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/27.71, allocations: 5.188 kB / 8.115 GB, free: 36.17 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01814/27.73, allocations: 6.362 MB / 8.121 GB, free: 35.93 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/27.73, allocations: 39.03 kB / 8.121 GB, free: 35.93 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003718/27.74, allocations: 0.9145 MB / 8.122 GB, free: 35.88 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00584/27.74, allocations: 1.204 MB / 8.123 GB, free: 35.88 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/27.76, allocations: 9.283 MB / 8.132 GB, free: 45.95 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/27.77, allocations: 0.7325 MB / 8.133 GB, free: 45.92 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/27.77, allocations: 267.1 kB / 8.133 GB, free: 45.91 MB / 1.401 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 () * Number of clocked 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 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00833/27.78, allocations: 2.296 MB / 8.135 GB, free: 45.73 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003769/27.78, allocations: 0.9231 MB / 8.136 GB, free: 45.24 MB / 1.401 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02063/27.8, allocations: 6.388 MB / 8.142 GB, free: 44.86 MB / 1.401 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.338e-05/27.8, allocations: 48.78 kB / 8.142 GB, free: 44.86 MB / 1.401 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.483e-05/27.8, allocations: 3.5 kB / 8.142 GB, free: 44.86 MB / 1.401 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01104/27.81, allocations: 4.729 MB / 8.147 GB, free: 44.61 MB / 1.401 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04138/27.85, allocations: 14.38 MB / 8.161 GB, free: 43.68 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/27.85, allocations: 0 / 8.161 GB, free: 43.68 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004859/27.86, allocations: 0.8555 MB / 8.162 GB, free: 43.68 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/27.86, allocations: 0.6993 MB / 8.163 GB, free: 43.6 MB / 1.401 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001544/27.86, allocations: 132.3 kB / 8.163 GB, free: 43.6 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/27.88, allocations: 13.19 MB / 8.176 GB, free: 32.35 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/27.88, allocations: 0 / 8.176 GB, free: 32.35 MB / 1.401 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02396/27.9, allocations: 8.645 MB / 8.184 GB, free: 31.25 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007795/27.91, allocations: 1.736 MB / 8.186 GB, free: 30.66 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003843/27.91, allocations: 105.3 kB / 8.186 GB, free: 30.66 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009956/27.92, allocations: 0.6949 MB / 8.187 GB, free: 30.64 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001419/27.92, allocations: 317.6 kB / 8.187 GB, free: 30.63 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001308/27.92, allocations: 205.9 kB / 8.187 GB, free: 30.63 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.01522/27.94, allocations: 5.652 MB / 8.193 GB, free: 30.35 MB / 1.401 GB Notification: Performance of sort global known variables: time 5.61e-07/27.94, allocations: 0 / 8.193 GB, free: 30.35 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.03106/27.97, allocations: 5.164 MB / 8.198 GB, free: 30.34 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 30 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 416 * 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%) 3,(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.01322/27.98, allocations: 6.387 MB / 8.204 GB, free: 28.21 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02543/28.01, allocations: 9.796 MB / 8.213 GB, free: 43.24 MB / 1.417 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/28.01, allocations: 8.562 kB / 8.213 GB, free: 43.24 MB / 1.417 GB Notification: Performance of simCode: created simulation system equations: time 0.00794/28.02, allocations: 3.477 MB / 8.217 GB, free: 42.32 MB / 1.417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02662/28.04, allocations: 4.499 MB / 8.221 GB, free: 42.28 MB / 1.417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05144/28.09, allocations: 22.22 MB / 8.243 GB, free: 32.7 MB / 1.417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01037/28.11, allocations: 5.438 MB / 8.248 GB, free: 31.67 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.01598/28.12, allocations: 2.646 MB / 8.251 GB, free: 31.34 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003903/28.13, allocations: 0.7386 MB / 8.252 GB, free: 31.33 MB / 1.417 GB Notification: Performance of SimCode: time 1.974e-06/28.13, allocations: 0 / 8.252 GB, free: 31.33 MB / 1.417 GB Notification: Performance of Templates: time 0.3473/28.47, allocations: 208.7 MB / 8.455 GB, free: 1.953 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