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.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") 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.246/1.246, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.0009461/0.0009461, allocations: 185.1 kB / 330.8 MB, free: 476 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.322/1.322, allocations: 225.7 MB / 0.6016 GB, free: 1.68 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.0006741/0.0006741, allocations: 103.5 kB / 0.709 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.000286, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1531, allocations: 109.2 MB / 0.9328 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0005156/0.1536, allocations: 318 kB / 0.9331 GB, free: 5.965 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0001969/0.1538, allocations: 113 kB / 0.9332 GB, free: 5.836 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-06/0.1538, allocations: 0 / 0.9332 GB, free: 5.836 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 9.728e-06/0.1539, allocations: 0 / 0.9332 GB, free: 5.836 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.917e-06/0.1539, allocations: 4 kB / 0.9332 GB, free: 5.832 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.1541, allocations: 11.98 kB / 0.9332 GB, free: 5.82 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 2.629e-05/0.1541, allocations: 0 / 0.9332 GB, free: 5.82 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.255e-05/0.1541, allocations: 0 / 0.9332 GB, free: 5.82 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.36e-05/0.1542, allocations: 4 kB / 0.9332 GB, free: 5.816 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.521e-05/0.1542, allocations: 0 / 0.9332 GB, free: 5.816 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 8.196e-06/0.1542, allocations: 0 / 0.9332 GB, free: 5.816 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.1543, allocations: 19.92 kB / 0.9332 GB, free: 5.797 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.1543, allocations: 0 / 0.9332 GB, free: 5.797 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.1543, allocations: 29.69 kB / 0.9332 GB, free: 5.762 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 6.788e-05/0.1544, allocations: 27.91 kB / 0.9333 GB, free: 5.734 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1544, allocations: 0 / 0.9333 GB, free: 5.734 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1544, allocations: 0 / 0.9333 GB, free: 5.734 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.1544, allocations: 0 / 0.9333 GB, free: 5.734 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001755/0.1546, allocations: 311.6 kB / 0.9336 GB, free: 5.379 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1546, allocations: 11.98 kB / 0.9336 GB, free: 5.367 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.1547, allocations: 0.9375 kB / 0.9336 GB, free: 5.367 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.72e-05/0.1547, allocations: 168.4 kB / 0.9337 GB, free: 5.164 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1547, allocations: 384 / 0.9337 GB, free: 5.164 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.1547, allocations: 4.375 kB / 0.9337 GB, free: 5.16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.468e-05/0.1548, allocations: 30.27 kB / 0.9338 GB, free: 5.125 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1548, allocations: 192 / 0.9338 GB, free: 5.125 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1548, allocations: 3.938 kB / 0.9338 GB, free: 5.121 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1548, allocations: 3.938 kB / 0.9338 GB, free: 5.117 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.1549, allocations: 4 kB / 0.9338 GB, free: 5.113 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.739e-05/0.1549, allocations: 145.7 kB / 0.9339 GB, free: 4.922 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.382e-05/0.155, allocations: 22.61 kB / 0.9339 GB, free: 4.891 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.155, allocations: 12.86 kB / 0.934 GB, free: 4.875 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.155, allocations: 0 / 0.934 GB, free: 4.875 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.155, allocations: 30.56 kB / 0.934 GB, free: 4.836 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.155, allocations: 4 kB / 0.934 GB, free: 4.832 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 9.086e-05/0.1551, allocations: 37.58 kB / 0.934 GB, free: 4.789 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.388e-05/0.1552, allocations: 51.41 kB / 0.9341 GB, free: 4.727 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.395e-05/0.1552, allocations: 93.84 kB / 0.9342 GB, free: 4.625 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.1552, allocations: 25.83 kB / 0.9342 GB, free: 4.594 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.105e-06/0.1552, allocations: 84.14 kB / 0.9343 GB, free: 4.508 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.1552, allocations: 4 kB / 0.9343 GB, free: 4.504 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-06/0.1552, allocations: 4 kB / 0.9343 GB, free: 4.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.409e-05/0.1553, allocations: 310.8 kB / 0.9346 GB, free: 4.188 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-06/0.1553, allocations: 0 / 0.9346 GB, free: 4.188 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.1553, allocations: 0 / 0.9346 GB, free: 4.188 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.905e-05/0.1553, allocations: 12.8 kB / 0.9346 GB, free: 4.172 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1553, allocations: 4.062 kB / 0.9346 GB, free: 4.168 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.697e-05/0.1554, allocations: 29.7 kB / 0.9346 GB, free: 4.133 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1554, allocations: 15.89 kB / 0.9346 GB, free: 4.117 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.1554, allocations: 3.938 kB / 0.9346 GB, free: 4.113 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.1554, allocations: 3.938 kB / 0.9346 GB, free: 4.109 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.77e-05/0.1554, allocations: 0 / 0.9346 GB, free: 4.109 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1555, allocations: 4 kB / 0.9346 GB, free: 4.105 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.1555, allocations: 4 kB / 0.9346 GB, free: 4.102 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1555, allocations: 0 / 0.9346 GB, free: 4.102 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 (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 3.519e-05/0.1555, allocations: 114.5 kB / 0.9348 GB, free: 3.98 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.1555, allocations: 4 kB / 0.9348 GB, free: 3.977 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.1556, allocations: 48.67 kB / 0.9348 GB, free: 3.918 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.1556, allocations: 0 / 0.9348 GB, free: 3.918 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1556, allocations: 0 / 0.9348 GB, free: 3.918 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1556, allocations: 0 / 0.9348 GB, free: 3.918 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.147e-05/0.1557, allocations: 153.7 kB / 0.935 GB, free: 3.719 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1557, allocations: 4.031 kB / 0.935 GB, free: 3.715 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.1557, allocations: 0 / 0.935 GB, free: 3.715 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1557, allocations: 0 / 0.935 GB, free: 3.715 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.1557, allocations: 7.938 kB / 0.935 GB, free: 3.707 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1557, allocations: 4 kB / 0.935 GB, free: 3.703 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1557, allocations: 0 / 0.935 GB, free: 3.703 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.134e-05/0.1558, allocations: 57.12 kB / 0.935 GB, free: 3.629 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.1558, allocations: 81.02 kB / 0.9351 GB, free: 3.531 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.1558, allocations: 15.91 kB / 0.9351 GB, free: 3.516 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-06/0.1558, allocations: 0 / 0.9351 GB, free: 3.516 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-06/0.1558, allocations: 3.938 kB / 0.9351 GB, free: 3.512 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1558, allocations: 0 / 0.9351 GB, free: 3.512 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.015e-05/0.1559, allocations: 75.28 kB / 0.9352 GB, free: 3.438 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.1559, allocations: 0 / 0.9352 GB, free: 3.438 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001709/0.156, allocations: 8 kB / 0.9352 GB, free: 3.43 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 (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 9.012e-05/0.1561, allocations: 104.7 kB / 0.9353 GB, free: 3.32 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 4.221e-05/0.1562, allocations: 11.98 kB / 0.9353 GB, free: 3.309 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.1562, allocations: 0 / 0.9353 GB, free: 3.309 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.304e-06/0.1562, allocations: 4 kB / 0.9353 GB, free: 3.305 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.1563, allocations: 0 / 0.9353 GB, free: 3.305 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001075/0.1564, allocations: 82.7 kB / 0.9354 GB, free: 3.199 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.778e-05/0.1565, allocations: 0.677 MB / 0.9361 GB, free: 2.496 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.1565, allocations: 4.125 kB / 0.9361 GB, free: 2.492 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.1565, allocations: 11.44 kB / 0.9361 GB, free: 2.48 MB / 0.573 GB Notification: Performance of SimCode: time 2.2e-07/0.1566, allocations: 0 / 0.9361 GB, free: 2.48 MB / 0.573 GB Notification: Performance of Templates: time 0.001536/0.1581, allocations: 275.3 kB / 0.9363 GB, free: 2.215 MB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)