Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 255.9 MB / 271.2 MB, free: 8.898 MB / 218.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.0008787/0.0008786, allocations: 185.9 kB / 330.8 MB, free: 472 kB / 250.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.309/1.309, allocations: 225.7 MB / 0.6016 GB, free: 1.664 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006912/0.0006913, allocations: 97.44 kB / 0.709 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 17.89 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 109.2 MB / 0.9327 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001201/0.1624, allocations: 1.154 MB / 0.9339 GB, free: 5.09 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.000257/0.1627, allocations: 173.7 kB / 0.934 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.1627, allocations: 0 / 0.934 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.1627, allocations: 3.938 kB / 0.934 GB, free: 4.895 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.161e-05/0.1628, allocations: 4 kB / 0.934 GB, free: 4.891 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.163, allocations: 15.98 kB / 0.9341 GB, free: 4.875 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.192e-05/0.163, allocations: 19.92 kB / 0.9341 GB, free: 4.855 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.1631, allocations: 8 kB / 0.9341 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.1631, allocations: 15.92 kB / 0.9341 GB, free: 4.832 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.027e-05/0.1632, allocations: 7.938 kB / 0.9341 GB, free: 4.824 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1632, allocations: 0 / 0.9341 GB, free: 4.824 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.225e-05/0.1632, allocations: 19.92 kB / 0.9341 GB, free: 4.805 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.1633, allocations: 15.97 kB / 0.9341 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.1633, allocations: 29.64 kB / 0.9342 GB, free: 4.754 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 8.552e-05/0.1634, allocations: 35.89 kB / 0.9342 GB, free: 4.719 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1634, allocations: 0 / 0.9342 GB, free: 4.719 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1634, allocations: 0 / 0.9342 GB, free: 4.719 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.1634, allocations: 0 / 0.9342 GB, free: 4.719 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003244/0.1638, allocations: 343.8 kB / 0.9345 GB, free: 4.332 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1638, allocations: 15.98 kB / 0.9346 GB, free: 4.316 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.1638, allocations: 4.844 kB / 0.9346 GB, free: 4.312 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.995e-05/0.1639, allocations: 172.4 kB / 0.9347 GB, free: 4.105 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1639, allocations: 384 / 0.9347 GB, free: 4.105 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.1639, allocations: 384 / 0.9347 GB, free: 4.105 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1641, allocations: 66.17 kB / 0.9348 GB, free: 4.035 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1641, allocations: 192 / 0.9348 GB, free: 4.035 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1641, allocations: 7.938 kB / 0.9348 GB, free: 4.027 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1641, allocations: 0 / 0.9348 GB, free: 4.027 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1643, allocations: 51.95 kB / 0.9348 GB, free: 3.977 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.1645, allocations: 248.9 kB / 0.9351 GB, free: 3.684 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1646, allocations: 50.48 kB / 0.9351 GB, free: 3.625 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.1647, allocations: 36.84 kB / 0.9352 GB, free: 3.586 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1647, allocations: 0 / 0.9352 GB, free: 3.586 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.1648, allocations: 30.56 kB / 0.9352 GB, free: 3.547 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1648, allocations: 4 kB / 0.9352 GB, free: 3.543 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.000302/0.1651, allocations: 101.6 kB / 0.9353 GB, free: 3.438 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.534e-05/0.1651, allocations: 55.39 kB / 0.9353 GB, free: 3.371 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.433e-05/0.1652, allocations: 101.9 kB / 0.9354 GB, free: 3.262 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.1652, allocations: 25.7 kB / 0.9355 GB, free: 3.23 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.1652, allocations: 100.2 kB / 0.9356 GB, free: 3.129 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.1652, allocations: 7.891 kB / 0.9356 GB, free: 3.121 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.1652, allocations: 0 / 0.9356 GB, free: 3.121 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.1653, allocations: 314.8 kB / 0.9359 GB, free: 2.805 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.1653, allocations: 27.92 kB / 0.9359 GB, free: 2.777 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.1654, allocations: 31.97 kB / 0.9359 GB, free: 2.746 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1656, allocations: 48.83 kB / 0.936 GB, free: 2.695 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1656, allocations: 0 / 0.936 GB, free: 2.695 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.1658, allocations: 85.66 kB / 0.9361 GB, free: 2.605 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1658, allocations: 4 kB / 0.9361 GB, free: 2.602 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1658, allocations: 0 / 0.9361 GB, free: 2.602 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1658, allocations: 0 / 0.9361 GB, free: 2.602 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.1659, allocations: 11.98 kB / 0.9361 GB, free: 2.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1659, allocations: 4.031 kB / 0.9361 GB, free: 2.586 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1659, allocations: 15.92 kB / 0.9361 GB, free: 2.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.166, allocations: 3.938 kB / 0.9361 GB, free: 2.566 MB / 0.573 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 (2): * Single equations (assignments): 2 * 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.118e-05/0.166, allocations: 118.4 kB / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.166, allocations: 3.906 kB / 0.9362 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.1662, allocations: 89.19 kB / 0.9363 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1662, allocations: 0 / 0.9363 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.1662, allocations: 0 / 0.9363 GB, free: 2.344 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1663, allocations: 3.984 kB / 0.9363 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.708e-05/0.1664, allocations: 161.6 kB / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1664, allocations: 0 / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.1664, allocations: 11.98 kB / 0.9365 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1664, allocations: 4.031 kB / 0.9365 GB, free: 2.117 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1664, allocations: 256 / 0.9365 GB, free: 2.117 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1664, allocations: 4 kB / 0.9365 GB, free: 2.113 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1664, allocations: 4 kB / 0.9365 GB, free: 2.109 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1666, allocations: 183.4 kB / 0.9367 GB, free: 1.914 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.1667, allocations: 77.11 kB / 0.9367 GB, free: 1.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1667, allocations: 0 / 0.9367 GB, free: 1.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1667, allocations: 11.98 kB / 0.9367 GB, free: 1.809 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.1668, allocations: 3.984 kB / 0.9367 GB, free: 1.805 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1668, allocations: 0 / 0.9367 GB, free: 1.805 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.1668, allocations: 91.27 kB / 0.9368 GB, free: 1.715 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1668, allocations: 7.969 kB / 0.9368 GB, free: 1.707 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001861/0.167, allocations: 4 kB / 0.9368 GB, free: 1.703 MB / 0.573 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 (2): * Single equations (assignments): 2 * 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 9.677e-05/0.1671, allocations: 107.2 kB / 0.9369 GB, free: 1.586 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1673, allocations: 55.89 kB / 0.937 GB, free: 1.531 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1673, allocations: 0 / 0.937 GB, free: 1.531 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.1674, allocations: 27.98 kB / 0.937 GB, free: 1.504 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1676, allocations: 11.83 kB / 0.937 GB, free: 1.492 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002104/0.1678, allocations: 128.7 kB / 0.9372 GB, free: 1.344 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.276e-05/0.1679, allocations: 0.677 MB / 0.9378 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.168, allocations: 7.984 kB / 0.9378 GB, free: 0.6328 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.168, allocations: 7.438 kB / 0.9378 GB, free: 0.625 MB / 0.573 GB Notification: Performance of SimCode: time 2.6e-07/0.168, allocations: 0 / 0.9378 GB, free: 0.625 MB / 0.573 GB Notification: Performance of Templates: time 0.001944/0.1699, allocations: 475 kB / 0.9383 GB, free: 168 kB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)