Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009275/0.0009275, allocations: 179.6 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008696/0.0008699, allocations: 88.98 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.867e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2284, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.503/6.731, allocations: 2.493 GB / 3.378 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/6.731, allocations: 89.03 kB / 3.378 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.793/11.52, allocations: 1.289 GB / 4.667 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.204e-06/11.52, allocations: 0 / 4.667 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006422/11.52, allocations: 99.64 kB / 4.667 GB, free: 101.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01235/11.54, allocations: 3.369 MB / 4.671 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/11.54, allocations: 9.375 kB / 4.671 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008106/11.55, allocations: 1.136 MB / 4.672 GB, free: 100 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/11.56, allocations: 4.739 MB / 4.676 GB, free: 99.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/11.56, allocations: 72.53 kB / 4.676 GB, free: 99.57 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/11.56, allocations: 144.8 kB / 4.677 GB, free: 99.57 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007925/11.57, allocations: 2.396 MB / 4.679 GB, free: 99.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00878/11.58, allocations: 2.712 MB / 4.682 GB, free: 99.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/11.58, allocations: 8.344 kB / 4.682 GB, free: 99.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007104/11.58, allocations: 10.58 kB / 4.682 GB, free: 99.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/11.58, allocations: 97.55 kB / 4.682 GB, free: 99.14 MB / 0.8855 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.02346/11.6, allocations: 12.82 MB / 4.694 GB, free: 93.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/11.61, allocations: 2.017 MB / 4.696 GB, free: 93.95 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/11.61, allocations: 1.045 MB / 4.697 GB, free: 93.93 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/11.62, allocations: 4.286 MB / 4.701 GB, free: 92.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/11.62, allocations: 0.9378 MB / 4.702 GB, free: 92.45 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002353/11.63, allocations: 134.2 kB / 4.702 GB, free: 92.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 7.654e-06/11.63, allocations: 0 / 4.702 GB, free: 92.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.01522/11.64, allocations: 4.717 MB / 4.707 GB, free: 91.42 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/11.64, allocations: 121 kB / 4.707 GB, free: 91.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00706/11.65, allocations: 2.39 MB / 4.71 GB, free: 91.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006055/11.65, allocations: 29.39 kB / 4.71 GB, free: 91.01 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002487/11.65, allocations: 1.506 MB / 4.711 GB, free: 90.47 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000973/11.65, allocations: 0.4905 MB / 4.711 GB, free: 90.15 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/11.65, allocations: 0 / 4.711 GB, free: 90.15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002793/11.65, allocations: 397 kB / 4.712 GB, free: 89.85 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/11.65, allocations: 0.9161 MB / 4.713 GB, free: 89.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/11.66, allocations: 1.533 MB / 4.714 GB, free: 89.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/11.66, allocations: 1.268 MB / 4.716 GB, free: 89.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/11.66, allocations: 10.44 kB / 4.716 GB, free: 89.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.008202/11.67, allocations: 2.989 MB / 4.718 GB, free: 88.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002281/11.67, allocations: 7.082 MB / 4.725 GB, free: 81.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/11.67, allocations: 19.17 kB / 4.725 GB, free: 81.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/11.67, allocations: 409.5 kB / 4.726 GB, free: 81.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/11.68, allocations: 496.3 kB / 4.726 GB, free: 81.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/11.68, allocations: 2.616 MB / 4.729 GB, free: 79.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/11.68, allocations: 179.5 kB / 4.729 GB, free: 79.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007225/11.68, allocations: 115.5 kB / 4.729 GB, free: 79.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/11.68, allocations: 4.562 kB / 4.729 GB, free: 79.59 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007236/11.69, allocations: 2.539 MB / 4.732 GB, free: 79.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-05/11.69, allocations: 22.2 kB / 4.732 GB, free: 79.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/11.69, allocations: 428.4 kB / 4.732 GB, free: 79.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/11.7, allocations: 476.2 kB / 4.732 GB, free: 79.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/11.7, allocations: 2.636 MB / 4.735 GB, free: 77.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/11.7, allocations: 156.1 kB / 4.735 GB, free: 77.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004938/11.7, allocations: 110 kB / 4.735 GB, free: 77.68 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.001054/11.7, allocations: 168.2 kB / 4.735 GB, free: 77.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/11.71, allocations: 289.3 kB / 4.736 GB, free: 77.42 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006285/11.71, allocations: 2.363 MB / 4.738 GB, free: 77.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/11.71, allocations: 15.75 kB / 4.738 GB, free: 77.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/11.71, allocations: 3.125 kB / 4.738 GB, free: 77.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003494/11.72, allocations: 2.058 MB / 4.74 GB, free: 76.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/11.73, allocations: 5.018 MB / 4.745 GB, free: 76.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/11.73, allocations: 0 / 4.745 GB, free: 76.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/11.73, allocations: 274 kB / 4.745 GB, free: 76.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/11.73, allocations: 320.2 kB / 4.746 GB, free: 76.24 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/11.73, allocations: 28.72 kB / 4.746 GB, free: 76.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006649/11.74, allocations: 8.738 MB / 4.754 GB, free: 69 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/11.74, allocations: 2.578 kB / 4.754 GB, free: 69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007621/11.75, allocations: 3.445 MB / 4.757 GB, free: 68.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002766/11.75, allocations: 0.6421 MB / 4.758 GB, free: 68.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/11.75, allocations: 18.22 kB / 4.758 GB, free: 68.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/11.75, allocations: 110.2 kB / 4.758 GB, free: 68.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/11.75, allocations: 121.8 kB / 4.758 GB, free: 68.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000314/11.75, allocations: 68.72 kB / 4.758 GB, free: 68.14 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004905/11.76, allocations: 1.773 MB / 4.76 GB, free: 68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.056e-06/11.76, allocations: 0 / 4.76 GB, free: 68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01187/11.77, allocations: 1.689 MB / 4.762 GB, free: 67.91 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (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.x[1],pumRad.filter.x[2]) * 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 (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005718/11.78, allocations: 2.13 MB / 4.764 GB, free: 67.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01034/11.79, allocations: 3.895 MB / 4.768 GB, free: 67.08 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/11.79, allocations: 4.344 kB / 4.768 GB, free: 67.08 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002857/11.79, allocations: 1.623 MB / 4.769 GB, free: 66.45 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009835/11.8, allocations: 1.462 MB / 4.771 GB, free: 66.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/11.82, allocations: 5.346 MB / 4.776 GB, free: 65.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003965/11.82, allocations: 2.456 MB / 4.778 GB, free: 64.46 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.008397/11.83, allocations: 1.688 MB / 4.78 GB, free: 64.42 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/11.83, allocations: 198.6 kB / 4.78 GB, free: 64.41 MB / 0.8855 GB Notification: Performance of SimCode: time 1.503e-06/11.83, allocations: 0 / 4.78 GB, free: 64.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.1255/11.96, allocations: 71.07 MB / 4.85 GB, free: 59.72 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_Boiler_System2.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches