Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001382/0.001382, allocations: 116.7 kB / 16.81 MB, free: 5.77 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.00134/0.00134, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.44/1.44, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.27 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06941/0.432, allocations: 57.69 MB / 1.318 GB, free: 3.066 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.4495, allocations: 10.49 MB / 1.329 GB, free: 8.547 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.4516, allocations: 51.75 kB / 1.329 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.4539, allocations: 0.7026 MB / 1.329 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00712/0.461, allocations: 2.074 MB / 1.331 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.4653, allocations: 1.333 MB / 1.333 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006008/0.4713, allocations: 3.678 MB / 1.336 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.4733, allocations: 1.026 MB / 1.337 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.4768, allocations: 1.353 MB / 1.339 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.4789, allocations: 1.085 MB / 1.34 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.4792, allocations: 128 kB / 1.34 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.4822, allocations: 1.267 MB / 1.341 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.4827, allocations: 354.5 kB / 1.341 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.4839, allocations: 0.7814 MB / 1.342 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004751/0.4887, allocations: 2.406 MB / 1.344 GB, free: 8.258 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4887, allocations: 4 kB / 1.344 GB, free: 8.254 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4887, allocations: 0 / 1.344 GB, free: 8.254 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.029e-05/0.4887, allocations: 0 / 1.344 GB, free: 8.254 MB / 1.061 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.003649/0.4924, allocations: 1.93 MB / 1.346 GB, free: 6.246 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.4924, allocations: 8.625 kB / 1.346 GB, free: 6.238 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004889/0.4929, allocations: 179.8 kB / 1.347 GB, free: 6.062 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.4951, allocations: 1.207 MB / 1.348 GB, free: 4.801 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.4951, allocations: 70 kB / 1.348 GB, free: 4.734 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.4953, allocations: 95.95 kB / 1.348 GB, free: 4.641 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.497, allocations: 0.9683 MB / 1.349 GB, free: 3.633 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.497, allocations: 3.938 kB / 1.349 GB, free: 3.629 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/0.4971, allocations: 36 kB / 1.349 GB, free: 3.594 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.4972, allocations: 24 kB / 1.349 GB, free: 3.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.4985, allocations: 0.6714 MB / 1.35 GB, free: 2.898 MB / 1.061 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.005905/0.5044, allocations: 4.066 MB / 1.354 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.5052, allocations: 366.7 kB / 1.354 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.5056, allocations: 234.5 kB / 1.354 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000496/0.5061, allocations: 0.4956 MB / 1.355 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000654/0.5067, allocations: 358 kB / 1.355 GB, free: 13.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=52): time 2.465e-06/0.5067, allocations: 0 / 1.355 GB, free: 13.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=54): time 0.004616/0.5113, allocations: 1.998 MB / 1.357 GB, free: 10.94 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5114, allocations: 144.8 kB / 1.357 GB, free: 10.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.5131, allocations: 1.117 MB / 1.358 GB, free: 9.641 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.5131, allocations: 37.7 kB / 1.358 GB, free: 9.598 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/0.5137, allocations: 0.583 MB / 1.359 GB, free: 9.008 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.5139, allocations: 186.4 kB / 1.359 GB, free: 8.824 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.5141, allocations: 150.2 kB / 1.359 GB, free: 8.672 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5143, allocations: 334 kB / 1.359 GB, free: 8.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.5147, allocations: 223.7 kB / 1.36 GB, free: 8.117 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.5153, allocations: 436.6 kB / 1.36 GB, free: 7.613 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009551/0.5162, allocations: 0.6429 MB / 1.361 GB, free: 6.902 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5162, allocations: 4 kB / 1.361 GB, free: 6.898 MB / 1.076 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001678/0.5179, allocations: 0.8917 MB / 1.361 GB, free: 5.988 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.518, allocations: 37.69 kB / 1.362 GB, free: 5.945 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.518, allocations: 4.562 kB / 1.362 GB, free: 5.941 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/0.5184, allocations: 121.7 kB / 1.362 GB, free: 5.816 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.5189, allocations: 115.8 kB / 1.362 GB, free: 5.703 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.5214, allocations: 2.363 MB / 1.364 GB, free: 3.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009593/0.5224, allocations: 52.02 kB / 1.364 GB, free: 3.129 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/0.5224, allocations: 35.98 kB / 1.364 GB, free: 3.094 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008308/0.5232, allocations: 469.6 kB / 1.365 GB, free: 2.629 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006084/0.5239, allocations: 428.2 kB / 1.365 GB, free: 2.129 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/0.5249, allocations: 0.6507 MB / 1.366 GB, free: 1.406 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/0.5249, allocations: 0 / 1.366 GB, free: 1.406 MB / 1.076 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001694/0.5266, allocations: 0.8802 MB / 1.366 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.5266, allocations: 37.69 kB / 1.367 GB, free: 472 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5266, allocations: 7.938 kB / 1.367 GB, free: 464 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.527, allocations: 118 kB / 1.367 GB, free: 340 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.5274, allocations: 119.9 kB / 1.367 GB, free: 220 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.5297, allocations: 2.375 MB / 1.369 GB, free: 13.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/0.5306, allocations: 59.94 kB / 1.369 GB, free: 13.62 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/0.5307, allocations: 35.98 kB / 1.369 GB, free: 13.59 MB / 1.092 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.0003337/0.5311, allocations: 249.8 kB / 1.369 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.5314, allocations: 135.1 kB / 1.37 GB, free: 13.2 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.533, allocations: 0.8157 MB / 1.37 GB, free: 12.35 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/0.5342, allocations: 0.6995 MB / 1.371 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.5342, allocations: 4 kB / 1.371 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.5348, allocations: 256.2 kB / 1.371 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.535, allocations: 12 kB / 1.371 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.5358, allocations: 39.95 kB / 1.371 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.5359, allocations: 28.39 kB / 1.371 GB, free: 11.26 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001759/0.5376, allocations: 0.8491 MB / 1.372 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001756/0.5394, allocations: 1.117 MB / 1.373 GB, free: 9.234 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000377/0.5397, allocations: 207.5 kB / 1.373 GB, free: 9.035 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001383/0.5411, allocations: 0.7722 MB / 1.374 GB, free: 8.258 MB / 1.092 GB Notification: Performance of Backend: time 2.7e-07/0.5411, allocations: 4 kB / 1.374 GB, free: 8.254 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004109/0.5452, allocations: 1.531 MB / 1.376 GB, free: 6.676 MB / 1.092 GB Notification: Performance of SimCode: time 0.006499/0.5517, allocations: 2.997 MB / 1.379 GB, free: 3.625 MB / 1.092 GB Notification: Performance of Templates: time 0.05914/0.6109, allocations: 28.31 MB / 1.406 GB, free: 7.629 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches