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.424/1.424, allocations: 249.3 MB / 261.9 MB, free: 5.883 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.001026/0.001025, allocations: 182.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001046/0.001046, allocations: 82.56 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.513e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2226, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.231/6.453, allocations: 2.493 GB / 3.385 GB, free: 217 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/6.454, allocations: 87.95 kB / 3.385 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.906/11.36, allocations: 1.297 GB / 4.681 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.883e-06/11.36, allocations: 0 / 4.681 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007916/11.36, allocations: 96.02 kB / 4.681 GB, free: 100.1 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.01441/11.38, allocations: 3.367 MB / 4.685 GB, free: 98.94 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/11.38, allocations: 7.438 kB / 4.685 GB, free: 98.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008683/11.38, allocations: 1.136 MB / 4.686 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/11.4, allocations: 4.743 MB / 4.69 GB, free: 98.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/11.4, allocations: 183.3 kB / 4.691 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/11.4, allocations: 251.2 kB / 4.691 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008679/11.41, allocations: 3.05 MB / 4.694 GB, free: 97.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-05/11.41, allocations: 6.656 kB / 4.694 GB, free: 97.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/11.41, allocations: 103.3 kB / 4.694 GB, free: 97.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/11.41, allocations: 99.34 kB / 4.694 GB, free: 97.67 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004295/11.41, allocations: 2.516 MB / 4.696 GB, free: 97.64 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.01974/11.43, allocations: 13.22 MB / 4.709 GB, free: 92.29 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/11.44, allocations: 2.326 MB / 4.712 GB, free: 91.77 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/11.44, allocations: 0.9547 MB / 4.713 GB, free: 91.75 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009147/11.45, allocations: 4.367 MB / 4.717 GB, free: 90.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/11.45, allocations: 0.9486 MB / 4.718 GB, free: 90.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001808/11.45, allocations: 201 kB / 4.718 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 7.113e-06/11.45, allocations: 0 / 4.718 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.01117/11.46, allocations: 4.429 MB / 4.722 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/11.46, allocations: 122.1 kB / 4.722 GB, free: 89.08 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004457/11.47, allocations: 2.75 MB / 4.725 GB, free: 88.81 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00047/11.47, allocations: 65.19 kB / 4.725 GB, free: 88.78 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/11.47, allocations: 1.51 MB / 4.727 GB, free: 88.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000607/11.47, allocations: 0.5169 MB / 4.727 GB, free: 87.97 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/11.47, allocations: 42.75 kB / 4.727 GB, free: 87.97 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001345/11.47, allocations: 398.6 kB / 4.728 GB, free: 87.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/11.47, allocations: 0.8843 MB / 4.728 GB, free: 87.65 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/11.47, allocations: 1.523 MB / 4.73 GB, free: 86.92 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/11.47, allocations: 1.151 MB / 4.731 GB, free: 86.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/11.47, allocations: 5.812 kB / 4.731 GB, free: 86.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005459/11.48, allocations: 2.977 MB / 4.734 GB, free: 86.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00135/11.48, allocations: 7.168 MB / 4.741 GB, free: 79.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/11.48, allocations: 17.73 kB / 4.741 GB, free: 79.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/11.48, allocations: 436 kB / 4.741 GB, free: 79.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/11.48, allocations: 496.8 kB / 4.742 GB, free: 79.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/11.49, allocations: 2.638 MB / 4.744 GB, free: 77.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/11.49, allocations: 224.4 kB / 4.745 GB, free: 77.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004363/11.49, allocations: 114.8 kB / 4.745 GB, free: 77.33 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/11.49, allocations: 5.5 kB / 4.745 GB, free: 77.33 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00469/11.5, allocations: 2.67 MB / 4.747 GB, free: 77.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/11.5, allocations: 20.12 kB / 4.747 GB, free: 77.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/11.5, allocations: 456.4 kB / 4.748 GB, free: 77.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/11.5, allocations: 484.1 kB / 4.748 GB, free: 77.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/11.5, allocations: 2.635 MB / 4.751 GB, free: 75.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/11.51, allocations: 200.5 kB / 4.751 GB, free: 75.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/11.51, allocations: 109 kB / 4.751 GB, free: 75.37 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.0006978/11.51, allocations: 240.7 kB / 4.751 GB, free: 75.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009106/11.51, allocations: 309.9 kB / 4.752 GB, free: 75.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004534/11.51, allocations: 2.424 MB / 4.754 GB, free: 74.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/11.51, allocations: 17.73 kB / 4.754 GB, free: 74.91 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/11.51, allocations: 10.16 kB / 4.754 GB, free: 74.91 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002701/11.52, allocations: 2.07 MB / 4.756 GB, free: 74.47 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009614/11.53, allocations: 5.308 MB / 4.761 GB, free: 73.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/11.53, allocations: 6.938 kB / 4.761 GB, free: 73.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/11.53, allocations: 271.3 kB / 4.761 GB, free: 73.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/11.53, allocations: 328.2 kB / 4.762 GB, free: 73.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/11.53, allocations: 51.42 kB / 4.762 GB, free: 73.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005349/11.53, allocations: 8.97 MB / 4.771 GB, free: 66.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/11.53, allocations: 0 / 4.771 GB, free: 66.28 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/11.54, allocations: 3.481 MB / 4.774 GB, free: 65.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/11.54, allocations: 0.6699 MB / 4.775 GB, free: 65.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007306/11.54, allocations: 38.2 kB / 4.775 GB, free: 65.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/11.54, allocations: 140.5 kB / 4.775 GB, free: 65.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/11.54, allocations: 123 kB / 4.775 GB, free: 65.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/11.54, allocations: 72.11 kB / 4.775 GB, free: 65.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003891/11.55, allocations: 2.085 MB / 4.777 GB, free: 65.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/11.55, allocations: 0 / 4.777 GB, free: 65.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.011/11.56, allocations: 1.782 MB / 4.779 GB, free: 65.16 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.00489/11.56, allocations: 2.126 MB / 4.781 GB, free: 64.46 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008153/11.57, allocations: 4.003 MB / 4.785 GB, free: 64.08 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/11.57, allocations: 448 / 4.785 GB, free: 64.08 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002271/11.57, allocations: 1.671 MB / 4.786 GB, free: 63.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009061/11.58, allocations: 1.676 MB / 4.788 GB, free: 63.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/11.59, allocations: 5.484 MB / 4.793 GB, free: 61.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/11.6, allocations: 2.449 MB / 4.796 GB, free: 60.97 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006389/11.6, allocations: 1.822 MB / 4.798 GB, free: 60.79 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/11.6, allocations: 204 kB / 4.798 GB, free: 60.79 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/11.6, allocations: 0 / 4.798 GB, free: 60.79 MB / 0.8855 GB Notification: Performance of Templates: time 0.1314/11.73, allocations: 90.95 MB / 4.887 GB, free: 24.86 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