Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System3.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.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System3") translateModel(Buildings.Examples.Tutorial.CDL.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001209/0.001209, allocations: 173 kB / 492.3 MB, free: 0.6016 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.709/1.709, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.001099/0.001099, allocations: 103.1 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.389e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3555, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.047/6.402, allocations: 2.244 GB / 3.456 GB, free: 33.19 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/6.402, allocations: 89.08 kB / 3.456 GB, free: 33.14 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.42/25.82, allocations: 4.454 GB / 7.91 GB, free: 66.23 MB / 1.354 GB Notification: Performance of FrontEnd: time 3.437e-06/25.82, allocations: 0 / 7.91 GB, free: 66.23 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002326/25.82, allocations: 316.4 kB / 7.91 GB, free: 66.17 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.03745/25.86, allocations: 9.966 MB / 7.92 GB, free: 61.72 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/25.86, allocations: 10 kB / 7.92 GB, free: 61.72 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/25.88, allocations: 2.399 MB / 7.922 GB, free: 60.99 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04327/25.92, allocations: 13.3 MB / 7.935 GB, free: 59.27 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009122/25.92, allocations: 0.5695 MB / 7.936 GB, free: 59.25 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003922/25.93, allocations: 0.7642 MB / 7.936 GB, free: 59.24 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/25.96, allocations: 8.167 MB / 7.944 GB, free: 58.26 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006094/25.96, allocations: 16.91 kB / 7.944 GB, free: 58.26 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003169/25.96, allocations: 308.1 kB / 7.945 GB, free: 58.26 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003045/25.96, allocations: 303.1 kB / 7.945 GB, free: 58.25 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/25.98, allocations: 6.642 MB / 7.951 GB, free: 58.18 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.08109/26.06, allocations: 41.01 MB / 7.992 GB, free: 37.69 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009057/26.07, allocations: 4.562 MB / 7.996 GB, free: 36.91 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004899/26.07, allocations: 2.383 MB / 7.998 GB, free: 36.88 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.0318/26.11, allocations: 10.38 MB / 8.008 GB, free: 34 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005727/26.11, allocations: 2.485 MB / 8.011 GB, free: 33.84 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007279/26.12, allocations: 0.5121 MB / 8.011 GB, free: 33.62 MB / 1.354 GB Notification: Performance of pre-optimization done (n=421): time 2.959e-05/26.12, allocations: 0 / 8.011 GB, free: 33.62 MB / 1.354 GB Notification: Performance of matching and sorting (n=429): time 0.03789/26.16, allocations: 11.13 MB / 8.022 GB, free: 31.03 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/26.16, allocations: 331.6 kB / 8.023 GB, free: 30.68 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02353/26.18, allocations: 7.365 MB / 8.03 GB, free: 30.06 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.00251/26.18, allocations: 136.7 kB / 8.03 GB, free: 30.03 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.01053/26.19, allocations: 5.062 MB / 8.035 GB, free: 28.57 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.003061/26.2, allocations: 1.485 MB / 8.036 GB, free: 27.62 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/26.2, allocations: 115.4 kB / 8.036 GB, free: 27.62 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0006338/26.2, allocations: 0.5138 MB / 8.037 GB, free: 27.3 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004664/26.2, allocations: 1.88 MB / 8.039 GB, free: 27.29 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005773/26.21, allocations: 3.731 MB / 8.042 GB, free: 25.09 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/26.22, allocations: 2.531 MB / 8.045 GB, free: 24.85 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.544e-05/26.22, allocations: 12.91 kB / 8.045 GB, free: 24.85 MB / 1.354 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01861/26.23, allocations: 7.05 MB / 8.052 GB, free: 23.8 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.007385/26.24, allocations: 22.47 MB / 8.074 GB, free: 16.24 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.991e-05/26.24, allocations: 37.38 kB / 8.074 GB, free: 16.24 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003834/26.25, allocations: 0.9488 MB / 8.075 GB, free: 16.17 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005912/26.25, allocations: 1.229 MB / 8.076 GB, free: 16.09 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007979/26.26, allocations: 7.318 MB / 8.083 GB, free: 10.43 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/26.27, allocations: 0.7365 MB / 8.084 GB, free: 10.3 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/26.27, allocations: 280.3 kB / 8.084 GB, free: 10.3 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/26.27, allocations: 3.125 kB / 8.084 GB, free: 10.3 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01638/26.29, allocations: 6.084 MB / 8.09 GB, free: 9.742 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/26.29, allocations: 40.22 kB / 8.09 GB, free: 9.742 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003425/26.29, allocations: 0.8841 MB / 8.091 GB, free: 9.672 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0052/26.3, allocations: 1.194 MB / 8.092 GB, free: 9.594 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/26.31, allocations: 9.111 MB / 8.101 GB, free: 19.5 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/26.32, allocations: 0.6973 MB / 8.102 GB, free: 19.4 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002396/26.33, allocations: 253.5 kB / 8.102 GB, free: 19.4 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 12 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 649 * 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.004655/26.33, allocations: 466.9 kB / 8.102 GB, free: 19.18 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005001/26.34, allocations: 0.9215 MB / 8.103 GB, free: 18.69 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0193/26.35, allocations: 6.078 MB / 8.109 GB, free: 18.2 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.119e-05/26.35, allocations: 50.72 kB / 8.109 GB, free: 18.2 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.019e-05/26.35, allocations: 2.781 kB / 8.109 GB, free: 18.2 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01007/26.36, allocations: 4.425 MB / 8.113 GB, free: 17.91 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04558/26.41, allocations: 14.06 MB / 8.127 GB, free: 16.88 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/26.41, allocations: 2.594 kB / 8.127 GB, free: 16.88 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004313/26.41, allocations: 0.8333 MB / 8.128 GB, free: 16.83 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/26.42, allocations: 0.7243 MB / 8.129 GB, free: 16.72 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009618/26.42, allocations: 129.5 kB / 8.129 GB, free: 16.72 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/26.43, allocations: 13.26 MB / 8.142 GB, free: 5.266 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/26.43, allocations: 2.562 kB / 8.142 GB, free: 5.266 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0204/26.45, allocations: 8.183 MB / 8.15 GB, free: 4.102 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008698/26.46, allocations: 1.734 MB / 8.151 GB, free: 3.5 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004397/26.46, allocations: 103.8 kB / 8.152 GB, free: 3.5 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01052/26.47, allocations: 0.6595 MB / 8.152 GB, free: 3.41 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001444/26.48, allocations: 297.2 kB / 8.153 GB, free: 3.398 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001466/26.48, allocations: 201.2 kB / 8.153 GB, free: 3.398 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01638/26.49, allocations: 5.567 MB / 8.158 GB, free: 3.066 MB / 1.385 GB Notification: Performance of sort global known variables: time 6.71e-07/26.49, allocations: 0 / 8.158 GB, free: 3.066 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03428/26.53, allocations: 5.139 MB / 8.163 GB, free: 2.832 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: 8 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 4 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (425): * Single equations (assignments): 402 * 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.01448/26.54, allocations: 6.349 MB / 8.169 GB, free: 15.42 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02637/26.57, allocations: 9.63 MB / 8.179 GB, free: 14.05 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/26.57, allocations: 14.62 kB / 8.179 GB, free: 14.05 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.00735/26.58, allocations: 3.283 MB / 8.182 GB, free: 13.05 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02745/26.6, allocations: 4.488 MB / 8.186 GB, free: 12.77 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04546/26.65, allocations: 15.06 MB / 8.201 GB, free: 8.523 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01237/26.66, allocations: 5.426 MB / 8.206 GB, free: 5.883 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.02611/26.69, allocations: 3.747 MB / 8.21 GB, free: 3.461 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003183/26.69, allocations: 0.5596 MB / 8.211 GB, free: 2.984 MB / 1.401 GB Notification: Performance of SimCode: time 9.62e-07/26.69, allocations: 0 / 8.211 GB, free: 2.984 MB / 1.401 GB Notification: Performance of Templates: time 1.59/28.28, allocations: 224.8 MB / 8.43 GB, free: 137.1 MB / 1.432 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System3.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System3.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System3.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches