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.537/2.537, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001281/0.001282, allocations: 179.3 kB / 498.1 MB, free: 5.742 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.771/1.771, allocations: 223.2 MB / 0.7949 GB, free: 17.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.001168/0.001168, allocations: 99.92 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005134, allocations: 12.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.45, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.502/6.952, allocations: 2.245 GB / 3.467 GB, free: 238.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/6.952, allocations: 99.69 kB / 3.468 GB, free: 238.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.33/25.28, allocations: 4.47 GB / 7.938 GB, free: 10.61 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.575e-06/25.28, allocations: 0 / 7.938 GB, free: 10.61 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002123/25.28, allocations: 331.6 kB / 7.938 GB, free: 10.28 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: 1924 * Number of variables: 1924 Notification: Performance of Generate backend data structure: time 0.04517/25.33, allocations: 12.78 MB / 7.951 GB, free: 13.38 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/25.33, allocations: 12.03 kB / 7.951 GB, free: 13.36 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/25.34, allocations: 2.436 MB / 7.953 GB, free: 10.91 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04375/25.39, allocations: 13.54 MB / 7.966 GB, free: 13.28 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008172/25.39, allocations: 0.5926 MB / 7.967 GB, free: 12.68 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003282/25.39, allocations: 0.7889 MB / 7.968 GB, free: 11.89 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02669/25.42, allocations: 8.644 MB / 7.976 GB, free: 2.965 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003272/25.42, allocations: 23.77 kB / 7.976 GB, free: 2.941 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003167/25.42, allocations: 324 kB / 7.977 GB, free: 2.625 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004638/25.42, allocations: 306.3 kB / 7.977 GB, free: 2.324 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007/27.43, allocations: 7.172 MB / 7.984 GB, free: 78.82 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 0.08445/27.51, allocations: 41.74 MB / 8.025 GB, free: 59.62 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009022/27.52, allocations: 5.127 MB / 8.03 GB, free: 58.8 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.03053/27.55, allocations: 10.49 MB / 8.04 GB, free: 56.07 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004994/27.56, allocations: 2.741 MB / 8.043 GB, free: 55.92 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006417/27.56, allocations: 0.5256 MB / 8.043 GB, free: 55.8 MB / 1.37 GB Notification: Performance of pre-optimization done (n=449): time 2.493e-05/27.56, allocations: 0 / 8.043 GB, free: 55.8 MB / 1.37 GB Notification: Performance of matching and sorting (n=457): time 0.04347/27.61, allocations: 15.21 MB / 8.058 GB, free: 52.66 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/27.61, allocations: 383.3 kB / 8.058 GB, free: 52.25 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01629/27.62, allocations: 7.587 MB / 8.066 GB, free: 51.71 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001612/27.62, allocations: 149.8 kB / 8.066 GB, free: 51.68 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.00585/27.63, allocations: 5.171 MB / 8.071 GB, free: 50.64 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.002385/27.63, allocations: 1.566 MB / 8.072 GB, free: 49.84 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000569/27.63, allocations: 116.7 kB / 8.073 GB, free: 49.84 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0003644/27.63, allocations: 0.5247 MB / 8.073 GB, free: 49.53 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004014/27.64, allocations: 2.106 MB / 8.075 GB, free: 49.51 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005591/27.64, allocations: 4 MB / 8.079 GB, free: 47.34 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005591/27.65, allocations: 2.738 MB / 8.082 GB, free: 47.24 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.542e-05/27.65, allocations: 13.66 kB / 8.082 GB, free: 47.24 MB / 1.37 GB Notification: Performance of matching and sorting (n=741) (initialization): time 0.02246/27.67, allocations: 7.502 MB / 8.089 GB, free: 46.48 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.008093/27.68, allocations: 22.84 MB / 8.111 GB, free: 38.9 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002012/27.68, allocations: 41.62 kB / 8.111 GB, free: 38.9 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004493/27.68, allocations: 0.9754 MB / 8.112 GB, free: 38.85 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006776/27.69, allocations: 1.264 MB / 8.114 GB, free: 38.85 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008969/27.7, allocations: 7.442 MB / 8.121 GB, free: 33.25 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01308/27.71, allocations: 0.7948 MB / 8.122 GB, free: 33.21 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/27.72, allocations: 283.2 kB / 8.122 GB, free: 33.21 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/27.72, allocations: 4.75 kB / 8.122 GB, free: 33.21 MB / 1.386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01967/27.73, allocations: 6.471 MB / 8.128 GB, free: 32.97 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001998/27.74, allocations: 39.44 kB / 8.128 GB, free: 32.97 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003999/27.74, allocations: 0.9147 MB / 8.129 GB, free: 32.93 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/27.75, allocations: 1.228 MB / 8.13 GB, free: 32.93 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/27.76, allocations: 9.306 MB / 8.139 GB, free: 42.99 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0122/27.77, allocations: 0.7488 MB / 8.14 GB, free: 42.96 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002205/27.77, allocations: 265 kB / 8.14 GB, free: 42.96 MB / 1.401 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 676 * 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 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009367/27.78, allocations: 2.326 MB / 8.143 GB, free: 42.77 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004006/27.79, allocations: 0.9477 MB / 8.144 GB, free: 42.27 MB / 1.401 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01981/27.81, allocations: 6.55 MB / 8.15 GB, free: 41.82 MB / 1.401 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.1e-05/27.81, allocations: 49.78 kB / 8.15 GB, free: 41.82 MB / 1.401 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.3e-05/27.81, allocations: 4.406 kB / 8.15 GB, free: 41.82 MB / 1.401 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01229/27.82, allocations: 4.86 MB / 8.155 GB, free: 41.48 MB / 1.401 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04506/27.87, allocations: 14.7 MB / 8.169 GB, free: 40.48 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/27.87, allocations: 0 / 8.169 GB, free: 40.48 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004544/27.87, allocations: 0.8823 MB / 8.17 GB, free: 40.48 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/27.87, allocations: 0.6897 MB / 8.171 GB, free: 40.4 MB / 1.401 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00078/27.87, allocations: 137.1 kB / 8.171 GB, free: 40.4 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/27.88, allocations: 13.21 MB / 8.184 GB, free: 29.15 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/27.88, allocations: 5.781 kB / 8.184 GB, free: 29.15 MB / 1.401 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/27.9, allocations: 8.869 MB / 8.192 GB, free: 27.96 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008426/27.91, allocations: 1.775 MB / 8.194 GB, free: 27.36 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003606/27.92, allocations: 110.2 kB / 8.194 GB, free: 27.36 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009965/27.93, allocations: 0.7012 MB / 8.195 GB, free: 27.34 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/27.93, allocations: 327.4 kB / 8.195 GB, free: 27.33 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007382/27.93, allocations: 213.5 kB / 8.195 GB, free: 27.33 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.01453/27.94, allocations: 5.761 MB / 8.201 GB, free: 27.05 MB / 1.401 GB Notification: Performance of sort global known variables: time 6.51e-07/27.94, allocations: 0 / 8.201 GB, free: 27.05 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.03304/27.98, allocations: 5.215 MB / 8.206 GB, free: 27.04 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (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,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 432 * 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.0131/27.99, allocations: 6.399 MB / 8.212 GB, free: 24.84 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02638/28.02, allocations: 9.991 MB / 8.222 GB, free: 39.86 MB / 1.417 GB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/28.02, allocations: 6.312 kB / 8.222 GB, free: 39.85 MB / 1.417 GB Notification: Performance of simCode: created simulation system equations: time 0.008149/28.02, allocations: 3.569 MB / 8.226 GB, free: 38.92 MB / 1.417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02624/28.05, allocations: 4.527 MB / 8.23 GB, free: 38.88 MB / 1.417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05529/28.11, allocations: 22.68 MB / 8.252 GB, free: 29.07 MB / 1.417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/28.12, allocations: 5.515 MB / 8.258 GB, free: 28.04 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.01658/28.13, allocations: 2.667 MB / 8.26 GB, free: 27.7 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004179/28.14, allocations: 0.7538 MB / 8.261 GB, free: 27.69 MB / 1.417 GB Notification: Performance of SimCode: time 2.565e-06/28.14, allocations: 0 / 8.261 GB, free: 27.69 MB / 1.417 GB Notification: Performance of Templates: time 0.3457/28.48, allocations: 210.5 MB / 8.467 GB, free: 7.113 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