Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 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.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_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") translateModel(Buildings.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_latest_Buildings.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.001539/0.001539, 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.001625/0.001625, 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.514/1.514, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 472.7 MB / 0.746 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001587, allocations: 63.89 kB / 1.07 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9507/0.9523, allocations: 159.9 MB / 1.226 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial): time 0.1959/1.148, allocations: 181.5 MB / 1.404 GB, free: 7.496 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01794/1.166, allocations: 13.83 MB / 1.417 GB, free: 9.629 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/1.168, allocations: 27.88 kB / 1.417 GB, free: 9.602 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/1.169, allocations: 0.493 MB / 1.418 GB, free: 9.105 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00403/1.173, allocations: 1.333 MB / 1.419 GB, free: 7.766 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/1.178, allocations: 1.56 MB / 1.42 GB, free: 6.215 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002705/1.18, allocations: 1.956 MB / 1.422 GB, free: 4.254 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000966/1.181, allocations: 0.6941 MB / 1.423 GB, free: 3.543 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007983/1.189, allocations: 3.307 MB / 1.426 GB, free: 228 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/1.191, allocations: 0.6224 MB / 1.427 GB, free: 15.59 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/1.191, allocations: 84 kB / 1.427 GB, free: 15.51 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00769/1.198, allocations: 2.801 MB / 1.43 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000307/1.199, allocations: 219 kB / 1.43 GB, free: 12.5 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/1.2, allocations: 0.5092 MB / 1.43 GB, free: 11.98 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005648/1.205, allocations: 2.566 MB / 1.433 GB, free: 9.41 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.206, allocations: 7.938 kB / 1.433 GB, free: 9.402 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.713e-06/1.206, allocations: 0 / 1.433 GB, free: 9.402 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.432e-05/1.206, allocations: 0 / 1.433 GB, free: 9.402 MB / 1.154 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.003537/1.209, allocations: 1.44 MB / 1.434 GB, free: 7.898 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.209, allocations: 8.031 kB / 1.434 GB, free: 7.891 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/1.211, allocations: 219.1 kB / 1.435 GB, free: 7.676 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/1.212, allocations: 0.7058 MB / 1.435 GB, free: 6.93 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/1.212, allocations: 49.31 kB / 1.435 GB, free: 6.883 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/1.213, allocations: 64 kB / 1.435 GB, free: 6.82 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/1.214, allocations: 0.6839 MB / 1.436 GB, free: 6.117 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/1.214, allocations: 0 / 1.436 GB, free: 6.117 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/1.214, allocations: 28 kB / 1.436 GB, free: 6.09 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/1.214, allocations: 16 kB / 1.436 GB, free: 6.074 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/1.215, allocations: 0.5086 MB / 1.437 GB, free: 5.566 MB / 1.154 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.01766/1.233, allocations: 6.864 MB / 1.443 GB, free: 14.34 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/1.233, allocations: 284.8 kB / 1.443 GB, free: 14.04 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/1.234, allocations: 190.7 kB / 1.444 GB, free: 13.84 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/1.234, allocations: 295.5 kB / 1.444 GB, free: 13.5 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/1.235, allocations: 318.6 kB / 1.444 GB, free: 13.16 MB / 1.17 GB Notification: Performance of pre-optimization done (n=38): time 3.056e-06/1.235, allocations: 0 / 1.444 GB, free: 13.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.006228/1.241, allocations: 2.362 MB / 1.447 GB, free: 10.68 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.241, allocations: 187.9 kB / 1.447 GB, free: 10.45 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/1.243, allocations: 0.8018 MB / 1.448 GB, free: 9.637 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/1.243, allocations: 33.7 kB / 1.448 GB, free: 9.598 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/1.243, allocations: 440.5 kB / 1.448 GB, free: 9.164 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.243, allocations: 154.8 kB / 1.448 GB, free: 9.012 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/1.243, allocations: 118.2 kB / 1.448 GB, free: 8.887 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.243, allocations: 322 kB / 1.449 GB, free: 8.566 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/1.244, allocations: 211 kB / 1.449 GB, free: 8.359 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/1.244, allocations: 338.9 kB / 1.449 GB, free: 7.984 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008415/1.245, allocations: 0.5351 MB / 1.45 GB, free: 7.406 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.245, allocations: 0 / 1.45 GB, free: 7.406 MB / 1.17 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001739/1.247, allocations: 0.7983 MB / 1.45 GB, free: 6.594 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/1.247, allocations: 33.7 kB / 1.45 GB, free: 6.555 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.247, allocations: 0 / 1.45 GB, free: 6.555 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008283/1.248, allocations: 149.8 kB / 1.451 GB, free: 6.402 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/1.249, allocations: 143.8 kB / 1.451 GB, free: 6.262 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/1.253, allocations: 4.52 MB / 1.455 GB, free: 1.414 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00086/1.253, allocations: 48.05 kB / 1.455 GB, free: 1.367 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/1.254, allocations: 23.98 kB / 1.455 GB, free: 1.344 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006753/1.254, allocations: 389.1 kB / 1.456 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004845/1.255, allocations: 334.8 kB / 1.456 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007629/1.256, allocations: 0.5234 MB / 1.456 GB, free: 28 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/1.256, allocations: 0 / 1.456 GB, free: 28 kB / 1.17 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001656/1.257, allocations: 0.7906 MB / 1.457 GB, free: 15.21 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/1.257, allocations: 37.7 kB / 1.457 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.257, allocations: 4 kB / 1.457 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007214/1.258, allocations: 141.6 kB / 1.457 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/1.258, allocations: 115.8 kB / 1.457 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/1.262, allocations: 3.326 MB / 1.461 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008458/1.262, allocations: 52 kB / 1.461 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/1.262, allocations: 23.98 kB / 1.461 GB, free: 11.23 MB / 1.186 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.0002583/1.263, allocations: 243.2 kB / 1.461 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/1.263, allocations: 95.38 kB / 1.461 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/1.264, allocations: 0.732 MB / 1.462 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.264, allocations: 0 / 1.462 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.264, allocations: 3.938 kB / 1.462 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/1.265, allocations: 208.5 kB / 1.462 GB, free: 9.898 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/1.265, allocations: 12 kB / 1.462 GB, free: 9.887 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/1.265, allocations: 27.97 kB / 1.462 GB, free: 9.859 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/1.266, allocations: 32.23 kB / 1.462 GB, free: 9.828 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001607/1.267, allocations: 0.8947 MB / 1.463 GB, free: 8.891 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001342/1.269, allocations: 1.073 MB / 1.464 GB, free: 7.793 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000324/1.269, allocations: 207.9 kB / 1.464 GB, free: 7.59 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000999/1.27, allocations: 0.5732 MB / 1.465 GB, free: 7.023 MB / 1.186 GB Notification: Performance of Backend: time 3.51e-07/1.27, allocations: 0 / 1.465 GB, free: 7.023 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005643/1.276, allocations: 2.017 MB / 1.467 GB, free: 4.934 MB / 1.186 GB Notification: Performance of SimCode: time 0.003661/1.279, allocations: 2.287 MB / 1.469 GB, free: 2.586 MB / 1.186 GB Notification: Performance of Templates: time 0.04846/1.328, allocations: 29.2 MB / 1.497 GB, free: 5.609 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches