Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.651/1.651, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001004/0.001005, allocations: 183.5 kB / 393.1 MB, free: 4.07 MB / 314.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.312/1.312, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007891/0.0007892, allocations: 94.44 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003232, allocations: 15.5 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5584/0.5587, allocations: 121.3 MB / 1.041 GB, free: 58.8 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007014/0.5595, allocations: 356.7 kB / 1.041 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.5602, allocations: 0.5786 MB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.5603, allocations: 1.156 kB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.5603, allocations: 3.938 kB / 1.042 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.5603, allocations: 0 / 1.042 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.5607, allocations: 84.53 kB / 1.042 GB, free: 58.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.407e-05/0.5608, allocations: 29.05 kB / 1.042 GB, free: 58.08 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.5608, allocations: 1.969 kB / 1.042 GB, free: 58.08 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.5609, allocations: 15.14 kB / 1.042 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.5609, allocations: 8.156 kB / 1.042 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.561, allocations: 1.531 kB / 1.042 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.5613, allocations: 265.4 kB / 1.042 GB, free: 58.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.5613, allocations: 12.62 kB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.5614, allocations: 40.19 kB / 1.042 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.5616, allocations: 100.9 kB / 1.042 GB, free: 57.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5616, allocations: 1.531 kB / 1.042 GB, free: 57.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.337e-06/0.5616, allocations: 3.531 kB / 1.042 GB, free: 57.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.5616, allocations: 0 / 1.042 GB, free: 57.93 MB / 0.698 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.0003764/0.562, allocations: 353.7 kB / 1.043 GB, free: 57.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5621, allocations: 8.719 kB / 1.043 GB, free: 57.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.5621, allocations: 4.031 kB / 1.043 GB, free: 57.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.367e-05/0.5622, allocations: 161.7 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.5622, allocations: 1.844 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.5623, allocations: 15.59 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.5624, allocations: 46.72 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5624, allocations: 1.688 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5624, allocations: 7.938 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5624, allocations: 3.062 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.5625, allocations: 18.86 kB / 1.043 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.5626, allocations: 163.8 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.716e-05/0.5627, allocations: 66.05 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.5628, allocations: 30.09 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/0.5633, allocations: 461.3 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.5634, allocations: 36.89 kB / 1.044 GB, free: 56.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.5634, allocations: 3.938 kB / 1.044 GB, free: 56.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001123/0.5645, allocations: 0.5783 MB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.5645, allocations: 52.75 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.5646, allocations: 104.2 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.5646, allocations: 26.58 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.091e-05/0.5646, allocations: 91.8 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.5647, allocations: 39.67 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.5647, allocations: 5.25 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.5647, allocations: 319.9 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/0.5648, allocations: 18.84 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.5648, allocations: 22.69 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/0.5649, allocations: 66.05 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5649, allocations: 0 / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000135/0.5651, allocations: 93.17 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.5651, allocations: 4.656 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5651, allocations: 1.375 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5651, allocations: 1.281 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.5652, allocations: 24.27 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5652, allocations: 6.156 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.5652, allocations: 6.781 kB / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.5653, allocations: 3.312 kB / 1.045 GB, free: 55.28 MB / 0.698 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 5.357e-05/0.5653, allocations: 121.7 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.5654, allocations: 15.06 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.5655, allocations: 99.08 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5655, allocations: 2.062 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5655, allocations: 1 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5655, allocations: 1.922 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.5659, allocations: 353.2 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5659, allocations: 1.281 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.566, allocations: 19.52 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.566, allocations: 5 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.566, allocations: 7.016 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.566, allocations: 3.938 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.566, allocations: 0 / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.5662, allocations: 224.9 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.5663, allocations: 87.42 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.5663, allocations: 4 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.5664, allocations: 2.906 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.5664, allocations: 3.906 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.5664, allocations: 3.906 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.5664, allocations: 90.77 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5664, allocations: 0 / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002512/0.5667, allocations: 45.88 kB / 1.046 GB, free: 54.39 MB / 0.698 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.0001986/0.5669, allocations: 148.5 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.567, allocations: 69.66 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.567, allocations: 0 / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.5671, allocations: 35.03 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.5673, allocations: 6.531 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.5676, allocations: 197.8 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.5677, allocations: 0.6853 MB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.756e-05/0.5677, allocations: 6.359 kB / 1.047 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.5678, allocations: 16.64 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.5678, allocations: 0 / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of Templates: time 0.003283/0.5711, allocations: 1.38 MB / 1.049 GB, free: 53.28 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)