Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.666/1.666, 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.001004, allocations: 176.2 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.325/1.325, allocations: 225.7 MB / 0.6743 GB, free: 12.53 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.0007657/0.0007659, allocations: 94.59 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 12 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5844, allocations: 121.3 MB / 1.041 GB, free: 58.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008255/0.5853, allocations: 332.6 kB / 1.041 GB, free: 58.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.5863, allocations: 0.5805 MB / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.5863, allocations: 0.8438 kB / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.5863, allocations: 0 / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.219e-05/0.5864, allocations: 3.656 kB / 1.042 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.5869, allocations: 76.25 kB / 1.042 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.718e-05/0.587, allocations: 10.81 kB / 1.042 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.587, allocations: 2.312 kB / 1.042 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.5871, allocations: 6.688 kB / 1.042 GB, free: 58.19 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.5871, allocations: 2.547 kB / 1.042 GB, free: 58.19 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.5871, allocations: 1.375 kB / 1.042 GB, free: 58.19 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005433/0.5877, allocations: 269.1 kB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.5877, allocations: 4.859 kB / 1.042 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.5878, allocations: 31.52 kB / 1.042 GB, free: 58.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.588, allocations: 89.27 kB / 1.042 GB, free: 58.06 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.588, allocations: 1.969 kB / 1.042 GB, free: 58.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5881, allocations: 1.406 kB / 1.042 GB, free: 58.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.5881, allocations: 0 / 1.042 GB, free: 58.06 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002922/0.5884, allocations: 341.7 kB / 1.043 GB, free: 57.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5884, allocations: 10.12 kB / 1.043 GB, free: 57.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.5885, allocations: 2.156 kB / 1.043 GB, free: 57.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.358e-05/0.5886, allocations: 164.4 kB / 1.043 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.5886, allocations: 5.844 kB / 1.043 GB, free: 57.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.5887, allocations: 384 / 1.043 GB, free: 57.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/0.5888, allocations: 38.86 kB / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5888, allocations: 192 / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5888, allocations: 8.438 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5888, allocations: 2.844 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.5889, allocations: 2.219 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.589, allocations: 148.6 kB / 1.043 GB, free: 57.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.319e-05/0.5891, allocations: 26.7 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.5891, allocations: 13.73 kB / 1.043 GB, free: 57.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008948/0.5901, allocations: 456.9 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.5901, allocations: 43.22 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.5901, allocations: 0 / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005734/0.5907, allocations: 253.1 kB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.5907, allocations: 59.81 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.5908, allocations: 96.52 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.5908, allocations: 25.7 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/0.5909, allocations: 85.22 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.5909, allocations: 9.078 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5909, allocations: 0 / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.591, allocations: 317 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.591, allocations: 6.25 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.591, allocations: 19.2 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.737e-05/0.5911, allocations: 28.91 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5911, allocations: 1.031 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001395/0.5913, allocations: 50.98 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5913, allocations: 8.594 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5913, allocations: 4.906 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5914, allocations: 1.375 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.5915, allocations: 13.38 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5915, allocations: 1.375 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.5915, allocations: 0 / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.5915, allocations: 1.375 kB / 1.044 GB, free: 55.75 MB / 0.698 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.846e-05/0.5916, allocations: 112.6 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.5917, allocations: 13.16 kB / 1.045 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.5918, allocations: 55.55 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5918, allocations: 1.188 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5918, allocations: 0 / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5919, allocations: 1.875 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.39e-05/0.592, allocations: 156.8 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.592, allocations: 0 / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.5921, allocations: 6.469 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.5921, allocations: 12.06 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.5921, allocations: 416 / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5921, allocations: 4 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5921, allocations: 0 / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.5923, allocations: 79.92 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.5923, allocations: 77.11 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.5924, allocations: 5.25 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.5924, allocations: 2.703 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.5924, allocations: 1.688 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.5925, allocations: 8.125 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.845e-05/0.5925, allocations: 83.28 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5925, allocations: 0 / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003396/0.5928, allocations: 22.06 kB / 1.045 GB, free: 55.12 MB / 0.698 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.0002311/0.5931, allocations: 133.5 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.5932, allocations: 16.23 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5932, allocations: 0 / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.5933, allocations: 8.422 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.5935, allocations: 6.094 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.5938, allocations: 120.8 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.982e-05/0.5939, allocations: 0.6779 MB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.831e-05/0.5939, allocations: 2.438 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.594, allocations: 10.44 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.594, allocations: 4 kB / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of Templates: time 0.004071/0.5981, allocations: 0.8582 MB / 1.047 GB, free: 54.11 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)