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/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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 107.3 kB / 16.41 MB, free: 6.492 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.001728/0.001728, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9626/0.964, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06013/1.024, allocations: 57.27 MB / 1.264 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01678/1.041, allocations: 10.47 MB / 1.275 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/1.044, allocations: 55.69 kB / 1.275 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/1.047, allocations: 0.6832 MB / 1.275 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00648/1.053, allocations: 1.975 MB / 1.277 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0039/1.057, allocations: 1.309 MB / 1.278 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00547/1.063, allocations: 3.677 MB / 1.282 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/1.064, allocations: 1.244 MB / 1.283 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/1.068, allocations: 1.347 MB / 1.285 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/1.069, allocations: 1.038 MB / 1.286 GB, free: 14.33 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/1.069, allocations: 128 kB / 1.286 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/1.072, allocations: 1.244 MB / 1.287 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/1.073, allocations: 342.8 kB / 1.287 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009525/1.073, allocations: 0.7814 MB / 1.288 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00382/1.077, allocations: 2.389 MB / 1.29 GB, free: 9.449 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.077, allocations: 0 / 1.29 GB, free: 9.449 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/1.077, allocations: 4 kB / 1.29 GB, free: 9.445 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.038e-05/1.077, allocations: 0 / 1.29 GB, free: 9.445 MB / 1.014 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.003395/1.081, allocations: 1.882 MB / 1.292 GB, free: 7.492 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.081, allocations: 12.03 kB / 1.292 GB, free: 7.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/1.081, allocations: 167.1 kB / 1.292 GB, free: 7.316 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/1.083, allocations: 1.194 MB / 1.294 GB, free: 6.066 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.106e-05/1.083, allocations: 81.98 kB / 1.294 GB, free: 5.984 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/1.083, allocations: 88 kB / 1.294 GB, free: 5.898 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/1.085, allocations: 0.9566 MB / 1.295 GB, free: 4.906 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.085, allocations: 7.938 kB / 1.295 GB, free: 4.898 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/1.085, allocations: 36 kB / 1.295 GB, free: 4.863 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/1.085, allocations: 24 kB / 1.295 GB, free: 4.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/1.086, allocations: 0.6675 MB / 1.295 GB, free: 4.172 MB / 1.014 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.005526/1.092, allocations: 4.057 MB / 1.299 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/1.093, allocations: 409.8 kB / 1.3 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/1.093, allocations: 254.5 kB / 1.3 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004351/1.093, allocations: 0.5069 MB / 1.3 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005544/1.094, allocations: 354 kB / 1.301 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=52): time 2.595e-06/1.094, allocations: 0 / 1.301 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=54): time 0.004151/1.098, allocations: 1.973 MB / 1.303 GB, free: 12.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.098, allocations: 144.9 kB / 1.303 GB, free: 12.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/1.1, allocations: 1.109 MB / 1.304 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/1.1, allocations: 45.7 kB / 1.304 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000561/1.1, allocations: 0.5819 MB / 1.305 GB, free: 10.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/1.101, allocations: 181.4 kB / 1.305 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/1.101, allocations: 146.2 kB / 1.305 GB, free: 9.918 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.101, allocations: 330 kB / 1.305 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/1.101, allocations: 223.7 kB / 1.305 GB, free: 9.367 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/1.102, allocations: 432.7 kB / 1.306 GB, free: 8.863 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008824/1.103, allocations: 0.6584 MB / 1.306 GB, free: 8.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.103, allocations: 0 / 1.306 GB, free: 8.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001449/1.104, allocations: 0.8872 MB / 1.307 GB, free: 7.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/1.104, allocations: 41.7 kB / 1.307 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.104, allocations: 4 kB / 1.307 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/1.105, allocations: 122.2 kB / 1.307 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/1.105, allocations: 119.8 kB / 1.308 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/1.107, allocations: 2.359 MB / 1.31 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/1.108, allocations: 48.02 kB / 1.31 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/1.108, allocations: 31.98 kB / 1.31 GB, free: 4.336 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000713/1.109, allocations: 465.7 kB / 1.31 GB, free: 3.875 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005557/1.109, allocations: 428.2 kB / 1.311 GB, free: 3.379 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000914/1.11, allocations: 0.6507 MB / 1.311 GB, free: 2.656 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/1.11, allocations: 0 / 1.311 GB, free: 2.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001489/1.112, allocations: 0.8835 MB / 1.312 GB, free: 1.754 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/1.112, allocations: 37.69 kB / 1.312 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.112, allocations: 4 kB / 1.312 GB, free: 1.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/1.112, allocations: 114 kB / 1.312 GB, free: 1.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/1.113, allocations: 123.8 kB / 1.313 GB, free: 1.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/1.115, allocations: 2.371 MB / 1.315 GB, free: 14.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/1.115, allocations: 47.95 kB / 1.315 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/1.116, allocations: 32.06 kB / 1.315 GB, free: 14.86 MB / 1.045 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.0002824/1.116, allocations: 265.9 kB / 1.315 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/1.116, allocations: 130.4 kB / 1.315 GB, free: 14.45 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/1.117, allocations: 0.8156 MB / 1.316 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/1.119, allocations: 0.7074 MB / 1.317 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.119, allocations: 4 kB / 1.317 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/1.119, allocations: 247.6 kB / 1.317 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/1.119, allocations: 12 kB / 1.317 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/1.12, allocations: 31.95 kB / 1.317 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.12, allocations: 32.39 kB / 1.317 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001527/1.121, allocations: 0.8528 MB / 1.318 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001522/1.123, allocations: 1.101 MB / 1.319 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003364/1.123, allocations: 251.4 kB / 1.319 GB, free: 10.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001113/1.124, allocations: 0.7722 MB / 1.32 GB, free: 9.488 MB / 1.045 GB Notification: Performance of Backend: time 3.21e-07/1.124, allocations: 0 / 1.32 GB, free: 9.488 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003461/1.128, allocations: 1.647 MB / 1.322 GB, free: 7.797 MB / 1.045 GB Notification: Performance of SimCode: time 0.005026/1.133, allocations: 2.95 MB / 1.325 GB, free: 4.801 MB / 1.045 GB Notification: Performance of Templates: time 0.04952/1.183, allocations: 28.43 MB / 1.352 GB, free: 8.668 MB / 1.076 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches