Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System6.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.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conRadSup.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System6") translateModel(Buildings.Examples.Tutorial.CDL.System6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conRadSup.yVal|conEquSta.onBoi|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001074/0.001074, allocations: 176.1 kB / 492.3 MB, free: 0.6211 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.521/1.521, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.0009236/0.0009233, allocations: 80.03 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.96e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2915, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.119/6.411, allocations: 2.245 GB / 3.457 GB, free: 32.73 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/6.411, allocations: 93.73 kB / 3.457 GB, free: 32.69 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.01/25.42, allocations: 4.458 GB / 7.915 GB, free: 64.21 MB / 1.354 GB Notification: Performance of FrontEnd: time 2.966e-06/25.42, allocations: 3.344 kB / 7.915 GB, free: 64.21 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002416/25.42, allocations: 327.6 kB / 7.915 GB, free: 64.15 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: 1924 * Number of variables: 1924 Notification: Performance of Generate backend data structure: time 0.0395/25.46, allocations: 10.24 MB / 7.925 GB, free: 59.61 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/25.46, allocations: 7.438 kB / 7.925 GB, free: 59.61 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/25.48, allocations: 2.437 MB / 7.928 GB, free: 58.86 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04608/25.53, allocations: 13.44 MB / 7.941 GB, free: 57.12 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009776/25.53, allocations: 0.5897 MB / 7.942 GB, free: 57.11 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004304/25.53, allocations: 0.7905 MB / 7.942 GB, free: 57.1 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03241/25.56, allocations: 8.422 MB / 7.951 GB, free: 56.12 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006382/25.56, allocations: 18.28 kB / 7.951 GB, free: 56.11 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003708/25.57, allocations: 322.5 kB / 7.951 GB, free: 56.11 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005518/25.57, allocations: 312.4 kB / 7.951 GB, free: 56.09 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02535/25.59, allocations: 6.837 MB / 7.958 GB, free: 56.03 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.09141/25.69, allocations: 41.76 MB / 7.999 GB, free: 35.4 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/25.7, allocations: 4.888 MB / 8.003 GB, free: 34.53 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005273/25.7, allocations: 2.482 MB / 8.006 GB, free: 34.49 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.02913/25.73, allocations: 10.51 MB / 8.016 GB, free: 31.61 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004604/25.74, allocations: 2.615 MB / 8.019 GB, free: 31.45 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006934/25.74, allocations: 0.5202 MB / 8.019 GB, free: 31.22 MB / 1.354 GB Notification: Performance of pre-optimization done (n=448): time 2.892e-05/25.74, allocations: 0.9375 kB / 8.019 GB, free: 31.22 MB / 1.354 GB Notification: Performance of matching and sorting (n=456): time 0.03774/25.78, allocations: 11.53 MB / 8.03 GB, free: 28.56 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/25.78, allocations: 386.8 kB / 8.031 GB, free: 28.15 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0198/25.8, allocations: 7.483 MB / 8.038 GB, free: 27.53 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.002036/25.8, allocations: 155 kB / 8.038 GB, free: 27.5 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.006738/25.81, allocations: 5.167 MB / 8.043 GB, free: 26.02 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.00296/25.81, allocations: 1.565 MB / 8.045 GB, free: 24.98 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005444/25.81, allocations: 112 kB / 8.045 GB, free: 24.98 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0003728/25.81, allocations: 0.5254 MB / 8.045 GB, free: 24.67 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003531/25.82, allocations: 1.951 MB / 8.047 GB, free: 24.65 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004747/25.82, allocations: 3.85 MB / 8.051 GB, free: 22.4 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/25.83, allocations: 2.601 MB / 8.054 GB, free: 22.16 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.427e-05/25.83, allocations: 8.625 kB / 8.054 GB, free: 22.16 MB / 1.354 GB Notification: Performance of matching and sorting (n=740) (initialization): time 0.01651/25.84, allocations: 7.214 MB / 8.061 GB, free: 21.08 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.0073/25.85, allocations: 22.76 MB / 8.083 GB, free: 13.4 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/25.85, allocations: 42.09 kB / 8.083 GB, free: 13.4 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00394/25.85, allocations: 0.9568 MB / 8.084 GB, free: 13.33 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006421/25.86, allocations: 1.262 MB / 8.085 GB, free: 13.25 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00834/25.87, allocations: 7.295 MB / 8.092 GB, free: 23.59 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01427/25.88, allocations: 0.7964 MB / 8.093 GB, free: 23.46 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/25.89, allocations: 275.8 kB / 8.093 GB, free: 23.46 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/25.89, allocations: 5.625 kB / 8.093 GB, free: 23.46 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01878/25.9, allocations: 6.19 MB / 8.099 GB, free: 22.91 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002129/25.9, allocations: 51.86 kB / 8.099 GB, free: 22.9 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003623/25.91, allocations: 0.8991 MB / 8.1 GB, free: 22.83 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006225/25.91, allocations: 1.22 MB / 8.101 GB, free: 22.75 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/25.93, allocations: 9.091 MB / 8.11 GB, free: 16.72 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01298/25.94, allocations: 0.7498 MB / 8.111 GB, free: 16.61 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002043/25.94, allocations: 266.4 kB / 8.111 GB, free: 16.6 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$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 (683): * Single equations (assignments): 675 * 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.004151/25.95, allocations: 477.3 kB / 8.112 GB, free: 16.39 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005063/25.95, allocations: 0.9392 MB / 8.113 GB, free: 15.89 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02088/25.97, allocations: 6.308 MB / 8.119 GB, free: 15.31 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.218e-05/25.97, allocations: 49.97 kB / 8.119 GB, free: 15.31 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.451e-05/25.97, allocations: 3.719 kB / 8.119 GB, free: 15.31 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009213/25.98, allocations: 4.585 MB / 8.123 GB, free: 14.92 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04056/26.02, allocations: 14.46 MB / 8.137 GB, free: 13.76 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/26.02, allocations: 0 / 8.137 GB, free: 13.76 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003826/26.03, allocations: 0.8696 MB / 8.138 GB, free: 13.71 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/26.03, allocations: 0.7189 MB / 8.139 GB, free: 13.61 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005529/26.03, allocations: 136.5 kB / 8.139 GB, free: 13.61 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/26.04, allocations: 13.2 MB / 8.152 GB, free: 18.16 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/26.04, allocations: 5.469 kB / 8.152 GB, free: 18.16 MB / 1.401 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01764/26.06, allocations: 8.502 MB / 8.16 GB, free: 16.91 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01049/26.07, allocations: 1.775 MB / 8.162 GB, free: 16.3 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005343/26.07, allocations: 108.4 kB / 8.162 GB, free: 16.3 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01228/26.09, allocations: 0.6997 MB / 8.163 GB, free: 16.21 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001439/26.09, allocations: 326 kB / 8.163 GB, free: 16.2 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009357/26.09, allocations: 211.5 kB / 8.163 GB, free: 16.2 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.01604/26.1, allocations: 5.655 MB / 8.169 GB, free: 15.87 MB / 1.401 GB Notification: Performance of sort global known variables: time 4.81e-07/26.1, allocations: 0 / 8.169 GB, free: 15.87 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.03621/26.14, allocations: 5.214 MB / 8.174 GB, free: 15.62 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (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,conRadSup.conPIDRad.I.y) * Number of discrete variables: 14 ($whenCondition5,$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 (453): * Single equations (assignments): 430 * 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.01395/26.15, allocations: 6.369 MB / 8.18 GB, free: 12.2 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02297/26.18, allocations: 9.859 MB / 8.19 GB, free: 10.83 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/26.18, allocations: 6.969 kB / 8.19 GB, free: 10.83 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.006051/26.18, allocations: 3.428 MB / 8.193 GB, free: 9.824 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02776/26.21, allocations: 4.53 MB / 8.198 GB, free: 9.555 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04943/26.26, allocations: 15.47 MB / 8.213 GB, free: 8 kB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009651/26.27, allocations: 5.54 MB / 8.218 GB, free: 12.48 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.0241/26.29, allocations: 3.777 MB / 8.222 GB, free: 10.03 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003023/26.3, allocations: 0.5706 MB / 8.222 GB, free: 9.539 MB / 1.417 GB Notification: Performance of SimCode: time 1.472e-06/26.3, allocations: 0 / 8.222 GB, free: 9.539 MB / 1.417 GB Notification: Performance of Templates: time 1.708/28.01, allocations: 226.7 MB / 8.444 GB, free: 132.8 MB / 1.432 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System6.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System6.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System6.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches