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.372/2.372, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001656/0.001656, allocations: 175 kB / 498.1 MB, free: 5.695 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.752/1.752, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.001365/0.001365, allocations: 106.7 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.000396, allocations: 6.969 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4307, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/7.113, allocations: 2.244 GB / 3.466 GB, free: 120.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/7.114, allocations: 90.64 kB / 3.467 GB, free: 120.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.51/26.62, allocations: 4.466 GB / 7.933 GB, free: 68.38 MB / 1.354 GB Notification: Performance of FrontEnd: time 1.542e-06/26.62, allocations: 0 / 7.933 GB, free: 68.38 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002176/26.62, allocations: 323.6 kB / 7.933 GB, free: 68.31 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.04757/26.67, allocations: 12.46 MB / 7.945 GB, free: 62.93 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/26.67, allocations: 6.75 kB / 7.945 GB, free: 62.93 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/26.69, allocations: 2.409 MB / 7.947 GB, free: 62.2 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04183/26.73, allocations: 13.4 MB / 7.961 GB, free: 60.47 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007606/26.73, allocations: 0.574 MB / 7.961 GB, free: 60.46 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003106/26.73, allocations: 0.7628 MB / 7.962 GB, free: 60.45 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/26.76, allocations: 8.37 MB / 7.97 GB, free: 59.47 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002953/26.76, allocations: 17 kB / 7.97 GB, free: 59.47 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001674/26.76, allocations: 310.6 kB / 7.97 GB, free: 59.47 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002881/26.76, allocations: 303.5 kB / 7.971 GB, free: 59.45 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/26.78, allocations: 6.948 MB / 7.977 GB, free: 59.38 MB / 1.354 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.0741/26.85, allocations: 41.01 MB / 8.017 GB, free: 38.96 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007961/26.86, allocations: 4.772 MB / 8.022 GB, free: 38.19 MB / 1.354 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.02993/26.89, allocations: 10.36 MB / 8.032 GB, free: 35.34 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005226/26.89, allocations: 2.617 MB / 8.035 GB, free: 35.18 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00716/26.9, allocations: 0.502 MB / 8.035 GB, free: 34.96 MB / 1.354 GB Notification: Performance of pre-optimization done (n=422): time 3.06e-05/26.9, allocations: 2.469 kB / 8.035 GB, free: 34.96 MB / 1.354 GB Notification: Performance of matching and sorting (n=430): time 0.0488/26.95, allocations: 14.66 MB / 8.05 GB, free: 31.61 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/26.95, allocations: 329.1 kB / 8.05 GB, free: 31.26 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02075/26.97, allocations: 7.467 MB / 8.057 GB, free: 30.69 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001852/26.97, allocations: 135.2 kB / 8.057 GB, free: 30.66 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.0069/26.98, allocations: 5.06 MB / 8.062 GB, free: 29.2 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.003243/26.98, allocations: 1.49 MB / 8.064 GB, free: 28.25 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006276/26.98, allocations: 107.5 kB / 8.064 GB, free: 28.25 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0004358/26.98, allocations: 0.5175 MB / 8.064 GB, free: 27.93 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00429/26.99, allocations: 2.023 MB / 8.066 GB, free: 27.91 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006/26.99, allocations: 3.871 MB / 8.07 GB, free: 25.73 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006192/27, allocations: 2.653 MB / 8.073 GB, free: 25.56 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.98e-05/27, allocations: 11.31 kB / 8.073 GB, free: 25.56 MB / 1.354 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01882/27.02, allocations: 7.294 MB / 8.08 GB, free: 24.66 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.007764/27.03, allocations: 22.42 MB / 8.102 GB, free: 17.16 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/27.03, allocations: 38.53 kB / 8.102 GB, free: 17.16 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/27.03, allocations: 0.989 MB / 8.103 GB, free: 17.08 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007114/27.04, allocations: 1.229 MB / 8.104 GB, free: 17 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009031/27.05, allocations: 7.441 MB / 8.111 GB, free: 11.33 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01494/27.06, allocations: 0.7485 MB / 8.112 GB, free: 11.2 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001963/27.07, allocations: 265.9 kB / 8.112 GB, free: 11.2 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/27.07, allocations: 5.938 kB / 8.112 GB, free: 11.2 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01427/27.08, allocations: 6.277 MB / 8.118 GB, free: 10.64 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/27.08, allocations: 48.78 kB / 8.118 GB, free: 10.63 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00364/27.08, allocations: 0.9146 MB / 8.119 GB, free: 10.57 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005844/27.09, allocations: 1.191 MB / 8.12 GB, free: 10.48 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/27.1, allocations: 9.331 MB / 8.13 GB, free: 20.4 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/27.11, allocations: 0.7015 MB / 8.13 GB, free: 20.29 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/27.12, allocations: 258.2 kB / 8.13 GB, free: 20.29 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 650 * 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.009388/27.13, allocations: 2.291 MB / 8.133 GB, free: 20 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00366/27.13, allocations: 0.9178 MB / 8.134 GB, free: 19.51 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/27.14, allocations: 6.31 MB / 8.14 GB, free: 19.01 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.991e-05/27.14, allocations: 49.27 kB / 8.14 GB, free: 19 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/27.14, allocations: 3.531 kB / 8.14 GB, free: 19 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00924/27.15, allocations: 4.653 MB / 8.144 GB, free: 18.7 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04119/27.2, allocations: 14.29 MB / 8.158 GB, free: 17.68 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/27.2, allocations: 0 / 8.158 GB, free: 17.68 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004202/27.2, allocations: 0.8347 MB / 8.159 GB, free: 17.64 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/27.2, allocations: 0.7052 MB / 8.16 GB, free: 17.54 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009338/27.2, allocations: 127.3 kB / 8.16 GB, free: 17.54 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/27.21, allocations: 13.2 MB / 8.173 GB, free: 6.18 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/27.21, allocations: 3.938 kB / 8.173 GB, free: 6.176 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01906/27.23, allocations: 8.514 MB / 8.181 GB, free: 5.027 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008902/27.24, allocations: 1.736 MB / 8.183 GB, free: 4.43 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004055/27.25, allocations: 97.94 kB / 8.183 GB, free: 4.43 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01033/27.26, allocations: 0.666 MB / 8.184 GB, free: 4.336 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/27.26, allocations: 292 kB / 8.184 GB, free: 4.332 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007128/27.26, allocations: 203.3 kB / 8.184 GB, free: 4.328 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01462/27.27, allocations: 5.668 MB / 8.19 GB, free: 4.043 MB / 1.385 GB Notification: Performance of sort global known variables: time 6.22e-07/27.27, allocations: 0 / 8.19 GB, free: 4.043 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03261/27.31, allocations: 5.146 MB / 8.195 GB, free: 3.809 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 30 (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) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (427): * Single equations (assignments): 404 * 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.01295/27.32, allocations: 6.389 MB / 8.201 GB, free: 0.832 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02321/27.34, allocations: 9.596 MB / 8.21 GB, free: 15.51 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/27.34, allocations: 13.12 kB / 8.21 GB, free: 15.5 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.006526/27.35, allocations: 3.393 MB / 8.214 GB, free: 14.5 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02576/27.37, allocations: 4.498 MB / 8.218 GB, free: 14.23 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05221/27.43, allocations: 22.05 MB / 8.239 GB, free: 4.059 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01095/27.44, allocations: 5.406 MB / 8.245 GB, free: 3.031 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.01554/27.45, allocations: 2.649 MB / 8.247 GB, free: 2.574 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004815/27.46, allocations: 0.7299 MB / 8.248 GB, free: 2.559 MB / 1.401 GB Notification: Performance of SimCode: time 1.222e-06/27.46, allocations: 1.5 kB / 8.248 GB, free: 2.559 MB / 1.401 GB Notification: Performance of Templates: time 1.37/28.83, allocations: 207.5 MB / 8.451 GB, free: 139.9 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