Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") 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.439/1.439, allocations: 255.9 MB / 271.2 MB, free: 8.879 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.001048/0.001048, allocations: 185.1 kB / 330.8 MB, free: 468 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.759/1.759, allocations: 225.7 MB / 0.6016 GB, free: 1.688 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.0007999/0.0007999, allocations: 103.5 kB / 0.709 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003706, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 109.2 MB / 0.9327 GB, free: 6.297 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006836/0.2297, allocations: 261.3 kB / 0.933 GB, free: 6.047 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.2302, allocations: 345.8 kB / 0.9333 GB, free: 5.672 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.2303, allocations: 0 / 0.9333 GB, free: 5.672 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.2303, allocations: 3.938 kB / 0.9333 GB, free: 5.668 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.2304, allocations: 4 kB / 0.9333 GB, free: 5.664 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.2307, allocations: 47.92 kB / 0.9334 GB, free: 5.617 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.75e-05/0.2308, allocations: 11.94 kB / 0.9334 GB, free: 5.605 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.2308, allocations: 3.984 kB / 0.9334 GB, free: 5.602 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.376e-05/0.2308, allocations: 7.938 kB / 0.9334 GB, free: 5.594 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.464e-05/0.2309, allocations: 11.98 kB / 0.9334 GB, free: 5.582 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2309, allocations: 0 / 0.9334 GB, free: 5.582 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.2311, allocations: 111.9 kB / 0.9335 GB, free: 5.473 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.2311, allocations: 15.91 kB / 0.9335 GB, free: 5.457 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.2312, allocations: 33.64 kB / 0.9336 GB, free: 5.418 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.2313, allocations: 67.83 kB / 0.9336 GB, free: 5.352 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2313, allocations: 4 kB / 0.9336 GB, free: 5.348 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2313, allocations: 0 / 0.9336 GB, free: 5.348 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.2314, allocations: 0 / 0.9336 GB, free: 5.348 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002672/0.2316, allocations: 339.7 kB / 0.934 GB, free: 4.965 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2317, allocations: 12.83 kB / 0.934 GB, free: 4.953 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.2317, allocations: 4.938 kB / 0.934 GB, free: 4.949 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.2318, allocations: 160.4 kB / 0.9341 GB, free: 4.754 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2318, allocations: 4.375 kB / 0.9341 GB, free: 4.75 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.2318, allocations: 4.281 kB / 0.9341 GB, free: 4.746 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.232, allocations: 46.25 kB / 0.9342 GB, free: 4.695 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.232, allocations: 192 / 0.9342 GB, free: 4.695 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.232, allocations: 3.938 kB / 0.9342 GB, free: 4.691 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.232, allocations: 0 / 0.9342 GB, free: 4.691 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.232, allocations: 15.92 kB / 0.9342 GB, free: 4.676 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.2322, allocations: 157.7 kB / 0.9344 GB, free: 4.473 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.665e-05/0.2322, allocations: 22.61 kB / 0.9344 GB, free: 4.441 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.2323, allocations: 12.92 kB / 0.9344 GB, free: 4.426 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.2323, allocations: 11.98 kB / 0.9344 GB, free: 4.414 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2323, allocations: 34.56 kB / 0.9344 GB, free: 4.371 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2323, allocations: 0 / 0.9344 GB, free: 4.371 MB / 0.573 GB Notification: Performance of matching and sorting (n=3): time 0.0005004/0.2328, allocations: 298.2 kB / 0.9347 GB, free: 4.027 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.2329, allocations: 51.41 kB / 0.9348 GB, free: 3.965 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.469e-05/0.2329, allocations: 114.1 kB / 0.9349 GB, free: 3.844 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.2329, allocations: 29.64 kB / 0.9349 GB, free: 3.809 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.233, allocations: 80.14 kB / 0.935 GB, free: 3.727 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.233, allocations: 11.91 kB / 0.935 GB, free: 3.715 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.233, allocations: 3.938 kB / 0.935 GB, free: 3.711 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.2331, allocations: 314.8 kB / 0.9353 GB, free: 3.395 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.2331, allocations: 16 kB / 0.9353 GB, free: 3.379 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.2331, allocations: 21.7 kB / 0.9353 GB, free: 3.352 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.2332, allocations: 41.7 kB / 0.9354 GB, free: 3.305 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2332, allocations: 4 kB / 0.9354 GB, free: 3.301 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.486e-05/0.2333, allocations: 69.53 kB / 0.9354 GB, free: 3.227 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2333, allocations: 15.84 kB / 0.9355 GB, free: 3.211 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2333, allocations: 0 / 0.9355 GB, free: 3.211 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2333, allocations: 3.938 kB / 0.9355 GB, free: 3.207 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.2334, allocations: 8 kB / 0.9355 GB, free: 3.199 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2334, allocations: 4.062 kB / 0.9355 GB, free: 3.195 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.2334, allocations: 0 / 0.9355 GB, free: 3.195 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2334, allocations: 4.141 kB / 0.9355 GB, free: 3.191 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.416e-05/0.2335, allocations: 120.9 kB / 0.9356 GB, free: 3.066 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.2335, allocations: 11.92 kB / 0.9356 GB, free: 3.055 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.2336, allocations: 69.58 kB / 0.9357 GB, free: 2.977 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2336, allocations: 0 / 0.9357 GB, free: 2.977 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2336, allocations: 0 / 0.9357 GB, free: 2.977 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2336, allocations: 0 / 0.9357 GB, free: 2.977 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.495e-05/0.2337, allocations: 169.7 kB / 0.9358 GB, free: 2.762 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2337, allocations: 7.984 kB / 0.9358 GB, free: 2.754 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.2338, allocations: 4 kB / 0.9358 GB, free: 2.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2338, allocations: 3.938 kB / 0.9358 GB, free: 2.746 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.2338, allocations: 0 / 0.9358 GB, free: 2.746 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2338, allocations: 0 / 0.9358 GB, free: 2.746 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2338, allocations: 320 / 0.9358 GB, free: 2.746 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.2339, allocations: 109 kB / 0.9359 GB, free: 2.621 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.2339, allocations: 81.17 kB / 0.936 GB, free: 2.523 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.234, allocations: 7.922 kB / 0.936 GB, free: 2.516 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.234, allocations: 4.031 kB / 0.936 GB, free: 2.512 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.234, allocations: 0 / 0.936 GB, free: 2.512 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.234, allocations: 0 / 0.936 GB, free: 2.512 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.2341, allocations: 99.23 kB / 0.9361 GB, free: 2.414 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2341, allocations: 0 / 0.9361 GB, free: 2.414 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002123/0.2343, allocations: 16 kB / 0.9361 GB, free: 2.398 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001735/0.2345, allocations: 131.2 kB / 0.9363 GB, free: 2.258 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.243e-05/0.2346, allocations: 31.92 kB / 0.9363 GB, free: 2.227 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2346, allocations: 0 / 0.9363 GB, free: 2.227 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.2346, allocations: 19.98 kB / 0.9363 GB, free: 2.207 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.2348, allocations: 0 / 0.9363 GB, free: 2.207 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.235, allocations: 144.5 kB / 0.9365 GB, free: 2.039 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2352, allocations: 0.685 MB / 0.9371 GB, free: 1.328 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.2352, allocations: 8 kB / 0.9371 GB, free: 1.32 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.2352, allocations: 7.438 kB / 0.9371 GB, free: 1.312 MB / 0.573 GB Notification: Performance of SimCode: time 2e-07/0.2352, allocations: 0 / 0.9371 GB, free: 1.312 MB / 0.573 GB Notification: Performance of Templates: time 0.002898/0.2381, allocations: 0.8705 MB / 0.938 GB, free: 456 kB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)