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.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") 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.234/1.234, allocations: 255.9 MB / 271.2 MB, free: 8.875 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.000883/0.000883, allocations: 187.2 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.303/1.303, allocations: 225.7 MB / 0.6016 GB, free: 1.516 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.0007411/0.000741, allocations: 103.5 kB / 0.709 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 10 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1517, allocations: 109.2 MB / 0.9328 GB, free: 6.23 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0005353/0.1523, allocations: 350 kB / 0.9331 GB, free: 5.891 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0005619/0.1529, allocations: 0.5845 MB / 0.9337 GB, free: 5.25 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.1529, allocations: 0 / 0.9337 GB, free: 5.25 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.1529, allocations: 7.938 kB / 0.9337 GB, free: 5.242 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 2.279e-05/0.153, allocations: 0 / 0.9337 GB, free: 5.242 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1533, allocations: 79.84 kB / 0.9337 GB, free: 5.164 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 3.81e-05/0.1533, allocations: 27.91 kB / 0.9338 GB, free: 5.137 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.1534, allocations: 0 / 0.9338 GB, free: 5.137 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.1534, allocations: 4 kB / 0.9338 GB, free: 5.133 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.1534, allocations: 15.92 kB / 0.9338 GB, free: 5.117 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1535, allocations: 7.938 kB / 0.9338 GB, free: 5.109 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.1537, allocations: 267.7 kB / 0.9341 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.1538, allocations: 11.97 kB / 0.9341 GB, free: 4.836 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1538, allocations: 41.58 kB / 0.9341 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1539, allocations: 95.78 kB / 0.9342 GB, free: 4.695 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1539, allocations: 4 kB / 0.9342 GB, free: 4.691 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.283e-06/0.154, allocations: 0 / 0.9342 GB, free: 4.691 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.154, allocations: 0 / 0.9342 GB, free: 4.691 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002624/0.1542, allocations: 343.9 kB / 0.9345 GB, free: 4.305 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.1543, allocations: 15.98 kB / 0.9345 GB, free: 4.289 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.1543, allocations: 8.844 kB / 0.9346 GB, free: 4.281 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.217e-05/0.1544, allocations: 176.3 kB / 0.9347 GB, free: 4.07 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1544, allocations: 384 / 0.9347 GB, free: 4.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1544, allocations: 8.375 kB / 0.9347 GB, free: 4.062 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.036e-05/0.1545, allocations: 54.22 kB / 0.9348 GB, free: 4.004 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1545, allocations: 192 / 0.9348 GB, free: 4.004 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1545, allocations: 7.938 kB / 0.9348 GB, free: 3.996 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1546, allocations: 0 / 0.9348 GB, free: 3.996 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.1546, allocations: 19.92 kB / 0.9348 GB, free: 3.977 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.1547, allocations: 165.7 kB / 0.935 GB, free: 3.766 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.51e-05/0.1548, allocations: 58.56 kB / 0.935 GB, free: 3.699 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.1548, allocations: 28.84 kB / 0.9351 GB, free: 3.668 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005006/0.1553, allocations: 469.5 kB / 0.9355 GB, free: 3.117 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.1554, allocations: 30.56 kB / 0.9355 GB, free: 3.078 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1554, allocations: 0 / 0.9355 GB, free: 3.078 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0009448/0.1563, allocations: 0.5994 MB / 0.9361 GB, free: 2.387 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.532e-05/0.1564, allocations: 51.41 kB / 0.9362 GB, free: 2.324 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.63e-05/0.1564, allocations: 97.86 kB / 0.9363 GB, free: 2.219 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.1564, allocations: 29.7 kB / 0.9363 GB, free: 2.184 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.303e-05/0.1564, allocations: 88.08 kB / 0.9364 GB, free: 2.094 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.1565, allocations: 35.45 kB / 0.9364 GB, free: 2.059 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.1565, allocations: 0 / 0.9364 GB, free: 2.059 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.1565, allocations: 322.8 kB / 0.9367 GB, free: 1.734 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.1565, allocations: 16 kB / 0.9367 GB, free: 1.719 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.1566, allocations: 23.98 kB / 0.9367 GB, free: 1.695 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.895e-05/0.1566, allocations: 56.86 kB / 0.9368 GB, free: 1.637 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1567, allocations: 0 / 0.9368 GB, free: 1.637 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001173/0.1568, allocations: 105.5 kB / 0.9369 GB, free: 1.527 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1568, allocations: 11.94 kB / 0.9369 GB, free: 1.516 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1568, allocations: 3.938 kB / 0.9369 GB, free: 1.512 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1568, allocations: 0 / 0.9369 GB, free: 1.512 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.1569, allocations: 23.98 kB / 0.9369 GB, free: 1.488 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.1569, allocations: 4 kB / 0.9369 GB, free: 1.484 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.1569, allocations: 4 kB / 0.9369 GB, free: 1.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-06/0.157, allocations: 4 kB / 0.937 GB, free: 1.477 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 (13): * Single equations (assignments): 13 * 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.364e-05/0.157, allocations: 118.4 kB / 0.9371 GB, free: 1.352 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.157, allocations: 3.938 kB / 0.9371 GB, free: 1.348 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.1572, allocations: 105.8 kB / 0.9372 GB, free: 1.234 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1572, allocations: 3.984 kB / 0.9372 GB, free: 1.23 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1572, allocations: 0 / 0.9372 GB, free: 1.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1572, allocations: 4 kB / 0.9372 GB, free: 1.227 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1575, allocations: 358.4 kB / 0.9375 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1575, allocations: 0 / 0.9375 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.1576, allocations: 19.98 kB / 0.9375 GB, free: 0.8008 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1576, allocations: 0 / 0.9375 GB, free: 0.8008 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1576, allocations: 8 kB / 0.9375 GB, free: 0.793 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1576, allocations: 0 / 0.9375 GB, free: 0.793 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1576, allocations: 0 / 0.9375 GB, free: 0.793 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1578, allocations: 227.5 kB / 0.9378 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.1578, allocations: 89.03 kB / 0.9378 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1578, allocations: 12 kB / 0.9379 GB, free: 448 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.1579, allocations: 3.984 kB / 0.9379 GB, free: 444 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.1579, allocations: 4 kB / 0.9379 GB, free: 440 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.1579, allocations: 4 kB / 0.9379 GB, free: 436 kB / 0.573 GB Notification: Performance of sorting global known variables: time 1.604e-05/0.158, allocations: 83.27 kB / 0.9379 GB, free: 352 kB / 0.573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.158, allocations: 0 / 0.9379 GB, free: 352 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002151/0.1582, allocations: 40 kB / 0.938 GB, free: 312 kB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001685/0.1583, allocations: 151.3 kB / 0.9381 GB, free: 148 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1585, allocations: 68.22 kB / 0.9382 GB, free: 80 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1585, allocations: 7.938 kB / 0.9382 GB, free: 72 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.1585, allocations: 27.98 kB / 0.9382 GB, free: 44 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.1587, allocations: 15.88 kB / 0.9382 GB, free: 28 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.159, allocations: 190.9 kB / 0.9384 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1592, allocations: 0.6848 MB / 0.9391 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.1593, allocations: 8 kB / 0.9391 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.1593, allocations: 15.42 kB / 0.9391 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of SimCode: time 2.11e-07/0.1593, allocations: 0 / 0.9391 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.003096/0.1624, allocations: 1.377 MB / 0.9405 GB, free: 13.71 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)