Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002451/0.002451, allocations: 213.7 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.382/3.382, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 77.95 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6108/0.613, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.07151/0.6845, allocations: 52.8 MB / 1.379 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.7045, allocations: 9.735 MB / 1.388 GB, free: 2.227 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.7078, allocations: 79.31 kB / 1.388 GB, free: 2.148 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.7106, allocations: 0.6832 MB / 1.389 GB, free: 1.461 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008793/0.7194, allocations: 2.102 MB / 1.391 GB, free: 15.35 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005049/0.7244, allocations: 1.34 MB / 1.392 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007948/0.7324, allocations: 3.757 MB / 1.396 GB, free: 10.25 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.7348, allocations: 0.9678 MB / 1.397 GB, free: 9.246 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005474/0.7402, allocations: 1.541 MB / 1.398 GB, free: 7.707 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.743, allocations: 1.062 MB / 1.399 GB, free: 6.641 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/0.7433, allocations: 124 kB / 1.4 GB, free: 6.52 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.7469, allocations: 1.045 MB / 1.401 GB, free: 5.473 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005447/0.7474, allocations: 366.5 kB / 1.401 GB, free: 5.113 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.7487, allocations: 0.6221 MB / 1.401 GB, free: 4.488 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005584/0.7543, allocations: 2.413 MB / 1.404 GB, free: 2.066 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.7543, allocations: 0 / 1.404 GB, free: 2.066 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.584e-06/0.7543, allocations: 3.938 kB / 1.404 GB, free: 2.062 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.798e-05/0.7543, allocations: 0 / 1.404 GB, free: 2.062 MB / 1.092 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.004192/0.7585, allocations: 1.855 MB / 1.406 GB, free: 152 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 7.05e-05/0.7586, allocations: 12.03 kB / 1.406 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005866/0.7592, allocations: 180.3 kB / 1.406 GB, free: 15.96 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.7618, allocations: 1.153 MB / 1.407 GB, free: 14.77 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/0.7619, allocations: 70 kB / 1.407 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.7621, allocations: 88 kB / 1.407 GB, free: 14.61 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.7642, allocations: 1.19 MB / 1.408 GB, free: 13.33 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.7643, allocations: 7.938 kB / 1.408 GB, free: 13.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.7644, allocations: 40 kB / 1.408 GB, free: 13.28 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.7644, allocations: 24 kB / 1.408 GB, free: 13.26 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.7658, allocations: 0.7043 MB / 1.409 GB, free: 12.55 MB / 1.107 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.005919/0.7717, allocations: 3.083 MB / 1.412 GB, free: 9.387 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000862/0.7725, allocations: 394 kB / 1.412 GB, free: 8.984 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.773, allocations: 257.4 kB / 1.413 GB, free: 8.723 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.7733, allocations: 48.41 kB / 1.413 GB, free: 8.676 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008654/0.7741, allocations: 0.5834 MB / 1.413 GB, free: 8.012 MB / 1.107 GB Notification: Performance of pre-optimization done (n=52): time 5.661e-06/0.7741, allocations: 3.984 kB / 1.413 GB, free: 8.008 MB / 1.107 GB Notification: Performance of matching and sorting (n=54): time 0.004662/0.7788, allocations: 1.89 MB / 1.415 GB, free: 6.047 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.7789, allocations: 144.9 kB / 1.415 GB, free: 5.875 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.7805, allocations: 0.9782 MB / 1.416 GB, free: 4.879 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.7805, allocations: 41.7 kB / 1.416 GB, free: 4.832 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006692/0.7812, allocations: 0.5978 MB / 1.417 GB, free: 4.227 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.7814, allocations: 194.3 kB / 1.417 GB, free: 4.035 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.7817, allocations: 142.3 kB / 1.417 GB, free: 3.887 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.7819, allocations: 334 kB / 1.417 GB, free: 3.555 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.7823, allocations: 253.4 kB / 1.418 GB, free: 3.301 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.7833, allocations: 0.7652 MB / 1.418 GB, free: 2.371 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.7844, allocations: 0.6559 MB / 1.419 GB, free: 1.641 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7844, allocations: 0 / 1.419 GB, free: 1.641 MB / 1.107 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001832/0.7862, allocations: 0.9195 MB / 1.42 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/0.7863, allocations: 45.69 kB / 1.42 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7863, allocations: 4 kB / 1.42 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.7868, allocations: 113.6 kB / 1.42 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.7873, allocations: 119.8 kB / 1.42 GB, free: 416 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.79, allocations: 2.244 MB / 1.422 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008363/0.7908, allocations: 31.97 kB / 1.423 GB, free: 14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.7909, allocations: 32 kB / 1.423 GB, free: 13.97 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001004/0.7919, allocations: 499.3 kB / 1.423 GB, free: 13.48 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009091/0.7928, allocations: 0.7601 MB / 1.424 GB, free: 12.55 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009938/0.7938, allocations: 0.6443 MB / 1.424 GB, free: 11.84 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.7938, allocations: 0 / 1.424 GB, free: 11.84 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001743/0.7955, allocations: 0.9076 MB / 1.425 GB, free: 10.91 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.7956, allocations: 41.69 kB / 1.425 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7956, allocations: 4 kB / 1.425 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.7961, allocations: 113.7 kB / 1.425 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.7966, allocations: 116.1 kB / 1.426 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.799, allocations: 2.244 MB / 1.428 GB, free: 8.258 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000909/0.7999, allocations: 35.97 kB / 1.428 GB, free: 8.223 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/0.8, allocations: 32.12 kB / 1.428 GB, free: 8.191 MB / 1.123 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.0004523/0.8004, allocations: 266.4 kB / 1.428 GB, free: 7.918 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.8006, allocations: 119.2 kB / 1.428 GB, free: 7.801 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.8024, allocations: 0.8416 MB / 1.429 GB, free: 6.934 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.8036, allocations: 0.7392 MB / 1.43 GB, free: 6.141 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8036, allocations: 0 / 1.43 GB, free: 6.141 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/0.8041, allocations: 175.1 kB / 1.43 GB, free: 5.969 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.8043, allocations: 8 kB / 1.43 GB, free: 5.961 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.8047, allocations: 32.11 kB / 1.43 GB, free: 5.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.8049, allocations: 36.36 kB / 1.43 GB, free: 5.895 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001764/0.8066, allocations: 0.8847 MB / 1.431 GB, free: 4.969 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001815/0.8084, allocations: 1.166 MB / 1.432 GB, free: 3.773 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004166/0.8089, allocations: 241.1 kB / 1.432 GB, free: 3.535 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001211/0.8101, allocations: 0.675 MB / 1.433 GB, free: 2.852 MB / 1.123 GB Notification: Performance of Backend: time 7.42e-07/0.8101, allocations: 0 / 1.433 GB, free: 2.852 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004139/0.8142, allocations: 1.572 MB / 1.434 GB, free: 1.211 MB / 1.123 GB Notification: Performance of SimCode: time 0.005852/0.8201, allocations: 2.866 MB / 1.437 GB, free: 14.29 MB / 1.139 GB Notification: Performance of Templates: time 0.05504/0.8751, allocations: 28.06 MB / 1.465 GB, free: 2.668 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.261564019005164]