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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001099/0.0011, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001384/0.001384, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.682/2.682, allocations: 390.9 MB / 0.666 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003282, allocations: 8 kB / 0.8153 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7855, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05155/0.8371, allocations: 52.8 MB / 1.006 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.8533, allocations: 9.806 MB / 1.016 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.856, allocations: 47.69 kB / 1.016 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.8579, allocations: 496.9 kB / 1.016 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005277/0.8632, allocations: 1.558 MB / 1.018 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.8665, allocations: 0.967 MB / 1.019 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005452/0.872, allocations: 4.075 MB / 1.023 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.8736, allocations: 0.9032 MB / 1.023 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.876, allocations: 1.046 MB / 1.024 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.8775, allocations: 0.9178 MB / 1.025 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.8777, allocations: 48 kB / 1.025 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.8801, allocations: 0.8615 MB / 1.026 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.8804, allocations: 242.9 kB / 1.026 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005649/0.881, allocations: 320.9 kB / 1.027 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.8834, allocations: 1.716 MB / 1.028 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.8834, allocations: 0 / 1.028 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8834, allocations: 7.938 kB / 1.028 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.797e-05/0.8834, allocations: 0 / 1.028 GB, free: 3.48 MB / 0.7794 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.002748/0.8862, allocations: 1.613 MB / 1.03 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.8862, allocations: 8.031 kB / 1.03 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.8866, allocations: 170.1 kB / 1.03 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.8884, allocations: 1.135 MB / 1.031 GB, free: 436 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.8885, allocations: 66 kB / 1.031 GB, free: 372 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.8886, allocations: 92 kB / 1.031 GB, free: 280 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.8902, allocations: 0.9567 MB / 1.032 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.8902, allocations: 0 / 1.032 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/0.8903, allocations: 36 kB / 1.032 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.8904, allocations: 31.94 kB / 1.032 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.8915, allocations: 0.6636 MB / 1.033 GB, free: 14.54 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.005021/0.8965, allocations: 4.073 MB / 1.037 GB, free: 10.26 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.8974, allocations: 397.7 kB / 1.037 GB, free: 9.863 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.8978, allocations: 266.2 kB / 1.038 GB, free: 9.605 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/0.8984, allocations: 0.4991 MB / 1.038 GB, free: 8.996 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.899, allocations: 362 kB / 1.039 GB, free: 8.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=52): time 2.625e-06/0.8991, allocations: 0 / 1.039 GB, free: 8.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=54): time 0.004221/0.9033, allocations: 1.957 MB / 1.04 GB, free: 6.559 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.9034, allocations: 141 kB / 1.041 GB, free: 6.391 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.9049, allocations: 1.082 MB / 1.042 GB, free: 5.297 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.9049, allocations: 37.7 kB / 1.042 GB, free: 5.254 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.9055, allocations: 0.5859 MB / 1.042 GB, free: 4.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.9056, allocations: 181.4 kB / 1.042 GB, free: 4.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.9057, allocations: 12 kB / 1.042 GB, free: 4.469 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9058, allocations: 334 kB / 1.043 GB, free: 4.137 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.9061, allocations: 206 kB / 1.043 GB, free: 3.938 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.9066, allocations: 428.9 kB / 1.043 GB, free: 3.441 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.9071, allocations: 303.8 kB / 1.044 GB, free: 3.137 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.9071, allocations: 3.938 kB / 1.044 GB, free: 3.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001392/0.9085, allocations: 0.8755 MB / 1.044 GB, free: 2.234 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.9087, allocations: 249.5 kB / 1.045 GB, free: 1.926 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.9087, allocations: 4 kB / 1.045 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.9091, allocations: 121.6 kB / 1.045 GB, free: 1.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.9095, allocations: 115.8 kB / 1.045 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.9113, allocations: 2.203 MB / 1.047 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009044/0.9122, allocations: 93.25 kB / 1.047 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.9123, allocations: 32 kB / 1.047 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.9123, allocations: 3.984 kB / 1.047 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/0.9135, allocations: 0.766 MB / 1.048 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.9135, allocations: 4 kB / 1.048 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.9138, allocations: 110 kB / 1.048 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.9142, allocations: 123.8 kB / 1.048 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.9158, allocations: 2.188 MB / 1.05 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.9165, allocations: 79.78 kB / 1.05 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.9166, allocations: 35.98 kB / 1.05 GB, free: 11.71 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 ($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 (70): * Single equations (assignments): 67 * 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.0006358/0.9172, allocations: 429.1 kB / 1.051 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.9174, allocations: 122.5 kB / 1.051 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.9186, allocations: 0.808 MB / 1.052 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.9186, allocations: 12 kB / 1.052 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.9187, allocations: 0 / 1.052 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009115/0.9196, allocations: 0.7073 MB / 1.052 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.922, allocations: 1.802 MB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.922, allocations: 3.984 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.9224, allocations: 71.89 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.9227, allocations: 113.8 kB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.9227, allocations: 19.98 kB / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.9243, allocations: 2.188 MB / 1.057 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9243, allocations: 7.969 kB / 1.057 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.9258, allocations: 1.111 MB / 1.058 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.9263, allocations: 271.6 kB / 1.058 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.9264, allocations: 16 kB / 1.058 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.927, allocations: 63.78 kB / 1.058 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.9271, allocations: 39.95 kB / 1.058 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.9272, allocations: 27.97 kB / 1.058 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00102/0.9282, allocations: 0.7487 MB / 1.059 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.436e-06/0.9282, allocations: 0 / 1.059 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001789/0.93, allocations: 0.5936 MB / 1.059 GB, free: 2.188 MB / 0.8106 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 (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.0007831/0.9308, allocations: 393.9 kB / 1.06 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.9329, allocations: 1.329 MB / 1.061 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9329, allocations: 0 / 1.061 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.9335, allocations: 466.7 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.9359, allocations: 0.5768 MB / 1.062 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.9394, allocations: 2.419 MB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.9401, allocations: 1.132 MB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008819/0.941, allocations: 213.6 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.9412, allocations: 87.41 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of SimCode: time 1.553e-06/0.9412, allocations: 4 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.04258/0.9838, allocations: 23.14 MB / 1.088 GB, free: 4.613 MB / 0.8419 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