Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System2.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.System2,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.System2") translateModel(Buildings.Examples.Tutorial.CDL.System2,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.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001806/0.001806, allocations: 175.4 kB / 498.1 MB, free: 5.754 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.892/1.892, allocations: 223.2 MB / 0.7948 GB, free: 17.97 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.001079/0.00108, allocations: 94.47 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004684, allocations: 9.406 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3827, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.596/6.978, allocations: 2.242 GB / 3.465 GB, free: 241.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/6.979, allocations: 99.97 kB / 3.465 GB, free: 241.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.41/25.39, allocations: 4.463 GB / 7.928 GB, free: 27.25 MB / 1.339 GB Notification: Performance of FrontEnd: time 1.553e-06/25.39, allocations: 3.062 kB / 7.928 GB, free: 27.25 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002172/25.39, allocations: 322 kB / 7.928 GB, free: 26.93 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: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.04733/25.44, allocations: 12.29 MB / 7.94 GB, free: 14.53 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/25.44, allocations: 8.031 kB / 7.94 GB, free: 14.52 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/25.45, allocations: 2.386 MB / 7.943 GB, free: 12.12 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04802/25.5, allocations: 13.31 MB / 7.956 GB, free: 14.71 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/25.5, allocations: 0.5527 MB / 7.956 GB, free: 14.16 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004169/25.51, allocations: 0.7498 MB / 7.957 GB, free: 13.41 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03025/25.54, allocations: 8.187 MB / 7.965 GB, free: 4.934 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005534/25.54, allocations: 23.78 kB / 7.965 GB, free: 4.91 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003055/25.54, allocations: 303.9 kB / 7.965 GB, free: 4.613 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003857/25.54, allocations: 293.5 kB / 7.966 GB, free: 4.324 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02078/25.56, allocations: 6.806 MB / 7.972 GB, free: 13.5 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 2.09/27.65, allocations: 40.48 MB / 8.012 GB, free: 63.2 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009912/27.66, allocations: 4.771 MB / 8.016 GB, free: 62.48 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.0363/27.7, allocations: 10.26 MB / 8.027 GB, free: 59.88 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007786/27.71, allocations: 2.538 MB / 8.029 GB, free: 59.74 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0087/27.72, allocations: 0.4934 MB / 8.029 GB, free: 59.74 MB / 1.37 GB Notification: Performance of pre-optimization done (n=409): time 3.35e-05/27.72, allocations: 1.062 kB / 8.029 GB, free: 59.74 MB / 1.37 GB Notification: Performance of matching and sorting (n=417): time 0.05629/27.77, allocations: 14.33 MB / 8.043 GB, free: 56.78 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/27.77, allocations: 307.2 kB / 8.044 GB, free: 56.46 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02206/27.79, allocations: 7.349 MB / 8.051 GB, free: 55.93 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001871/27.8, allocations: 137.7 kB / 8.051 GB, free: 55.89 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.009863/27.81, allocations: 4.958 MB / 8.056 GB, free: 54.88 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.003891/27.81, allocations: 1.447 MB / 8.057 GB, free: 54.15 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/27.81, allocations: 110.3 kB / 8.057 GB, free: 54.15 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.001031/27.81, allocations: 0.5181 MB / 8.058 GB, free: 53.83 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007518/27.82, allocations: 1.974 MB / 8.06 GB, free: 53.82 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007911/27.83, allocations: 3.794 MB / 8.064 GB, free: 51.71 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007223/27.84, allocations: 2.591 MB / 8.066 GB, free: 51.61 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/27.84, allocations: 12.59 kB / 8.066 GB, free: 51.61 MB / 1.37 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.02555/27.86, allocations: 7.2 MB / 8.073 GB, free: 50.86 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.009973/27.87, allocations: 22.16 MB / 8.095 GB, free: 43.65 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/27.87, allocations: 43.77 kB / 8.095 GB, free: 43.64 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004707/27.88, allocations: 0.9842 MB / 8.096 GB, free: 43.6 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006418/27.88, allocations: 1.204 MB / 8.097 GB, free: 43.6 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/27.89, allocations: 7.472 MB / 8.104 GB, free: 38.02 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01357/27.91, allocations: 0.7243 MB / 8.105 GB, free: 37.98 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/27.91, allocations: 269.4 kB / 8.105 GB, free: 37.98 MB / 1.386 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/27.91, allocations: 3.312 kB / 8.105 GB, free: 37.98 MB / 1.386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02098/27.93, allocations: 6.244 MB / 8.111 GB, free: 37.73 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/27.93, allocations: 40.44 kB / 8.111 GB, free: 37.73 MB / 1.386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/27.94, allocations: 0.9164 MB / 8.112 GB, free: 37.69 MB / 1.386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006086/27.94, allocations: 1.172 MB / 8.113 GB, free: 37.69 MB / 1.386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/27.96, allocations: 9.313 MB / 8.122 GB, free: 47.77 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/27.97, allocations: 0.6962 MB / 8.123 GB, free: 47.73 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001851/27.97, allocations: 256.3 kB / 8.123 GB, free: 47.73 MB / 1.401 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 11 ($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 (643): * Single equations (assignments): 635 * 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 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009653/27.98, allocations: 2.257 MB / 8.126 GB, free: 47.54 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004398/27.99, allocations: 0.9032 MB / 8.126 GB, free: 47.06 MB / 1.401 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02103/28.01, allocations: 6.176 MB / 8.133 GB, free: 46.69 MB / 1.401 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.496e-05/28.01, allocations: 48.11 kB / 8.133 GB, free: 46.69 MB / 1.401 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.921e-05/28.01, allocations: 3.156 kB / 8.133 GB, free: 46.69 MB / 1.401 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01171/28.02, allocations: 4.557 MB / 8.137 GB, free: 46.42 MB / 1.401 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05269/28.07, allocations: 14.02 MB / 8.151 GB, free: 45.49 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/28.07, allocations: 2.719 kB / 8.151 GB, free: 45.49 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004624/28.08, allocations: 0.8162 MB / 8.152 GB, free: 45.49 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/28.08, allocations: 0.6936 MB / 8.152 GB, free: 45.41 MB / 1.401 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001127/28.08, allocations: 125.9 kB / 8.152 GB, free: 45.41 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/28.09, allocations: 13.18 MB / 8.165 GB, free: 34.17 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/28.09, allocations: 3.594 kB / 8.165 GB, free: 34.17 MB / 1.401 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02193/28.11, allocations: 8.327 MB / 8.173 GB, free: 33.1 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008736/28.12, allocations: 1.703 MB / 8.175 GB, free: 32.52 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004258/28.13, allocations: 100.8 kB / 8.175 GB, free: 32.52 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01038/28.14, allocations: 0.6512 MB / 8.176 GB, free: 32.49 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/28.14, allocations: 288.4 kB / 8.176 GB, free: 32.49 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001326/28.14, allocations: 195 kB / 8.176 GB, free: 32.49 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.01624/28.15, allocations: 5.583 MB / 8.182 GB, free: 32.2 MB / 1.401 GB Notification: Performance of sort global known variables: time 8.11e-07/28.15, allocations: 0 / 8.182 GB, free: 32.2 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.03282/28.19, allocations: 5.098 MB / 8.187 GB, free: 32.2 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (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) * Number of discrete variables: 7 ($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 (414): * Single equations (assignments): 391 * 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.01268/28.2, allocations: 6.382 MB / 8.193 GB, free: 30.06 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02362/28.22, allocations: 9.496 MB / 8.202 GB, free: 29.09 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2.11e-05/28.22, allocations: 9.938 kB / 8.202 GB, free: 29.09 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.006684/28.23, allocations: 3.335 MB / 8.205 GB, free: 28.16 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02509/28.26, allocations: 4.451 MB / 8.21 GB, free: 28.12 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04712/28.3, allocations: 21.68 MB / 8.231 GB, free: 18.82 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/28.31, allocations: 5.346 MB / 8.236 GB, free: 17.8 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.01524/28.33, allocations: 2.622 MB / 8.239 GB, free: 17.47 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003837/28.33, allocations: 0.7315 MB / 8.239 GB, free: 17.45 MB / 1.401 GB Notification: Performance of SimCode: time 1.532e-06/28.33, allocations: 0 / 8.239 GB, free: 17.45 MB / 1.401 GB Notification: Performance of Templates: time 0.3422/28.67, allocations: 205.6 MB / 8.44 GB, free: 10.28 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_System2.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches