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.185/2.185, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.00116/0.00116, allocations: 173 kB / 492.3 MB, free: 0.6328 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.546/1.546, allocations: 221.3 MB / 0.7872 GB, free: 12.97 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.0009546/0.0009542, allocations: 91.89 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.418e-05, allocations: 3.062 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3115, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.226/6.537, allocations: 2.244 GB / 3.456 GB, free: 55.15 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/6.537, allocations: 91.94 kB / 3.457 GB, free: 55.06 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.54/27.07, allocations: 4.455 GB / 7.911 GB, free: 68.25 MB / 1.354 GB Notification: Performance of FrontEnd: time 1.813e-06/27.07, allocations: 0 / 7.911 GB, free: 68.25 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002992/27.08, allocations: 319.8 kB / 7.912 GB, free: 68.2 MB / 1.354 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.04147/27.12, allocations: 10.06 MB / 7.921 GB, free: 63.73 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 7.565e-05/27.12, allocations: 8.938 kB / 7.921 GB, free: 63.73 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02196/27.14, allocations: 2.407 MB / 7.924 GB, free: 63 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04637/27.19, allocations: 13.32 MB / 7.937 GB, free: 61.27 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009521/27.19, allocations: 0.5724 MB / 7.937 GB, free: 61.25 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004156/27.19, allocations: 0.7784 MB / 7.938 GB, free: 61.24 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02895/27.22, allocations: 8.219 MB / 7.946 GB, free: 60.27 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002996/27.22, allocations: 20.25 kB / 7.946 GB, free: 60.27 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/27.22, allocations: 309.8 kB / 7.946 GB, free: 60.27 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003084/27.22, allocations: 303.3 kB / 7.947 GB, free: 60.25 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/27.24, allocations: 6.692 MB / 7.953 GB, free: 60.19 MB / 1.354 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.09891/27.34, allocations: 41.08 MB / 7.993 GB, free: 39.81 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009496/27.35, allocations: 4.651 MB / 7.998 GB, free: 39.04 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005253/27.35, allocations: 2.409 MB / 8 GB, free: 39 MB / 1.354 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.03301/27.39, allocations: 10.33 MB / 8.01 GB, free: 36.13 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006291/27.39, allocations: 2.54 MB / 8.013 GB, free: 35.97 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008015/27.4, allocations: 0.5109 MB / 8.013 GB, free: 35.75 MB / 1.354 GB Notification: Performance of pre-optimization done (n=433): time 3.526e-05/27.4, allocations: 0 / 8.013 GB, free: 35.75 MB / 1.354 GB Notification: Performance of matching and sorting (n=441): time 0.03876/27.44, allocations: 11.27 MB / 8.024 GB, free: 33.15 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/27.44, allocations: 330.9 kB / 8.025 GB, free: 32.8 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02443/27.47, allocations: 7.351 MB / 8.032 GB, free: 32.18 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001838/27.47, allocations: 142.6 kB / 8.032 GB, free: 32.15 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.007468/27.47, allocations: 5.017 MB / 8.037 GB, free: 30.69 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.003111/27.48, allocations: 1.519 MB / 8.038 GB, free: 29.72 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/27.48, allocations: 111.4 kB / 8.039 GB, free: 29.72 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0006231/27.48, allocations: 0.5172 MB / 8.039 GB, free: 29.41 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005207/27.49, allocations: 1.908 MB / 8.041 GB, free: 29.39 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006559/27.49, allocations: 3.765 MB / 8.045 GB, free: 27.18 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005991/27.5, allocations: 2.544 MB / 8.047 GB, free: 26.94 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.077e-05/27.5, allocations: 11.53 kB / 8.047 GB, free: 26.94 MB / 1.354 GB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01696/27.51, allocations: 7.066 MB / 8.054 GB, free: 25.89 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.006272/27.52, allocations: 22.48 MB / 8.076 GB, free: 18.34 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/27.52, allocations: 39.59 kB / 8.076 GB, free: 18.34 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/27.53, allocations: 0.965 MB / 8.077 GB, free: 18.26 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006005/27.53, allocations: 1.231 MB / 8.078 GB, free: 18.18 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007765/27.54, allocations: 7.306 MB / 8.085 GB, free: 12.52 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01222/27.55, allocations: 0.7707 MB / 8.086 GB, free: 12.39 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/27.55, allocations: 281.3 kB / 8.086 GB, free: 12.39 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/27.55, allocations: 3.844 kB / 8.086 GB, free: 12.39 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01689/27.57, allocations: 6.104 MB / 8.092 GB, free: 11.84 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/27.57, allocations: 38.06 kB / 8.092 GB, free: 11.84 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/27.57, allocations: 0.8905 MB / 8.093 GB, free: 11.77 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00587/27.58, allocations: 1.191 MB / 8.094 GB, free: 11.69 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/27.59, allocations: 9.125 MB / 8.103 GB, free: 5.598 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/27.6, allocations: 0.7254 MB / 8.104 GB, free: 5.492 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/27.61, allocations: 262.6 kB / 8.104 GB, free: 5.492 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 (665): * Single equations (assignments): 657 * 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.003463/27.61, allocations: 466.6 kB / 8.105 GB, free: 5.27 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004434/27.61, allocations: 0.9214 MB / 8.105 GB, free: 4.777 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/27.63, allocations: 6.157 MB / 8.111 GB, free: 20.29 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.858e-05/27.63, allocations: 53.5 kB / 8.112 GB, free: 20.29 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/27.63, allocations: 6.734 kB / 8.112 GB, free: 20.29 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008113/27.64, allocations: 4.491 MB / 8.116 GB, free: 19.99 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03342/27.67, allocations: 14.15 MB / 8.13 GB, free: 18.98 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/27.67, allocations: 2.625 kB / 8.13 GB, free: 18.98 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003697/27.68, allocations: 0.8373 MB / 8.131 GB, free: 18.93 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/27.68, allocations: 0.7271 MB / 8.131 GB, free: 18.82 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005574/27.68, allocations: 131.3 kB / 8.131 GB, free: 18.82 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/27.69, allocations: 13.27 MB / 8.144 GB, free: 7.391 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/27.69, allocations: 3.844 kB / 8.144 GB, free: 7.391 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/27.71, allocations: 8.3 MB / 8.152 GB, free: 6.234 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007517/27.71, allocations: 1.743 MB / 8.154 GB, free: 5.629 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0036/27.72, allocations: 102 kB / 8.154 GB, free: 5.629 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009486/27.73, allocations: 0.6904 MB / 8.155 GB, free: 5.539 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/27.73, allocations: 318.4 kB / 8.155 GB, free: 5.531 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006807/27.73, allocations: 205.9 kB / 8.155 GB, free: 5.531 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01287/27.74, allocations: 5.556 MB / 8.161 GB, free: 5.199 MB / 1.385 GB Notification: Performance of sort global known variables: time 6.31e-07/27.74, allocations: 0 / 8.161 GB, free: 5.199 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03158/27.77, allocations: 5.152 MB / 8.166 GB, free: 4.965 MB / 1.385 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 (437): * Single equations (assignments): 414 * 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.01563/27.79, allocations: 6.366 MB / 8.172 GB, free: 1.824 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02171/27.81, allocations: 9.734 MB / 8.182 GB, free: 480 kB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.088e-05/27.81, allocations: 12.09 kB / 8.182 GB, free: 476 kB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.005695/27.82, allocations: 3.378 MB / 8.185 GB, free: 15.46 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02482/27.84, allocations: 4.495 MB / 8.189 GB, free: 15.2 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04037/27.88, allocations: 15.18 MB / 8.204 GB, free: 10.91 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007493/27.89, allocations: 5.451 MB / 8.209 GB, free: 9.875 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.02089/27.91, allocations: 3.743 MB / 8.213 GB, free: 8.457 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/27.91, allocations: 0.5645 MB / 8.214 GB, free: 7.973 MB / 1.401 GB Notification: Performance of SimCode: time 9.12e-07/27.91, allocations: 0 / 8.214 GB, free: 7.973 MB / 1.401 GB Notification: Performance of Templates: time 1.611/29.52, allocations: 225.6 MB / 8.434 GB, free: 138 MB / 1.432 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