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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 88.41 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01047/0.01047, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 8 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8421/0.8425, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05821/0.9008, allocations: 55.87 MB / 1.01 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.918, allocations: 10.4 MB / 1.02 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.9213, allocations: 47.69 kB / 1.02 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.9238, allocations: 0.5634 MB / 1.02 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007845/0.9317, allocations: 1.824 MB / 1.022 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.9359, allocations: 1.194 MB / 1.023 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007189/0.9431, allocations: 4.723 MB / 1.028 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.9458, allocations: 1.011 MB / 1.029 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/0.9498, allocations: 1.085 MB / 1.03 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.9523, allocations: 0.9798 MB / 1.031 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.9528, allocations: 48 kB / 1.031 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.9567, allocations: 1.134 MB / 1.032 GB, free: 264 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007309/0.9575, allocations: 262.7 kB / 1.032 GB, free: 0 / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.9594, allocations: 0.7089 MB / 1.033 GB, free: 15.28 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005796/0.9652, allocations: 2.286 MB / 1.035 GB, free: 12.99 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.9653, allocations: 0 / 1.035 GB, free: 12.99 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.218e-06/0.9653, allocations: 4 kB / 1.035 GB, free: 12.98 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.227e-05/0.9654, allocations: 0 / 1.035 GB, free: 12.98 MB / 0.795 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.003654/0.969, allocations: 1.594 MB / 1.037 GB, free: 11.32 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.9691, allocations: 8.031 kB / 1.037 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.9695, allocations: 179 kB / 1.037 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.9716, allocations: 1.174 MB / 1.038 GB, free: 9.906 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.9717, allocations: 66 kB / 1.038 GB, free: 9.84 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.9718, allocations: 92 kB / 1.038 GB, free: 9.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.9735, allocations: 0.9644 MB / 1.039 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.9735, allocations: 0 / 1.039 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.9736, allocations: 36 kB / 1.039 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.9737, allocations: 24 kB / 1.039 GB, free: 8.691 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.9749, allocations: 0.6753 MB / 1.04 GB, free: 8.012 MB / 0.795 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.005536/0.9804, allocations: 4.081 MB / 1.044 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.9812, allocations: 396.3 kB / 1.044 GB, free: 3.324 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.9816, allocations: 258.5 kB / 1.045 GB, free: 3.07 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000483/0.9821, allocations: 0.5068 MB / 1.045 GB, free: 2.453 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006122/0.9827, allocations: 354 kB / 1.045 GB, free: 2.082 MB / 0.795 GB Notification: Performance of pre-optimization done (n=52): time 2.615e-06/0.9828, allocations: 3.938 kB / 1.045 GB, free: 2.078 MB / 0.795 GB Notification: Performance of matching and sorting (n=54): time 0.004852/0.9876, allocations: 1.973 MB / 1.047 GB, free: 0 / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.9878, allocations: 145 kB / 1.047 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.9894, allocations: 1.094 MB / 1.049 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.9894, allocations: 41.7 kB / 1.049 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.99, allocations: 0.5781 MB / 1.049 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.9901, allocations: 181.4 kB / 1.049 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.9902, allocations: 61.69 kB / 1.049 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9904, allocations: 334 kB / 1.05 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.9908, allocations: 217.5 kB / 1.05 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.9913, allocations: 428.9 kB / 1.05 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009089/0.9922, allocations: 0.6546 MB / 1.051 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9923, allocations: 0 / 1.051 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001638/0.9939, allocations: 0.8873 MB / 1.052 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.9941, allocations: 250.6 kB / 1.052 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.9942, allocations: 4 kB / 1.052 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.9946, allocations: 113.7 kB / 1.052 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.9951, allocations: 123.8 kB / 1.052 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.997, allocations: 2.188 MB / 1.054 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.9982, allocations: 97.23 kB / 1.054 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.9983, allocations: 28 kB / 1.055 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.9983, allocations: 4 kB / 1.055 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001314/0.9996, allocations: 0.7738 MB / 1.055 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.9997, allocations: 4.125 kB / 1.055 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/1, allocations: 113.6 kB / 1.055 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/1, allocations: 116.2 kB / 1.055 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/1.002, allocations: 2.192 MB / 1.058 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.003, allocations: 95.75 kB / 1.058 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/1.004, allocations: 27.98 kB / 1.058 GB, free: 4.641 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007399/1.004, allocations: 432.5 kB / 1.058 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/1.004, allocations: 118.6 kB / 1.058 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/1.006, allocations: 0.8155 MB / 1.059 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.006, allocations: 4 kB / 1.059 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/1.006, allocations: 4 kB / 1.059 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000985/1.007, allocations: 0.7112 MB / 1.06 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/1.01, allocations: 1.833 MB / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.01, allocations: 0 / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/1.01, allocations: 71.89 kB / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003418/1.01, allocations: 109.8 kB / 1.062 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/1.011, allocations: 24.14 kB / 1.062 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/1.012, allocations: 2.192 MB / 1.064 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.012, allocations: 3.938 kB / 1.064 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/1.014, allocations: 1.124 MB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005522/1.015, allocations: 283.5 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/1.015, allocations: 19.94 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/1.016, allocations: 63.91 kB / 1.065 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.016, allocations: 39.89 kB / 1.065 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/1.016, allocations: 27.97 kB / 1.065 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00117/1.017, allocations: 0.813 MB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.013e-06/1.017, allocations: 0 / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001951/1.019, allocations: 0.6012 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009111/1.02, allocations: 404.1 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002229/1.022, allocations: 1.348 MB / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.022, allocations: 0 / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007052/1.023, allocations: 472 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/1.027, allocations: 0.7047 MB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/1.031, allocations: 2.479 MB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/1.031, allocations: 1.129 MB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001089/1.032, allocations: 242.2 kB / 1.073 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/1.033, allocations: 95.41 kB / 1.073 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of SimCode: time 1.192e-06/1.033, allocations: 0 / 1.073 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of Templates: time 0.0477/1.08, allocations: 26.72 MB / 1.1 GB, free: 9.598 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches