Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01739/0.01739, allocations: 222.3 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001763/0.001762, allocations: 176 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.717/3.717, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.307/4.307, allocations: 472.3 MB / 0.9017 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004796, allocations: 19.94 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5737/0.5742, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006351/0.5749, allocations: 317.5 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.5751, allocations: 46.28 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-06/0.5751, allocations: 3.312 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.017e-05/0.5751, allocations: 0 / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-06/0.5752, allocations: 3.938 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.5753, allocations: 12.41 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.022e-05/0.5754, allocations: 5.125 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.5754, allocations: 1.25 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 1.315e-05/0.5754, allocations: 2.562 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.682e-05/0.5755, allocations: 0 / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.918e-06/0.5755, allocations: 4.688 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.473e-05/0.5756, allocations: 19.73 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.847e-06/0.5756, allocations: 1.328 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.5756, allocations: 29.61 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 5.67e-05/0.5757, allocations: 10.48 kB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.045e-06/0.5757, allocations: 0 / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.851e-06/0.5757, allocations: 0 / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.012e-06/0.5757, allocations: 0 / 1.104 GB, free: 212.5 MB / 0.7292 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.0001726/0.5759, allocations: 307.5 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.576, allocations: 12 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.5762, allocations: 21.02 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.78e-05/0.5763, allocations: 174.2 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.5763, allocations: 4.5 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.5764, allocations: 3.312 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5765, allocations: 33.73 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.809e-06/0.5765, allocations: 0 / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.5765, allocations: 1.281 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-06/0.5765, allocations: 0.7969 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.5766, allocations: 9.156 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.5768, allocations: 153.6 kB / 1.105 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.51e-05/0.5768, allocations: 28.16 kB / 1.105 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.5769, allocations: 10.23 kB / 1.105 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.5769, allocations: 1.25 kB / 1.105 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.577, allocations: 39.12 kB / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.828e-06/0.577, allocations: 0 / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.000227/0.5772, allocations: 42.38 kB / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.5773, allocations: 52.69 kB / 1.105 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.991e-05/0.5773, allocations: 94.56 kB / 1.105 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.52e-06/0.5773, allocations: 29.7 kB / 1.105 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.436e-05/0.5773, allocations: 81.42 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.5774, allocations: 0 / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-06/0.5774, allocations: 3.938 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.5774, allocations: 316.2 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.5775, allocations: 8.375 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.5775, allocations: 5.906 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.5776, allocations: 5.266 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-06/0.5776, allocations: 0.9375 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001514/0.5778, allocations: 43.36 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5778, allocations: 8.688 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-06/0.5778, allocations: 1.219 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5778, allocations: 0 / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.5779, allocations: 2.625 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.156e-06/0.578, allocations: 1.219 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.578, allocations: 1.688 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-06/0.578, allocations: 3.234 kB / 1.106 GB, free: 210.9 MB / 0.7292 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 5.105e-05/0.5781, allocations: 116 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.5781, allocations: 3.875 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.5781, allocations: 10.66 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.039e-06/0.5782, allocations: 4.562 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.835e-06/0.5782, allocations: 0 / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.88e-06/0.5782, allocations: 3.438 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.03e-05/0.5783, allocations: 150.2 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-06/0.5783, allocations: 1.188 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.5783, allocations: 9.359 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.679e-06/0.5783, allocations: 0 / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.5784, allocations: 1.219 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.629e-06/0.5784, allocations: 2.734 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.84e-06/0.5784, allocations: 1.25 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.5785, allocations: 65.88 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.5786, allocations: 89.06 kB / 1.106 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.5786, allocations: 3.141 kB / 1.106 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.5786, allocations: 2.219 kB / 1.106 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-06/0.5787, allocations: 0 / 1.106 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-06/0.5787, allocations: 1.031 kB / 1.106 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.546e-05/0.5787, allocations: 75.28 kB / 1.106 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.22e-07/0.5787, allocations: 3.938 kB / 1.106 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002564/0.579, allocations: 7.328 kB / 1.106 GB, free: 210.4 MB / 0.7292 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.0001044/0.5791, allocations: 101.6 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.5792, allocations: 18.44 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.352e-06/0.5793, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.5793, allocations: 7.656 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.5795, allocations: 3.609 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.5797, allocations: 84.69 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.93e-05/0.5798, allocations: 0.6728 MB / 1.107 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.252e-05/0.5799, allocations: 9.219 kB / 1.107 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.5799, allocations: 7.438 kB / 1.107 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.36e-06/0.5799, allocations: 0 / 1.107 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.002078/0.582, allocations: 213.2 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB