Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001478/0.001478, allocations: 112.4 kB / 16.42 MB, free: 6.504 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.00147/0.00147, allocations: 186.6 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 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 68.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.965/0.9667, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06987/1.037, allocations: 57.28 MB / 1.223 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0192/1.056, allocations: 10.45 MB / 1.233 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00448/1.06, allocations: 55.69 kB / 1.233 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003508/1.064, allocations: 0.7027 MB / 1.234 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00854/1.073, allocations: 2.07 MB / 1.236 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004968/1.078, allocations: 1.32 MB / 1.237 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006832/1.084, allocations: 3.685 MB / 1.241 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/1.087, allocations: 1.244 MB / 1.242 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004175/1.091, allocations: 1.35 MB / 1.244 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/1.094, allocations: 1.027 MB / 1.245 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005793/1.094, allocations: 132 kB / 1.245 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/1.098, allocations: 1.248 MB / 1.246 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006974/1.099, allocations: 338.8 kB / 1.246 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00197/1.101, allocations: 0.7853 MB / 1.247 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005793/1.106, allocations: 2.385 MB / 1.249 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.106, allocations: 0 / 1.249 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.865e-06/1.107, allocations: 0 / 1.249 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.534e-05/1.107, allocations: 0 / 1.249 GB, free: 15.48 MB / 0.9825 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.005738/1.112, allocations: 1.878 MB / 1.251 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.984e-05/1.112, allocations: 12.03 kB / 1.251 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/1.113, allocations: 163.1 kB / 1.251 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/1.116, allocations: 1.209 MB / 1.253 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/1.116, allocations: 70 kB / 1.253 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/1.117, allocations: 92 kB / 1.253 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/1.118, allocations: 0.9567 MB / 1.254 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/1.118, allocations: 0 / 1.254 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/1.118, allocations: 32 kB / 1.254 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/1.118, allocations: 35.92 kB / 1.254 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/1.12, allocations: 0.6714 MB / 1.254 GB, free: 10.2 MB / 0.9825 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.00537/1.125, allocations: 4.061 MB / 1.258 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007484/1.126, allocations: 400.3 kB / 1.259 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/1.126, allocations: 262.5 kB / 1.259 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004481/1.127, allocations: 0.503 MB / 1.259 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/1.127, allocations: 358 kB / 1.26 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=52): time 2.665e-06/1.127, allocations: 0 / 1.26 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=54): time 0.004073/1.131, allocations: 1.969 MB / 1.262 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/1.131, allocations: 144.9 kB / 1.262 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/1.133, allocations: 1.106 MB / 1.263 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/1.133, allocations: 37.7 kB / 1.263 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/1.133, allocations: 0.5858 MB / 1.264 GB, free: 288 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/1.134, allocations: 181.4 kB / 1.264 GB, free: 104 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/1.134, allocations: 150.2 kB / 1.264 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.134, allocations: 334 kB / 1.264 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/1.134, allocations: 219.7 kB / 1.264 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/1.135, allocations: 428.7 kB / 1.265 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/1.136, allocations: 0.6624 MB / 1.265 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.136, allocations: 0 / 1.265 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001548/1.137, allocations: 0.8874 MB / 1.266 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/1.138, allocations: 37.7 kB / 1.266 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.138, allocations: 4 kB / 1.266 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004424/1.138, allocations: 125.9 kB / 1.266 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/1.138, allocations: 111.8 kB / 1.267 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.141, allocations: 2.379 MB / 1.269 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.142, allocations: 43.95 kB / 1.269 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/1.142, allocations: 32.06 kB / 1.269 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009502/1.143, allocations: 469.6 kB / 1.269 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005854/1.143, allocations: 428.2 kB / 1.27 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009484/1.144, allocations: 0.6468 MB / 1.27 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/1.144, allocations: 0 / 1.27 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001535/1.146, allocations: 0.8798 MB / 1.271 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/1.146, allocations: 45.75 kB / 1.271 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.146, allocations: 4 kB / 1.271 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/1.146, allocations: 109.7 kB / 1.271 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/1.147, allocations: 123.8 kB / 1.272 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/1.149, allocations: 2.375 MB / 1.274 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/1.15, allocations: 51.94 kB / 1.274 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/1.15, allocations: 32 kB / 1.274 GB, free: 4.875 MB / 0.9981 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.000403/1.15, allocations: 267.1 kB / 1.274 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/1.15, allocations: 126.4 kB / 1.274 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/1.152, allocations: 0.8001 MB / 1.275 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/1.153, allocations: 0.719 MB / 1.276 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.153, allocations: 0 / 1.276 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/1.153, allocations: 251.6 kB / 1.276 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.154, allocations: 12 kB / 1.276 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/1.154, allocations: 23.97 kB / 1.276 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.154, allocations: 36.38 kB / 1.276 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001551/1.156, allocations: 0.8529 MB / 1.277 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001515/1.157, allocations: 1.105 MB / 1.278 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003626/1.158, allocations: 251.5 kB / 1.278 GB, free: 304 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001351/1.159, allocations: 0.7722 MB / 1.279 GB, free: 15.52 MB / 1.014 GB Notification: Performance of Backend: time 1.012e-06/1.159, allocations: 0 / 1.279 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004333/1.163, allocations: 1.649 MB / 1.281 GB, free: 13.82 MB / 1.014 GB Notification: Performance of SimCode: time 0.005627/1.169, allocations: 2.958 MB / 1.284 GB, free: 10.82 MB / 1.014 GB Notification: Performance of Templates: time 0.04882/1.218, allocations: 27.87 MB / 1.311 GB, free: 15.25 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches