Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System4.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.System4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System4") translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.253/2.253, 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.00113/0.00113, allocations: 176.8 kB / 487.4 MB, free: 5.027 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.822/1.822, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 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.0008997/0.0008993, allocations: 100.9 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.531e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.312, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.842/6.154, allocations: 2.243 GB / 3.449 GB, free: 55.36 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/6.154, allocations: 92.06 kB / 3.449 GB, free: 55.31 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.14/25.3, allocations: 4.433 GB / 7.882 GB, free: 64.88 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.156e-06/25.3, allocations: 0 / 7.882 GB, free: 64.88 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002653/25.3, allocations: 323 kB / 7.883 GB, free: 64.82 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: 1860 * Number of variables: 1860 Notification: Performance of Generate backend data structure: time 0.03856/25.34, allocations: 9.977 MB / 7.892 GB, free: 60.37 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 7.292e-05/25.34, allocations: 12.09 kB / 7.892 GB, free: 60.37 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02201/25.36, allocations: 2.404 MB / 7.895 GB, free: 59.64 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05232/25.41, allocations: 13.31 MB / 7.908 GB, free: 57.91 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000767/25.42, allocations: 237.9 kB / 7.908 GB, free: 57.91 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004316/25.42, allocations: 469.6 kB / 7.908 GB, free: 57.91 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02156/25.44, allocations: 6.263 MB / 7.915 GB, free: 57.87 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03225/25.47, allocations: 7.138 MB / 7.922 GB, free: 56.94 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006806/25.47, allocations: 22.41 kB / 7.922 GB, free: 56.93 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003715/25.48, allocations: 13.95 kB / 7.922 GB, free: 56.93 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004468/25.48, allocations: 303 kB / 7.922 GB, free: 56.91 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.08694/25.57, allocations: 39.74 MB / 7.961 GB, free: 36.46 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009648/25.57, allocations: 4.107 MB / 7.965 GB, free: 36.38 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005473/25.58, allocations: 2.479 MB / 7.967 GB, free: 36.33 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.03249/25.61, allocations: 10.19 MB / 7.977 GB, free: 33.46 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006286/25.62, allocations: 2.415 MB / 7.979 GB, free: 33.31 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008392/25.63, allocations: 383.6 kB / 7.98 GB, free: 33.11 MB / 1.339 GB Notification: Performance of pre-optimization done (n=432): time 3.646e-05/25.63, allocations: 0 / 7.98 GB, free: 33.11 MB / 1.339 GB Notification: Performance of matching and sorting (n=437): time 0.04997/25.68, allocations: 11.32 MB / 7.991 GB, free: 30.52 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/25.68, allocations: 336.4 kB / 7.991 GB, free: 30.17 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01916/25.7, allocations: 6.7 MB / 7.998 GB, free: 29.6 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001949/25.7, allocations: 38.08 kB / 7.998 GB, free: 29.57 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.007782/25.71, allocations: 5.017 MB / 8.003 GB, free: 28.06 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002732/25.71, allocations: 1.445 MB / 8.004 GB, free: 27.1 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/25.71, allocations: 3.609 kB / 8.004 GB, free: 27.1 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0005788/25.71, allocations: 0.5216 MB / 8.005 GB, free: 26.79 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004325/25.72, allocations: 1.886 MB / 8.006 GB, free: 26.77 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005504/25.72, allocations: 3.685 MB / 8.01 GB, free: 24.57 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007025/25.73, allocations: 2.678 MB / 8.013 GB, free: 24.36 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.085e-05/25.73, allocations: 10.5 kB / 8.013 GB, free: 24.36 MB / 1.339 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02108/25.75, allocations: 6.937 MB / 8.019 GB, free: 23.37 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.00787/25.76, allocations: 22.24 MB / 8.041 GB, free: 15.82 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/25.76, allocations: 42.31 kB / 8.041 GB, free: 15.82 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/25.76, allocations: 0.8409 MB / 8.042 GB, free: 15.75 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006238/25.77, allocations: 1.233 MB / 8.043 GB, free: 15.67 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00863/25.78, allocations: 7.282 MB / 8.05 GB, free: 26.18 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/25.79, allocations: 0.6274 MB / 8.051 GB, free: 26.05 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/25.79, allocations: 273.4 kB / 8.051 GB, free: 26.05 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/25.79, allocations: 3.219 kB / 8.051 GB, free: 26.05 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01633/25.81, allocations: 5.66 MB / 8.057 GB, free: 25.54 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/25.81, allocations: 40.59 kB / 8.057 GB, free: 25.54 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/25.81, allocations: 0.8074 MB / 8.058 GB, free: 25.47 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005191/25.81, allocations: 1.191 MB / 8.059 GB, free: 25.39 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/25.83, allocations: 8.857 MB / 8.067 GB, free: 19.61 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/25.84, allocations: 0.5827 MB / 8.068 GB, free: 19.5 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/25.84, allocations: 260 kB / 8.068 GB, free: 19.5 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: 15 ($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.conEquSta.hys.y,conEquSta.hys.y,boiSigCon.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 653 * 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.002933/25.84, allocations: 278.5 kB / 8.068 GB, free: 19.28 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003709/25.84, allocations: 0.9007 MB / 8.069 GB, free: 18.8 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/25.86, allocations: 5.867 MB / 8.075 GB, free: 18.31 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.621e-05/25.86, allocations: 54.95 kB / 8.075 GB, free: 18.31 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.21e-05/25.86, allocations: 0 / 8.075 GB, free: 18.31 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00914/25.87, allocations: 4.322 MB / 8.079 GB, free: 18 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03906/25.91, allocations: 13.07 MB / 8.092 GB, free: 17.07 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/25.91, allocations: 2.531 kB / 8.092 GB, free: 17.07 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004649/25.91, allocations: 0.8359 MB / 8.093 GB, free: 17.02 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/25.92, allocations: 0.6618 MB / 8.094 GB, free: 16.93 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001273/25.92, allocations: 79.8 kB / 8.094 GB, free: 16.92 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/25.93, allocations: 12.9 MB / 8.106 GB, free: 5.965 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/25.93, allocations: 3.906 kB / 8.106 GB, free: 5.965 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01861/25.95, allocations: 8.05 MB / 8.114 GB, free: 4.812 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007081/25.96, allocations: 1.712 MB / 8.116 GB, free: 4.223 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004687/25.96, allocations: 21.14 kB / 8.116 GB, free: 4.223 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01137/25.97, allocations: 0.5796 MB / 8.116 GB, free: 4.137 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001617/25.97, allocations: 310.1 kB / 8.117 GB, free: 4.125 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00151/25.97, allocations: 206.3 kB / 8.117 GB, free: 4.125 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01469/25.99, allocations: 4.954 MB / 8.122 GB, free: 3.836 MB / 1.37 GB Notification: Performance of sort global known variables: time 7.82e-07/25.99, allocations: 0 / 8.122 GB, free: 3.836 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03288/26.02, allocations: 4.847 MB / 8.126 GB, free: 3.602 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: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,conEquSta.hys.y,boiSigCon.u) * Number of discrete states: 5 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,conEquSta.hys.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (433): * Single equations (assignments): 410 * 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.01307/26.04, allocations: 6.148 MB / 8.132 GB, free: 0.5625 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.02255/26.06, allocations: 9.17 MB / 8.141 GB, free: 15.34 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/26.06, allocations: 10.28 kB / 8.141 GB, free: 15.34 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.006481/26.06, allocations: 3.226 MB / 8.144 GB, free: 14.4 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02567/26.09, allocations: 4.332 MB / 8.149 GB, free: 14.11 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0446/26.13, allocations: 14.84 MB / 8.163 GB, free: 3.871 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01145/26.15, allocations: 5.433 MB / 8.169 GB, free: 428 kB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.02641/26.17, allocations: 3.826 MB / 8.172 GB, free: 14.21 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003179/26.18, allocations: 0.5578 MB / 8.173 GB, free: 13.73 MB / 1.401 GB Notification: Performance of SimCode: time 1.072e-06/26.18, allocations: 0 / 8.173 GB, free: 13.73 MB / 1.401 GB Notification: Performance of Templates: time 1.45/27.63, allocations: 189 MB / 8.357 GB, free: 135.2 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System4.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System4.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System4.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches