Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.757/1.757, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009727/0.0009726, allocations: 175.9 kB / 393.1 MB, free: 4.066 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007574/0.0007574, allocations: 91.44 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.508, allocations: 121.3 MB / 1.041 GB, free: 58.53 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0008037/0.5088, allocations: 321.3 kB / 1.041 GB, free: 58.4 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002794/0.5091, allocations: 115.4 kB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.045e-05/0.5091, allocations: 0 / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.5092, allocations: 1.406 kB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-06/0.5092, allocations: 1.406 kB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.5095, allocations: 14 kB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.955e-05/0.5095, allocations: 2.625 kB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.5096, allocations: 1.125 kB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.078e-05/0.5096, allocations: 5.594 kB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.5096, allocations: 2.938 kB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.5097, allocations: 0 / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.5098, allocations: 15.16 kB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.5098, allocations: 1.156 kB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.5098, allocations: 30.58 kB / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.919e-05/0.5099, allocations: 19.8 kB / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5099, allocations: 0 / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5099, allocations: 0 / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.51, allocations: 0 / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002463/0.5102, allocations: 313.4 kB / 1.042 GB, free: 57.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.883e-05/0.5103, allocations: 10.97 kB / 1.042 GB, free: 57.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.5103, allocations: 3.344 kB / 1.042 GB, free: 57.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.924e-05/0.5104, allocations: 161.9 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.5104, allocations: 4.312 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.5104, allocations: 384 / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.972e-05/0.5105, allocations: 31.19 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5105, allocations: 1.656 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.5105, allocations: 3.938 kB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.5105, allocations: 1.469 kB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.5106, allocations: 1.406 kB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.5107, allocations: 148.4 kB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.336e-05/0.5107, allocations: 24.45 kB / 1.042 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.5107, allocations: 6.359 kB / 1.042 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.5108, allocations: 3.172 kB / 1.042 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5108, allocations: 36.88 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5108, allocations: 0.75 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.511, allocations: 41.08 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.511, allocations: 56.88 kB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.028e-05/0.511, allocations: 90.67 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.511, allocations: 25.7 kB / 1.042 GB, free: 57.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.471e-05/0.511, allocations: 83.83 kB / 1.042 GB, free: 57.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.5111, allocations: 4.438 kB / 1.042 GB, free: 57.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.5111, allocations: 0 / 1.042 GB, free: 57.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.5111, allocations: 315.7 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-06/0.5112, allocations: 8.469 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.5112, allocations: 5.375 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.5112, allocations: 9.672 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5112, allocations: 1.125 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.825e-05/0.5113, allocations: 31.73 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5113, allocations: 8.844 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.5113, allocations: 2.062 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5113, allocations: 6.922 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.5114, allocations: 1.594 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5114, allocations: 0 / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.5114, allocations: 1.219 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.5114, allocations: 6.969 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.5115, allocations: 108 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-06/0.5115, allocations: 0 / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.583e-05/0.5116, allocations: 49.36 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5116, allocations: 2.297 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5116, allocations: 1.25 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5116, allocations: 0.5938 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.812e-05/0.5117, allocations: 144.9 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5117, allocations: 0.6875 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.5117, allocations: 1.562 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.5117, allocations: 2.156 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.5117, allocations: 3.938 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5117, allocations: 2.406 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5117, allocations: 2.297 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.491e-05/0.5118, allocations: 63.95 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.5118, allocations: 77.11 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.5118, allocations: 7.094 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.5119, allocations: 1.172 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.5119, allocations: 1.375 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.5119, allocations: 0.7188 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.399e-05/0.5119, allocations: 76.66 kB / 1.043 GB, free: 56.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.5119, allocations: 1.062 kB / 1.043 GB, free: 56.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002025/0.5121, allocations: 4 kB / 1.043 GB, free: 56.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.5123, allocations: 122 kB / 1.043 GB, free: 56.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.485e-05/0.5123, allocations: 6.969 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5124, allocations: 5.438 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-06/0.5124, allocations: 7.609 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.5125, allocations: 1.375 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001612/0.5127, allocations: 72.27 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.472e-05/0.5128, allocations: 0.6742 MB / 1.044 GB, free: 55.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.5128, allocations: 9.438 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.5128, allocations: 8.812 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5128, allocations: 0 / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of Templates: time 0.002/0.5149, allocations: 279.3 kB / 1.044 GB, free: 55.14 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)