Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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.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_9_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_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.114/2.114, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001322/0.001322, allocations: 172.9 kB / 487.4 MB, free: 5.031 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.389/1.389, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009477/0.0009478, allocations: 95.91 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.847e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2563, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.363, allocations: 419 MB / 1.615 GB, free: 3.617 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.363, allocations: 93.44 kB / 1.615 GB, free: 3.57 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.56/2.923, allocations: 459.1 MB / 2.064 GB, free: 142.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/2.923, allocations: 4 kB / 2.064 GB, free: 142.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001292/2.924, allocations: 39.92 kB / 2.064 GB, free: 142.3 MB / 1.151 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.002806/2.926, allocations: 1.498 MB / 2.065 GB, free: 140.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/2.926, allocations: 8.031 kB / 2.065 GB, free: 140.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005743/2.927, allocations: 170.1 kB / 2.065 GB, free: 140.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/2.929, allocations: 1.406 MB / 2.067 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/2.93, allocations: 32 kB / 2.067 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/2.93, allocations: 55.95 kB / 2.067 GB, free: 139 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000918/2.931, allocations: 0.5819 MB / 2.067 GB, free: 138.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/2.932, allocations: 0.8045 MB / 2.068 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/2.932, allocations: 0 / 2.068 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/2.932, allocations: 4 kB / 2.068 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/2.932, allocations: 37.92 kB / 2.068 GB, free: 137.6 MB / 1.151 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.003971/2.936, allocations: 3.943 MB / 2.072 GB, free: 133.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/2.937, allocations: 479.4 kB / 2.072 GB, free: 132.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/2.937, allocations: 242 kB / 2.073 GB, free: 132.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/2.937, allocations: 0.4986 MB / 2.073 GB, free: 132.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/2.938, allocations: 334.9 kB / 2.073 GB, free: 131.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 1.843e-06/2.938, allocations: 4 kB / 2.073 GB, free: 131.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=51): time 0.002692/2.94, allocations: 1.55 MB / 2.075 GB, free: 130.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/2.94, allocations: 132.9 kB / 2.075 GB, free: 130 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008507/2.941, allocations: 0.8242 MB / 2.076 GB, free: 129.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/2.941, allocations: 29.69 kB / 2.076 GB, free: 129.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/2.941, allocations: 0.5965 MB / 2.076 GB, free: 128.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/2.942, allocations: 161.6 kB / 2.077 GB, free: 128.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/2.942, allocations: 4 kB / 2.077 GB, free: 128.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/2.942, allocations: 333.9 kB / 2.077 GB, free: 128 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/2.942, allocations: 193.5 kB / 2.077 GB, free: 127.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/2.942, allocations: 407.4 kB / 2.078 GB, free: 127.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/2.943, allocations: 266 kB / 2.078 GB, free: 127 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/2.943, allocations: 0 / 2.078 GB, free: 127 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001101/2.944, allocations: 0.792 MB / 2.079 GB, free: 126.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000219/2.944, allocations: 1.521 MB / 2.08 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/2.944, allocations: 4 kB / 2.08 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/2.944, allocations: 141.6 kB / 2.08 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/2.945, allocations: 103.8 kB / 2.08 GB, free: 124.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/2.946, allocations: 2.184 MB / 2.082 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/2.947, allocations: 75.88 kB / 2.082 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/2.947, allocations: 35.97 kB / 2.083 GB, free: 121.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/2.947, allocations: 4 kB / 2.083 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009912/2.948, allocations: 0.6706 MB / 2.083 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/2.948, allocations: 4 kB / 2.083 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/2.948, allocations: 105.7 kB / 2.083 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/2.948, allocations: 112.1 kB / 2.083 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/2.95, allocations: 2.183 MB / 2.086 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/2.95, allocations: 63.97 kB / 2.086 GB, free: 118.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/2.95, allocations: 28 kB / 2.086 GB, free: 118.6 MB / 1.151 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 () * 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.0001441/2.95, allocations: 163.1 kB / 2.086 GB, free: 118.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/2.951, allocations: 114.7 kB / 2.086 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/2.952, allocations: 0.7179 MB / 2.087 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/2.952, allocations: 7.984 kB / 2.087 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/2.952, allocations: 7.953 kB / 2.087 GB, free: 117.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008178/2.952, allocations: 0.6753 MB / 2.087 GB, free: 116.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/2.955, allocations: 1.701 MB / 2.089 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/2.955, allocations: 4.031 kB / 2.089 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/2.955, allocations: 67.89 kB / 2.089 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000332/2.955, allocations: 133.6 kB / 2.089 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/2.955, allocations: 4 kB / 2.089 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/2.956, allocations: 2.175 MB / 2.091 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/2.956, allocations: 128 / 2.091 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/2.958, allocations: 1.154 MB / 2.092 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/2.958, allocations: 279.8 kB / 2.093 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/2.958, allocations: 8 kB / 2.093 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/2.959, allocations: 39.8 kB / 2.093 GB, free: 111 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/2.959, allocations: 39.91 kB / 2.093 GB, free: 111 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/2.959, allocations: 23.98 kB / 2.093 GB, free: 110.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006266/2.96, allocations: 0.6281 MB / 2.093 GB, free: 110.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/2.96, allocations: 0 / 2.093 GB, free: 110.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001654/2.961, allocations: 0.6013 MB / 2.094 GB, free: 109.7 MB / 1.151 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) * 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.001045/2.962, allocations: 0.6076 MB / 2.095 GB, free: 109.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001394/2.964, allocations: 1.249 MB / 2.096 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.964, allocations: 0 / 2.096 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/2.964, allocations: 449.3 kB / 2.096 GB, free: 107.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/2.966, allocations: 477.2 kB / 2.097 GB, free: 106.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/2.968, allocations: 1.435 MB / 2.098 GB, free: 105.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/2.969, allocations: 1.164 MB / 2.099 GB, free: 104.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00106/2.97, allocations: 288 kB / 2.099 GB, free: 103.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/2.97, allocations: 63.42 kB / 2.1 GB, free: 103.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/2.97, allocations: 0 / 2.1 GB, free: 103.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03078/3.001, allocations: 22.69 MB / 2.122 GB, free: 81.39 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches