Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.881/1.881, allocations: 292.6 MB / 307.8 MB, free: 7.129 MB / 234.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.0009492/0.0009493, allocations: 188.8 kB / 376.5 MB, free: 4.434 MB / 298.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.363/1.363, allocations: 225.7 MB / 0.655 GB, free: 13.16 MB / 490.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.0008934/0.0008936, allocations: 96.61 kB / 0.7711 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003886, allocations: 15.98 kB / 0.897 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7293, allocations: 118.2 MB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.000617/0.7299, allocations: 310.7 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000168/0.7301, allocations: 32.02 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-06/0.7301, allocations: 1.094 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.926e-06/0.7302, allocations: 0 / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.7302, allocations: 2.562 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.7304, allocations: 15.39 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.406e-05/0.7304, allocations: 0 / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.7305, allocations: 0 / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.534e-05/0.7305, allocations: 9.516 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.7306, allocations: 0 / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.7306, allocations: 0 / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.7307, allocations: 20.28 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.7307, allocations: 0 / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.7307, allocations: 26.72 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.854e-05/0.7308, allocations: 10.39 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7308, allocations: 1.906 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7308, allocations: 0 / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.7308, allocations: 1.875 kB / 1.013 GB, free: 57.55 MB / 0.7136 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.0001987/0.731, allocations: 312.5 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.731, allocations: 9.125 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.7311, allocations: 0.9375 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.479e-05/0.7311, allocations: 169.7 kB / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.7311, allocations: 384 / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.7312, allocations: 10.22 kB / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.194e-05/0.7312, allocations: 34.67 kB / 1.013 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7313, allocations: 0.6875 kB / 1.013 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.7313, allocations: 7 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.7313, allocations: 1.344 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.7313, allocations: 3.062 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.104e-05/0.7314, allocations: 142.3 kB / 1.013 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.865e-05/0.7314, allocations: 23.14 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.7315, allocations: 8.797 kB / 1.014 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.7315, allocations: 2.688 kB / 1.014 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.7315, allocations: 33.52 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7315, allocations: 0 / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.911e-05/0.7316, allocations: 36.23 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.7316, allocations: 54.94 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.892e-05/0.7317, allocations: 91.23 kB / 1.014 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.7317, allocations: 29.58 kB / 1.014 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.101e-05/0.7317, allocations: 80.14 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.7317, allocations: 6.438 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.7318, allocations: 0.625 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.7318, allocations: 315.5 kB / 1.014 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.7318, allocations: 3.938 kB / 1.014 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.7318, allocations: 0.6562 kB / 1.014 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/0.7319, allocations: 9.703 kB / 1.014 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.7319, allocations: 0 / 1.014 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.462e-05/0.7319, allocations: 39.36 kB / 1.014 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.7319, allocations: 9.531 kB / 1.014 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.7319, allocations: 1.953 kB / 1.014 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.732, allocations: 8.656 kB / 1.014 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.732, allocations: 2.719 kB / 1.014 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.732, allocations: 0 / 1.014 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.732, allocations: 2.969 kB / 1.014 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.7321, allocations: 4.797 kB / 1.014 GB, free: 56.03 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.7321, allocations: 109.8 kB / 1.014 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.7321, allocations: 4.875 kB / 1.014 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/0.7322, allocations: 51.23 kB / 1.014 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.7322, allocations: 0 / 1.014 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7322, allocations: 0.625 kB / 1.014 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.7322, allocations: 0 / 1.014 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.653e-05/0.7323, allocations: 146 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7323, allocations: 4.062 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.7323, allocations: 0 / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.7323, allocations: 0.9062 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.7323, allocations: 6.812 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.7323, allocations: 0.5 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7323, allocations: 0.5312 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.782e-05/0.7324, allocations: 67.08 kB / 1.015 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.7324, allocations: 77.11 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.7324, allocations: 6.688 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.7324, allocations: 0 / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.7325, allocations: 0 / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.7325, allocations: 6.188 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.19e-05/0.7325, allocations: 75.28 kB / 1.015 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.7325, allocations: 3.938 kB / 1.015 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000209/0.7327, allocations: 3.031 kB / 1.015 GB, free: 55.44 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.7328, allocations: 113.9 kB / 1.015 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.29e-05/0.7329, allocations: 3.844 kB / 1.015 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7329, allocations: 1.938 kB / 1.015 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.752e-06/0.7329, allocations: 6.938 kB / 1.015 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.733, allocations: 6.438 kB / 1.015 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001313/0.7332, allocations: 78.52 kB / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.295e-05/0.7333, allocations: 0.6729 MB / 1.016 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.7333, allocations: 3.281 kB / 1.016 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.7333, allocations: 9.5 kB / 1.016 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.7333, allocations: 0 / 1.016 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.001819/0.7352, allocations: 283.5 kB / 1.016 GB, free: 54.55 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)