Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.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.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.y|boiDyn.QFue_flow|boiSte.QFue_flow|boiDyn.vol.VLiq|boiSte.VLiq",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") translateModel(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.y|boiDyn.QFue_flow|boiSte.QFue_flow|boiDyn.vol.VLiq|boiSte.VLiq",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 114.9 kB / 16.42 MB, free: 6.012 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.001096/0.001096, allocations: 183.2 kB / 17.35 MB, free: 5.629 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.14 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.496/2.496, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 67.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.8999, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial): time 0.199/1.099, allocations: 181.5 MB / 1.345 GB, free: 13.65 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0194/1.118, allocations: 13.85 MB / 1.358 GB, free: 15.77 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/1.12, allocations: 27.88 kB / 1.358 GB, free: 15.74 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/1.121, allocations: 0.4969 MB / 1.359 GB, free: 15.24 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003806/1.125, allocations: 1.324 MB / 1.36 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003989/1.129, allocations: 1.56 MB / 1.361 GB, free: 12.36 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002802/1.132, allocations: 1.956 MB / 1.363 GB, free: 10.39 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/1.133, allocations: 0.7018 MB / 1.364 GB, free: 9.676 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007857/1.141, allocations: 3.312 MB / 1.367 GB, free: 6.352 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/1.142, allocations: 0.6184 MB / 1.368 GB, free: 5.73 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/1.142, allocations: 84 kB / 1.368 GB, free: 5.648 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005341/1.148, allocations: 2.805 MB / 1.371 GB, free: 2.84 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/1.148, allocations: 215.2 kB / 1.371 GB, free: 2.629 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006352/1.149, allocations: 0.513 MB / 1.371 GB, free: 2.113 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003855/1.153, allocations: 2.607 MB / 1.374 GB, free: 15.5 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/1.153, allocations: 7.984 kB / 1.374 GB, free: 15.49 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.184e-06/1.153, allocations: 0 / 1.374 GB, free: 15.49 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.369e-05/1.153, allocations: 0 / 1.374 GB, free: 15.49 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002359/1.155, allocations: 1.411 MB / 1.375 GB, free: 14.02 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.155, allocations: 12.88 kB / 1.375 GB, free: 14.01 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/1.157, allocations: 206.6 kB / 1.376 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/1.158, allocations: 0.6857 MB / 1.376 GB, free: 13.08 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/1.158, allocations: 53.31 kB / 1.376 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.158, allocations: 64 kB / 1.376 GB, free: 12.96 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.159, allocations: 0.6722 MB / 1.377 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/1.159, allocations: 11.83 kB / 1.377 GB, free: 12.26 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/1.159, allocations: 28 kB / 1.377 GB, free: 12.23 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/1.159, allocations: 23.92 kB / 1.377 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/1.16, allocations: 0.5048 MB / 1.378 GB, free: 11.71 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.01721/1.177, allocations: 6.855 MB / 1.384 GB, free: 4.492 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/1.178, allocations: 287.8 kB / 1.385 GB, free: 4.184 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/1.178, allocations: 182.5 kB / 1.385 GB, free: 3.996 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/1.179, allocations: 303.2 kB / 1.385 GB, free: 3.645 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004585/1.179, allocations: 302.3 kB / 1.385 GB, free: 3.316 MB / 1.107 GB Notification: Performance of pre-optimization done (n=38): time 2.866e-06/1.179, allocations: 4 kB / 1.385 GB, free: 3.312 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.005285/1.184, allocations: 2.337 MB / 1.388 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/1.185, allocations: 191.9 kB / 1.388 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.186, allocations: 0.8018 MB / 1.389 GB, free: 15.82 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/1.186, allocations: 37.7 kB / 1.389 GB, free: 15.78 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/1.186, allocations: 427.9 kB / 1.389 GB, free: 15.36 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/1.186, allocations: 153.8 kB / 1.389 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/1.186, allocations: 110.1 kB / 1.389 GB, free: 15.09 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.186, allocations: 322 kB / 1.39 GB, free: 14.77 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/1.187, allocations: 215 kB / 1.39 GB, free: 14.55 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/1.187, allocations: 334.9 kB / 1.39 GB, free: 14.18 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/1.188, allocations: 0.5468 MB / 1.391 GB, free: 13.6 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.188, allocations: 0 / 1.391 GB, free: 13.6 MB / 1.123 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00157/1.19, allocations: 0.7824 MB / 1.391 GB, free: 12.8 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/1.19, allocations: 49.69 kB / 1.391 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.19, allocations: 3.938 kB / 1.391 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007681/1.191, allocations: 133.6 kB / 1.392 GB, free: 12.6 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007748/1.191, allocations: 147.8 kB / 1.392 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/1.195, allocations: 4.506 MB / 1.396 GB, free: 7.629 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/1.196, allocations: 52 kB / 1.396 GB, free: 7.578 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/1.196, allocations: 24 kB / 1.396 GB, free: 7.555 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000641/1.197, allocations: 389.1 kB / 1.396 GB, free: 7.168 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004729/1.197, allocations: 334.9 kB / 1.397 GB, free: 6.801 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007709/1.198, allocations: 0.5273 MB / 1.397 GB, free: 6.234 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/1.198, allocations: 0 / 1.397 GB, free: 6.234 MB / 1.123 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001548/1.2, allocations: 0.7822 MB / 1.398 GB, free: 5.43 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/1.2, allocations: 37.69 kB / 1.398 GB, free: 5.387 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.2, allocations: 4 kB / 1.398 GB, free: 5.383 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000717/1.2, allocations: 141.8 kB / 1.398 GB, free: 5.238 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/1.201, allocations: 111.9 kB / 1.398 GB, free: 5.129 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/1.204, allocations: 3.326 MB / 1.402 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/1.205, allocations: 55.95 kB / 1.402 GB, free: 1.473 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/1.205, allocations: 27.98 kB / 1.402 GB, free: 1.445 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002608/1.205, allocations: 252.6 kB / 1.402 GB, free: 1.188 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/1.205, allocations: 91 kB / 1.402 GB, free: 1.098 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/1.206, allocations: 0.7074 MB / 1.403 GB, free: 364 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.207, allocations: 4 kB / 1.403 GB, free: 360 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.207, allocations: 7.922 kB / 1.403 GB, free: 352 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/1.207, allocations: 196.1 kB / 1.403 GB, free: 136 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.207, allocations: 19.94 kB / 1.403 GB, free: 116 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/1.207, allocations: 23.97 kB / 1.403 GB, free: 92 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/1.208, allocations: 35.89 kB / 1.403 GB, free: 56 kB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001528/1.209, allocations: 0.8899 MB / 1.404 GB, free: 15.12 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001287/1.21, allocations: 1.072 MB / 1.405 GB, free: 14.03 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002848/1.211, allocations: 204.7 kB / 1.405 GB, free: 13.83 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008374/1.212, allocations: 0.5771 MB / 1.406 GB, free: 13.26 MB / 1.139 GB Notification: Performance of Backend: time 3.81e-07/1.212, allocations: 4 kB / 1.406 GB, free: 13.26 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005019/1.217, allocations: 2.013 MB / 1.408 GB, free: 11.18 MB / 1.139 GB Notification: Performance of SimCode: time 0.003491/1.22, allocations: 2.266 MB / 1.41 GB, free: 8.852 MB / 1.139 GB Notification: Performance of Templates: time 0.04732/1.267, allocations: 29.49 MB / 1.439 GB, free: 11.63 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches