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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001197/0.001197, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001125/0.001125, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 63.91 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.969/0.9705, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06142/1.032, allocations: 57.28 MB / 1.282 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01637/1.048, allocations: 10.46 MB / 1.292 GB, free: 9.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/1.051, allocations: 51.75 kB / 1.293 GB, free: 9.496 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/1.053, allocations: 0.7104 MB / 1.293 GB, free: 8.781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006302/1.059, allocations: 2.064 MB / 1.295 GB, free: 6.711 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003768/1.063, allocations: 1.321 MB / 1.297 GB, free: 5.402 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005738/1.068, allocations: 3.67 MB / 1.3 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/1.07, allocations: 1.24 MB / 1.301 GB, free: 460 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/1.074, allocations: 1.344 MB / 1.303 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/1.075, allocations: 1.027 MB / 1.304 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002089/1.076, allocations: 128 kB / 1.304 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/1.078, allocations: 1.24 MB / 1.305 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/1.079, allocations: 346.7 kB / 1.305 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009148/1.08, allocations: 0.7853 MB / 1.306 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003819/1.084, allocations: 2.402 MB / 1.308 GB, free: 9.172 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.084, allocations: 3.984 kB / 1.308 GB, free: 9.168 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/1.084, allocations: 0 / 1.308 GB, free: 9.168 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.851e-05/1.084, allocations: 4 kB / 1.308 GB, free: 9.164 MB / 1.029 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.003249/1.087, allocations: 1.923 MB / 1.31 GB, free: 7.164 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.087, allocations: 16.03 kB / 1.31 GB, free: 7.148 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/1.087, allocations: 175.9 kB / 1.31 GB, free: 6.977 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.089, allocations: 1.21 MB / 1.312 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/1.089, allocations: 66 kB / 1.312 GB, free: 5.648 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.089, allocations: 99.95 kB / 1.312 GB, free: 5.551 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/1.091, allocations: 0.9605 MB / 1.313 GB, free: 4.551 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.091, allocations: 4 kB / 1.313 GB, free: 4.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/1.091, allocations: 36 kB / 1.313 GB, free: 4.512 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/1.091, allocations: 27.98 kB / 1.313 GB, free: 4.484 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/1.092, allocations: 0.6714 MB / 1.313 GB, free: 3.816 MB / 1.029 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.004886/1.097, allocations: 4.07 MB / 1.317 GB, free: 15.53 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/1.098, allocations: 396.5 kB / 1.318 GB, free: 15.13 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/1.098, allocations: 258.8 kB / 1.318 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/1.099, allocations: 0.5029 MB / 1.319 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005564/1.099, allocations: 362 kB / 1.319 GB, free: 13.88 MB / 1.045 GB Notification: Performance of pre-optimization done (n=52): time 2.204e-06/1.099, allocations: 0 / 1.319 GB, free: 13.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=54): time 0.003888/1.103, allocations: 1.987 MB / 1.321 GB, free: 11.8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/1.103, allocations: 144.9 kB / 1.321 GB, free: 11.63 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/1.105, allocations: 1.11 MB / 1.322 GB, free: 10.51 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/1.105, allocations: 41.7 kB / 1.322 GB, free: 10.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/1.105, allocations: 0.5868 MB / 1.323 GB, free: 9.867 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/1.105, allocations: 186.4 kB / 1.323 GB, free: 9.684 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/1.106, allocations: 146.2 kB / 1.323 GB, free: 9.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.106, allocations: 334 kB / 1.323 GB, free: 9.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/1.106, allocations: 223.7 kB / 1.324 GB, free: 8.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/1.107, allocations: 440.6 kB / 1.324 GB, free: 8.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008427/1.108, allocations: 0.6469 MB / 1.325 GB, free: 7.754 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/1.108, allocations: 0 / 1.325 GB, free: 7.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001388/1.109, allocations: 0.9033 MB / 1.325 GB, free: 6.828 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/1.109, allocations: 41.69 kB / 1.326 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.109, allocations: 4 kB / 1.326 GB, free: 6.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/1.109, allocations: 118.2 kB / 1.326 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/1.11, allocations: 115.8 kB / 1.326 GB, free: 6.543 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/1.112, allocations: 2.367 MB / 1.328 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000832/1.113, allocations: 52.02 kB / 1.328 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/1.113, allocations: 27.98 kB / 1.328 GB, free: 3.934 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007923/1.114, allocations: 473.7 kB / 1.329 GB, free: 3.465 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005172/1.114, allocations: 440.1 kB / 1.329 GB, free: 2.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008533/1.115, allocations: 0.6429 MB / 1.33 GB, free: 2.246 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/1.115, allocations: 3.938 kB / 1.33 GB, free: 2.242 MB / 1.045 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001395/1.116, allocations: 0.8881 MB / 1.331 GB, free: 1.332 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/1.116, allocations: 37.69 kB / 1.331 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.116, allocations: 4 kB / 1.331 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/1.117, allocations: 117.9 kB / 1.331 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/1.117, allocations: 123.8 kB / 1.331 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/1.119, allocations: 2.371 MB / 1.333 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/1.12, allocations: 47.95 kB / 1.333 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/1.12, allocations: 36.05 kB / 1.333 GB, free: 14.43 MB / 1.061 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.0002749/1.12, allocations: 269.7 kB / 1.333 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.121, allocations: 131.1 kB / 1.334 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/1.122, allocations: 0.8003 MB / 1.334 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/1.123, allocations: 0.7151 MB / 1.335 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.123, allocations: 0 / 1.335 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/1.123, allocations: 260.2 kB / 1.335 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/1.124, allocations: 16.03 kB / 1.335 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/1.124, allocations: 27.95 kB / 1.335 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/1.124, allocations: 36.39 kB / 1.335 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001546/1.126, allocations: 0.8491 MB / 1.336 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001522/1.127, allocations: 1.117 MB / 1.337 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003489/1.128, allocations: 247.5 kB / 1.338 GB, free: 9.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001104/1.129, allocations: 0.7761 MB / 1.338 GB, free: 9.039 MB / 1.061 GB Notification: Performance of Backend: time 4.41e-07/1.129, allocations: 0 / 1.338 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003508/1.132, allocations: 1.654 MB / 1.34 GB, free: 7.336 MB / 1.061 GB Notification: Performance of SimCode: time 0.004918/1.137, allocations: 2.979 MB / 1.343 GB, free: 4.305 MB / 1.061 GB Notification: Performance of Templates: time 0.0477/1.185, allocations: 27.87 MB / 1.37 GB, free: 8.73 MB / 1.092 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