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.491/1.491, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 185.1 kB / 326.5 MB, free: 2.246 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.838/1.838, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008464/0.0008462, allocations: 99.81 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.000423, allocations: 8.906 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2261, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.281/6.507, allocations: 2.493 GB / 3.393 GB, free: 59.98 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/6.508, allocations: 91.95 kB / 3.393 GB, free: 59.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.496/12, allocations: 1.3 GB / 4.693 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.473e-06/12, allocations: 0 / 4.693 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008053/12, allocations: 99.73 kB / 4.693 GB, free: 127.3 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.01623/12.02, allocations: 4.175 MB / 4.697 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/12.02, allocations: 8.031 kB / 4.697 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007864/12.03, allocations: 1.139 MB / 4.698 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/12.04, allocations: 4.787 MB / 4.703 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000296/12.04, allocations: 188.5 kB / 4.703 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/12.05, allocations: 251.9 kB / 4.703 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009485/12.06, allocations: 3.081 MB / 4.706 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/12.06, allocations: 15.94 kB / 4.706 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008853/12.06, allocations: 99.98 kB / 4.707 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/12.06, allocations: 96.39 kB / 4.707 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006564/12.06, allocations: 2.586 MB / 4.709 GB, free: 110.6 MB / 0.8855 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.02705/12.09, allocations: 13.24 MB / 4.722 GB, free: 96.76 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003694/12.09, allocations: 2.363 MB / 4.724 GB, free: 94.31 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/12.11, allocations: 4.357 MB / 4.729 GB, free: 89.72 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001855/12.11, allocations: 0.9696 MB / 4.73 GB, free: 88.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002238/12.11, allocations: 198.2 kB / 4.73 GB, free: 88.54 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 1.287e-05/12.11, allocations: 0 / 4.73 GB, free: 88.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.01439/12.12, allocations: 5.727 MB / 4.735 GB, free: 82.64 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/12.12, allocations: 132 kB / 4.736 GB, free: 82.49 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006615/12.13, allocations: 2.776 MB / 4.738 GB, free: 79.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006862/12.13, allocations: 65.7 kB / 4.738 GB, free: 79.64 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002177/12.13, allocations: 1.51 MB / 4.74 GB, free: 78.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/12.14, allocations: 0.5083 MB / 4.74 GB, free: 77.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/12.14, allocations: 48 kB / 4.74 GB, free: 77.55 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000257/12.14, allocations: 390.2 kB / 4.741 GB, free: 77.17 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/12.14, allocations: 0.9294 MB / 4.742 GB, free: 76.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/12.14, allocations: 1.558 MB / 4.743 GB, free: 74.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/12.14, allocations: 1.189 MB / 4.744 GB, free: 73.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/12.14, allocations: 8 kB / 4.744 GB, free: 73.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00772/12.15, allocations: 3.064 MB / 4.747 GB, free: 70.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002071/12.15, allocations: 7.166 MB / 4.754 GB, free: 62.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.939e-05/12.15, allocations: 16 kB / 4.754 GB, free: 62.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/12.16, allocations: 464.1 kB / 4.755 GB, free: 62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/12.16, allocations: 0.4914 MB / 4.755 GB, free: 61.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/12.16, allocations: 2.726 MB / 4.758 GB, free: 58.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004587/12.17, allocations: 239.3 kB / 4.758 GB, free: 58.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007401/12.17, allocations: 119.9 kB / 4.758 GB, free: 58.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/12.17, allocations: 4 kB / 4.758 GB, free: 58.27 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00706/12.17, allocations: 2.75 MB / 4.761 GB, free: 55.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.548e-05/12.17, allocations: 16 kB / 4.761 GB, free: 55.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/12.18, allocations: 489.1 kB / 4.761 GB, free: 55.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/12.18, allocations: 483.3 kB / 4.762 GB, free: 54.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/12.18, allocations: 2.737 MB / 4.764 GB, free: 51.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/12.19, allocations: 207.5 kB / 4.765 GB, free: 51.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005629/12.19, allocations: 99.97 kB / 4.765 GB, free: 51.34 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.003544/12.19, allocations: 1.101 MB / 4.766 GB, free: 50.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/12.19, allocations: 304.5 kB / 4.766 GB, free: 49.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006027/12.2, allocations: 2.457 MB / 4.769 GB, free: 47.45 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/12.2, allocations: 23.92 kB / 4.769 GB, free: 47.42 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/12.2, allocations: 4 kB / 4.769 GB, free: 47.42 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003404/12.2, allocations: 2.112 MB / 4.771 GB, free: 45.22 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/12.22, allocations: 5.351 MB / 4.776 GB, free: 39.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/12.22, allocations: 0 / 4.776 GB, free: 39.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/12.22, allocations: 283.6 kB / 4.776 GB, free: 39.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009482/12.22, allocations: 303.5 kB / 4.776 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/12.22, allocations: 55.92 kB / 4.776 GB, free: 39.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005885/12.22, allocations: 8.876 MB / 4.785 GB, free: 29.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/12.22, allocations: 3.938 kB / 4.785 GB, free: 29.46 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006212/12.23, allocations: 3.538 MB / 4.789 GB, free: 25.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002717/12.23, allocations: 0.6572 MB / 4.789 GB, free: 25.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/12.23, allocations: 43.95 kB / 4.789 GB, free: 25.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/12.24, allocations: 143.6 kB / 4.789 GB, free: 24.97 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/12.24, allocations: 121.1 kB / 4.79 GB, free: 24.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000249/12.24, allocations: 67.95 kB / 4.79 GB, free: 24.79 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00529/12.24, allocations: 2.115 MB / 4.792 GB, free: 22.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/12.24, allocations: 0 / 4.792 GB, free: 22.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01058/12.25, allocations: 1.792 MB / 4.793 GB, free: 20.89 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (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.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 135 * 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%) 3,(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.005521/12.26, allocations: 2.163 MB / 4.796 GB, free: 18.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009987/12.27, allocations: 4.044 MB / 4.799 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/12.27, allocations: 448 / 4.799 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002575/12.27, allocations: 1.684 MB / 4.801 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00968/12.28, allocations: 1.685 MB / 4.803 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/12.3, allocations: 7.785 MB / 4.81 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/12.3, allocations: 2.443 MB / 4.813 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006394/12.31, allocations: 1.162 MB / 4.814 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/12.31, allocations: 259.2 kB / 4.814 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of SimCode: time 1.343e-06/12.31, allocations: 0 / 4.814 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of Templates: time 0.7891/13.1, allocations: 82.61 MB / 4.895 GB, free: 141 MB / 0.9011 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