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.307/2.307, allocations: 390.5 MB / 398 MB, free: 10.99 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.00118/0.00118, allocations: 184.8 kB / 491.2 MB, free: 1.613 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.48/1.48, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009806/0.0009806, allocations: 95.69 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.641e-05, allocations: 2.312 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3015, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.562, allocations: 419.8 MB / 1.622 GB, free: 11.23 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004446/1.563, allocations: 92.31 kB / 1.622 GB, free: 11.18 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.801/3.364, allocations: 459.1 MB / 2.071 GB, free: 130.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.344e-06/3.364, allocations: 3.984 kB / 2.071 GB, free: 130.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001983/3.364, allocations: 35.98 kB / 2.071 GB, free: 130.8 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.003945/3.368, allocations: 1.506 MB / 2.072 GB, free: 129.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/3.368, allocations: 8.031 kB / 2.072 GB, free: 129.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008638/3.369, allocations: 174.1 kB / 2.072 GB, free: 129.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/3.372, allocations: 1.406 MB / 2.074 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/3.372, allocations: 31.95 kB / 2.074 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/3.373, allocations: 52 kB / 2.074 GB, free: 127.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001252/3.374, allocations: 0.5818 MB / 2.074 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/3.375, allocations: 0.8084 MB / 2.075 GB, free: 126.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/3.375, allocations: 0 / 2.075 GB, free: 126.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/3.375, allocations: 4 kB / 2.075 GB, free: 126.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/3.375, allocations: 37.98 kB / 2.075 GB, free: 126 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.005119/3.381, allocations: 3.947 MB / 2.079 GB, free: 121.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008446/3.381, allocations: 482 kB / 2.08 GB, free: 121.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/3.382, allocations: 245.7 kB / 2.08 GB, free: 121.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/3.382, allocations: 0.4908 MB / 2.08 GB, free: 120.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004357/3.383, allocations: 334.6 kB / 2.081 GB, free: 120.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 3.727e-06/3.383, allocations: 0 / 2.081 GB, free: 120.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=51): time 0.003427/3.386, allocations: 1.551 MB / 2.082 GB, free: 118.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/3.386, allocations: 136.9 kB / 2.082 GB, free: 118.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/3.387, allocations: 0.8164 MB / 2.083 GB, free: 117.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.366e-05/3.387, allocations: 30.14 kB / 2.083 GB, free: 117.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/3.388, allocations: 0.6042 MB / 2.084 GB, free: 116.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/3.388, allocations: 169.5 kB / 2.084 GB, free: 116.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/3.388, allocations: 0 / 2.084 GB, free: 116.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.873e-05/3.388, allocations: 333.9 kB / 2.084 GB, free: 116.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/3.388, allocations: 193.5 kB / 2.084 GB, free: 116.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/3.389, allocations: 403.5 kB / 2.085 GB, free: 115.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/3.389, allocations: 270.7 kB / 2.085 GB, free: 115.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/3.389, allocations: 4 kB / 2.085 GB, free: 115.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001321/3.39, allocations: 0.7883 MB / 2.086 GB, free: 114.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003452/3.391, allocations: 1.528 MB / 2.087 GB, free: 113.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/3.391, allocations: 4 kB / 2.087 GB, free: 113.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/3.391, allocations: 137.6 kB / 2.087 GB, free: 112.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/3.392, allocations: 103.8 kB / 2.087 GB, free: 112.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/3.393, allocations: 2.172 MB / 2.09 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/3.394, allocations: 75.83 kB / 2.09 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/3.394, allocations: 35.98 kB / 2.09 GB, free: 110.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/3.394, allocations: 0 / 2.09 GB, free: 110.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/3.395, allocations: 0.6745 MB / 2.09 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/3.395, allocations: 4 kB / 2.09 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/3.396, allocations: 109.7 kB / 2.09 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/3.396, allocations: 107.9 kB / 2.091 GB, free: 109.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/3.397, allocations: 2.194 MB / 2.093 GB, free: 107.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/3.398, allocations: 59.84 kB / 2.093 GB, free: 107.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/3.398, allocations: 28 kB / 2.093 GB, free: 107.1 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.0002588/3.398, allocations: 154.5 kB / 2.093 GB, free: 106.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/3.399, allocations: 110.6 kB / 2.093 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/3.4, allocations: 0.7182 MB / 2.094 GB, free: 106.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/3.4, allocations: 11.94 kB / 2.094 GB, free: 106 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/3.4, allocations: 4 kB / 2.094 GB, free: 106 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008856/3.401, allocations: 0.683 MB / 2.094 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/3.404, allocations: 1.701 MB / 2.096 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/3.404, allocations: 0 / 2.096 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/3.404, allocations: 68.02 kB / 2.096 GB, free: 103.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004206/3.405, allocations: 129.6 kB / 2.096 GB, free: 103.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/3.405, allocations: 12.06 kB / 2.096 GB, free: 103.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/3.406, allocations: 2.175 MB / 2.098 GB, free: 101 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/3.406, allocations: 4.031 kB / 2.098 GB, free: 101 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/3.408, allocations: 1.154 MB / 2.1 GB, free: 99.82 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006507/3.409, allocations: 271.7 kB / 2.1 GB, free: 99.54 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/3.409, allocations: 8 kB / 2.1 GB, free: 99.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/3.41, allocations: 39.92 kB / 2.1 GB, free: 99.49 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/3.41, allocations: 39.84 kB / 2.1 GB, free: 99.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/3.41, allocations: 23.98 kB / 2.1 GB, free: 99.43 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001022/3.411, allocations: 0.632 MB / 2.101 GB, free: 98.79 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/3.411, allocations: 0 / 2.101 GB, free: 98.79 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002479/3.414, allocations: 0.5974 MB / 2.101 GB, free: 98.19 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.001348/3.415, allocations: 0.5914 MB / 2.102 GB, free: 97.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001833/3.417, allocations: 1.249 MB / 2.103 GB, free: 96.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/3.417, allocations: 4 kB / 2.103 GB, free: 96.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005234/3.417, allocations: 457.7 kB / 2.103 GB, free: 95.83 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/3.42, allocations: 477.2 kB / 2.104 GB, free: 95.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/3.423, allocations: 1.436 MB / 2.105 GB, free: 93.88 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/3.424, allocations: 1.16 MB / 2.106 GB, free: 92.69 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001382/3.425, allocations: 288 kB / 2.107 GB, free: 92.41 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/3.425, allocations: 59.36 kB / 2.107 GB, free: 92.35 MB / 1.151 GB Notification: Performance of SimCode: time 1.203e-06/3.425, allocations: 4 kB / 2.107 GB, free: 92.34 MB / 1.151 GB Notification: Performance of Templates: time 0.0354/3.461, allocations: 22.7 MB / 2.129 GB, free: 69.87 MB / 1.151 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