Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.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.Boiler.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System3") translateModel(Buildings.Examples.Tutorial.Boiler.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001127/0.001127, allocations: 184.8 kB / 487.4 MB, free: 5.043 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.627/1.627, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009883, allocations: 95.91 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.983e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3072, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/6.026, allocations: 2.222 GB / 3.428 GB, free: 77.63 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/6.026, allocations: 87.7 kB / 3.428 GB, free: 77.59 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.38/22.41, allocations: 4.382 GB / 7.81 GB, free: 68.48 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.457e-06/22.41, allocations: 4.891 kB / 7.81 GB, free: 68.48 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002732/22.41, allocations: 289.5 kB / 7.81 GB, free: 68.43 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: 1601 * Number of variables: 1601 Notification: Performance of Generate backend data structure: time 0.03377/22.45, allocations: 9.028 MB / 7.819 GB, free: 64.82 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/22.45, allocations: 10.75 kB / 7.819 GB, free: 64.82 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/22.46, allocations: 2.192 MB / 7.821 GB, free: 64.22 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03923/22.5, allocations: 12.75 MB / 7.833 GB, free: 62.64 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004714/22.5, allocations: 201.7 kB / 7.833 GB, free: 62.64 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003245/22.51, allocations: 411.2 kB / 7.834 GB, free: 62.64 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01475/22.52, allocations: 5.165 MB / 7.839 GB, free: 62.61 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/22.55, allocations: 6.284 MB / 7.845 GB, free: 61.79 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002709/22.55, allocations: 22.42 kB / 7.845 GB, free: 61.79 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/22.55, allocations: 12.31 kB / 7.845 GB, free: 61.79 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/22.55, allocations: 268.6 kB / 7.845 GB, free: 61.78 MB / 1.339 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.06145/22.61, allocations: 36.79 MB / 7.881 GB, free: 42.48 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/22.62, allocations: 3.46 MB / 7.885 GB, free: 42.42 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003532/22.62, allocations: 2.194 MB / 7.887 GB, free: 42.39 MB / 1.339 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.02399/22.64, allocations: 9.199 MB / 7.896 GB, free: 39.59 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004152/22.65, allocations: 2.03 MB / 7.898 GB, free: 39.46 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006261/22.65, allocations: 343 kB / 7.898 GB, free: 39.29 MB / 1.339 GB Notification: Performance of pre-optimization done (n=345): time 2.038e-05/22.65, allocations: 0 / 7.898 GB, free: 39.29 MB / 1.339 GB Notification: Performance of matching and sorting (n=350): time 0.03934/22.69, allocations: 9.877 MB / 7.908 GB, free: 36.98 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/22.69, allocations: 115 kB / 7.908 GB, free: 36.89 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01667/22.71, allocations: 6.208 MB / 7.914 GB, free: 36.38 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/22.71, allocations: 34.05 kB / 7.914 GB, free: 36.35 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.006482/22.72, allocations: 4.543 MB / 7.918 GB, free: 35 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002114/22.72, allocations: 1.187 MB / 7.919 GB, free: 34.21 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/22.72, allocations: 0 / 7.919 GB, free: 34.21 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0004887/22.72, allocations: 0.491 MB / 7.92 GB, free: 33.9 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/22.73, allocations: 1.664 MB / 7.922 GB, free: 33.89 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004848/22.73, allocations: 3.351 MB / 7.925 GB, free: 31.88 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006792/22.74, allocations: 2.417 MB / 7.927 GB, free: 31.82 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.115e-05/22.74, allocations: 10.84 kB / 7.927 GB, free: 31.82 MB / 1.339 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01977/22.76, allocations: 6.204 MB / 7.933 GB, free: 31.21 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.00671/22.76, allocations: 21.32 MB / 7.954 GB, free: 24.92 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001901/22.76, allocations: 38.12 kB / 7.954 GB, free: 24.92 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/22.77, allocations: 0.7654 MB / 7.955 GB, free: 24.88 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005353/22.77, allocations: 1.076 MB / 7.956 GB, free: 24.88 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/22.78, allocations: 5.826 MB / 7.962 GB, free: 20.66 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/22.79, allocations: 0.5804 MB / 7.962 GB, free: 20.54 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/22.79, allocations: 242.9 kB / 7.962 GB, free: 20.54 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/22.79, allocations: 3.875 kB / 7.962 GB, free: 20.54 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0156/22.81, allocations: 5.013 MB / 7.967 GB, free: 20.35 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/22.81, allocations: 37.89 kB / 7.967 GB, free: 20.35 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/22.81, allocations: 0.737 MB / 7.968 GB, free: 20.29 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005012/22.82, allocations: 1.038 MB / 7.969 GB, free: 20.29 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/22.83, allocations: 7.468 MB / 7.976 GB, free: 15.73 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/22.84, allocations: 0.5409 MB / 7.977 GB, free: 15.62 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/22.84, allocations: 228.8 kB / 7.977 GB, free: 15.62 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (572): * Single equations (assignments): 565 * 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: 4 * 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: 2 {5 6,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.002752/22.84, allocations: 255.1 kB / 7.977 GB, free: 15.48 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003395/22.85, allocations: 0.8209 MB / 7.978 GB, free: 15.04 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/22.86, allocations: 4.915 MB / 7.983 GB, free: 14.66 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.958e-05/22.86, allocations: 44.38 kB / 7.983 GB, free: 14.66 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.064e-05/22.86, allocations: 4.062 kB / 7.983 GB, free: 14.66 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008148/22.87, allocations: 3.637 MB / 7.987 GB, free: 14.4 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03544/22.91, allocations: 11.36 MB / 7.998 GB, free: 13.57 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/22.91, allocations: 3.781 kB / 7.998 GB, free: 13.57 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003575/22.91, allocations: 0.6704 MB / 7.998 GB, free: 13.57 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/22.91, allocations: 0.5806 MB / 7.999 GB, free: 13.48 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006591/22.91, allocations: 59.14 kB / 7.999 GB, free: 13.48 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009965/22.92, allocations: 11.45 MB / 8.01 GB, free: 19.84 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/22.92, allocations: 9.625 kB / 8.01 GB, free: 19.84 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/22.94, allocations: 6.857 MB / 8.017 GB, free: 18.84 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006952/22.94, allocations: 1.512 MB / 8.018 GB, free: 18.29 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003734/22.95, allocations: 18.11 kB / 8.018 GB, free: 18.29 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008922/22.96, allocations: 0.5311 MB / 8.019 GB, free: 18.21 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/22.96, allocations: 239.1 kB / 8.019 GB, free: 18.2 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009777/22.96, allocations: 168 kB / 8.019 GB, free: 18.2 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.0125/22.97, allocations: 4.592 MB / 8.024 GB, free: 17.95 MB / 1.37 GB Notification: Performance of sort global known variables: time 8.12e-07/22.97, allocations: 0 / 8.024 GB, free: 17.95 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03099/23, allocations: 4.469 MB / 8.028 GB, free: 17.75 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (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) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (335): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 1 {13 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01158/23.01, allocations: 5.596 MB / 8.034 GB, free: 15.01 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.01974/23.03, allocations: 7.954 MB / 8.041 GB, free: 14.1 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 2.23e-05/23.03, allocations: 6.156 kB / 8.041 GB, free: 14.1 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.006351/23.04, allocations: 2.734 MB / 8.044 GB, free: 13.29 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02707/23.07, allocations: 4.088 MB / 8.048 GB, free: 13.06 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03833/23.11, allocations: 13.21 MB / 8.061 GB, free: 9.172 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/23.12, allocations: 4.993 MB / 8.066 GB, free: 8.164 MB / 1.37 GB Notification: Performance of simCode: alias equations: time 0.02626/23.14, allocations: 3.299 MB / 8.069 GB, free: 7.75 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003426/23.15, allocations: 496.1 kB / 8.069 GB, free: 7.734 MB / 1.37 GB Notification: Performance of SimCode: time 1.213e-06/23.15, allocations: 0 / 8.069 GB, free: 7.734 MB / 1.37 GB Notification: Performance of Templates: time 0.3227/23.47, allocations: 174.4 MB / 8.24 GB, free: 0.5273 MB / 1.417 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System3.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches