Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 393.5 MB / 408.4 MB, free: 11 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.001125/0.001125, allocations: 186.6 kB / 0.4902 GB, free: 2.223 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.648/1.648, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009264/0.0009264, allocations: 105.6 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 8.219 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2675, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9852/1.253, allocations: 420.5 MB / 1.64 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.253, allocations: 96.83 kB / 1.64 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.719/2.972, allocations: 463 MB / 2.092 GB, free: 235.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.644e-06/2.972, allocations: 0 / 2.092 GB, free: 235.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000185/2.972, allocations: 35.98 kB / 2.092 GB, free: 235.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.004601/2.977, allocations: 1.754 MB / 2.094 GB, free: 233.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/2.977, allocations: 15.95 kB / 2.094 GB, free: 233.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/2.978, allocations: 166.1 kB / 2.094 GB, free: 233.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003479/2.981, allocations: 1.411 MB / 2.095 GB, free: 231.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/2.981, allocations: 70.45 kB / 2.096 GB, free: 231.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/2.982, allocations: 88 kB / 2.096 GB, free: 231.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/2.984, allocations: 0.9488 MB / 2.097 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/2.984, allocations: 3.906 kB / 2.097 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/2.984, allocations: 36 kB / 2.097 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/2.984, allocations: 34 kB / 2.097 GB, free: 230.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/2.985, allocations: 0.648 MB / 2.097 GB, free: 230 MB / 1.167 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.005706/2.991, allocations: 4.137 MB / 2.101 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009952/2.992, allocations: 0.4964 MB / 2.102 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/2.992, allocations: 0.4986 MB / 2.102 GB, free: 224.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/2.993, allocations: 366.8 kB / 2.103 GB, free: 224.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=49): time 2.775e-06/2.993, allocations: 0 / 2.103 GB, free: 224.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=51): time 0.004557/2.997, allocations: 2.093 MB / 2.105 GB, free: 221.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/2.997, allocations: 140.9 kB / 2.105 GB, free: 221.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/2.999, allocations: 0.9737 MB / 2.106 GB, free: 220.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.202e-05/2.999, allocations: 37.7 kB / 2.106 GB, free: 220.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/2.999, allocations: 0.5856 MB / 2.106 GB, free: 220.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/3, allocations: 169.6 kB / 2.106 GB, free: 219.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/3, allocations: 12 kB / 2.106 GB, free: 219.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.421e-05/3, allocations: 330 kB / 2.107 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/3, allocations: 213.2 kB / 2.107 GB, free: 219.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/3, allocations: 431.8 kB / 2.107 GB, free: 218.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/3.001, allocations: 299.8 kB / 2.108 GB, free: 218.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/3.001, allocations: 0 / 2.108 GB, free: 218.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001395/3.002, allocations: 0.8876 MB / 2.109 GB, free: 217.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003886/3.003, allocations: 1.529 MB / 2.11 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/3.003, allocations: 11.94 kB / 2.11 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/3.003, allocations: 117.6 kB / 2.11 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/3.004, allocations: 111.8 kB / 2.11 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/3.005, allocations: 2.247 MB / 2.112 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/3.007, allocations: 95.72 kB / 2.113 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/3.007, allocations: 31.98 kB / 2.113 GB, free: 213.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/3.007, allocations: 4 kB / 2.113 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/3.008, allocations: 0.7697 MB / 2.113 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/3.008, allocations: 4.5 kB / 2.113 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/3.008, allocations: 129.5 kB / 2.113 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/3.009, allocations: 103.8 kB / 2.114 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/3.01, allocations: 2.223 MB / 2.116 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/3.011, allocations: 75.91 kB / 2.116 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/3.011, allocations: 39.94 kB / 2.116 GB, free: 209.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008873/3.012, allocations: 426.6 kB / 2.116 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/3.013, allocations: 118.6 kB / 2.116 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/3.014, allocations: 0.8107 MB / 2.117 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/3.014, allocations: 4.375 kB / 2.117 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/3.014, allocations: 4 kB / 2.117 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009227/3.015, allocations: 0.7433 MB / 2.118 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/3.018, allocations: 1.884 MB / 2.12 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/3.018, allocations: 0 / 2.12 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/3.019, allocations: 67.89 kB / 2.12 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/3.019, allocations: 133.6 kB / 2.12 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/3.019, allocations: 15.98 kB / 2.12 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/3.02, allocations: 2.226 MB / 2.122 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/3.02, allocations: 128 / 2.122 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/3.022, allocations: 1.254 MB / 2.123 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/3.023, allocations: 287.6 kB / 2.124 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/3.023, allocations: 16 kB / 2.124 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/3.024, allocations: 39.95 kB / 2.124 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/3.024, allocations: 39.91 kB / 2.124 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/3.024, allocations: 27.97 kB / 2.124 GB, free: 201.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001188/3.025, allocations: 0.7597 MB / 2.125 GB, free: 200.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/3.025, allocations: 7.938 kB / 2.125 GB, free: 200.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002857/3.028, allocations: 0.6325 MB / 2.125 GB, free: 199.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001799/3.03, allocations: 0.5909 MB / 2.126 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002307/3.032, allocations: 1.294 MB / 2.127 GB, free: 197.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/3.032, allocations: 0 / 2.127 GB, free: 197.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/3.033, allocations: 491.2 kB / 2.127 GB, free: 197.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/3.036, allocations: 0.5581 MB / 2.128 GB, free: 196.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/3.04, allocations: 2.425 MB / 2.13 GB, free: 194.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008149/3.041, allocations: 1.155 MB / 2.131 GB, free: 193.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001222/3.042, allocations: 229.3 kB / 2.132 GB, free: 193 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/3.042, allocations: 87.41 kB / 2.132 GB, free: 192.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.625e-06/3.042, allocations: 0 / 2.132 GB, free: 192.9 MB / 1.167 GB Notification: Performance of Templates: time 0.04277/3.085, allocations: 25.27 MB / 2.156 GB, free: 167.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches