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.009322/0.009326, allocations: 107 kB / 15.06 MB, free: 5.594 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.001104/0.001105, allocations: 186 kB / 15.95 MB, free: 5.547 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 1.798/1.798, allocations: 194.6 MB / 211.3 MB, free: 11.21 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.309/2.309, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004796, allocations: 16 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6968, allocations: 98.7 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.000623/0.6974, allocations: 313.3 kB / 0.6836 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002078/0.6977, allocations: 45.59 kB / 0.6837 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.105e-05/0.6977, allocations: 0 / 0.6837 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.811e-06/0.6977, allocations: 7.938 kB / 0.6837 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-06/0.6977, allocations: 3.938 kB / 0.6837 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.6979, allocations: 7.719 kB / 0.6837 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 2.684e-05/0.698, allocations: 7.938 kB / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.698, allocations: 1.625 kB / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.296e-05/0.698, allocations: 4.953 kB / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.6981, allocations: 2.344 kB / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.405e-06/0.6981, allocations: 0 / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.6982, allocations: 18.72 kB / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.17e-06/0.6982, allocations: 4 kB / 0.6837 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.6982, allocations: 26.7 kB / 0.6838 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 5.68e-05/0.6983, allocations: 8.75 kB / 0.6838 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.502e-06/0.6983, allocations: 0 / 0.6838 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.919e-06/0.6983, allocations: 0 / 0.6838 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.503e-06/0.6983, allocations: 0 / 0.6838 GB, free: 16.44 MB / 0.5261 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.000175/0.6985, allocations: 310.4 kB / 0.6841 GB, free: 16.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6986, allocations: 9.469 kB / 0.6841 GB, free: 16.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.6988, allocations: 21.44 kB / 0.6841 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.317e-05/0.6989, allocations: 168.4 kB / 0.6843 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.6989, allocations: 1.281 kB / 0.6843 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-06/0.6989, allocations: 3.938 kB / 0.6843 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.6991, allocations: 33.88 kB / 0.6843 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.68e-06/0.6991, allocations: 1.312 kB / 0.6843 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-06/0.6991, allocations: 0 / 0.6843 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-06/0.6991, allocations: 0 / 0.6843 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.777e-05/0.6992, allocations: 17.56 kB / 0.6843 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.489e-05/0.6993, allocations: 148.7 kB / 0.6845 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.667e-05/0.6994, allocations: 25.7 kB / 0.6845 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.6995, allocations: 3.938 kB / 0.6845 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.6995, allocations: 32.64 kB / 0.6845 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.948e-06/0.6995, allocations: 0 / 0.6845 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002452/0.6998, allocations: 47.28 kB / 0.6846 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.6998, allocations: 52.34 kB / 0.6846 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.974e-05/0.6998, allocations: 89.86 kB / 0.6847 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.999e-06/0.6998, allocations: 26.98 kB / 0.6847 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.318e-05/0.6999, allocations: 84.08 kB / 0.6848 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.6999, allocations: 5.406 kB / 0.6848 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-06/0.6999, allocations: 0 / 0.6848 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.7, allocations: 311.9 kB / 0.6851 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.7, allocations: 9.469 kB / 0.6851 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/0.7001, allocations: 9.5 kB / 0.6851 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.7001, allocations: 8.203 kB / 0.6851 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.398e-06/0.7002, allocations: 5.062 kB / 0.6851 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000146/0.7003, allocations: 38.88 kB / 0.6852 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7003, allocations: 6.922 kB / 0.6852 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.522e-06/0.7004, allocations: 4.094 kB / 0.6852 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.7004, allocations: 0 / 0.6852 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.7005, allocations: 10.31 kB / 0.6852 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.806e-06/0.7005, allocations: 0 / 0.6852 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.011e-05/0.7005, allocations: 1.125 kB / 0.6852 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.991e-06/0.7005, allocations: 2.719 kB / 0.6852 GB, free: 14.9 MB / 0.5261 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.08e-05/0.7006, allocations: 114.9 kB / 0.6853 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.7006, allocations: 1.156 kB / 0.6853 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.7007, allocations: 8.484 kB / 0.6853 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7007, allocations: 1.25 kB / 0.6853 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-06/0.7007, allocations: 0 / 0.6853 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.162e-06/0.7007, allocations: 0 / 0.6853 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.276e-05/0.7008, allocations: 145.2 kB / 0.6855 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7008, allocations: 3.953 kB / 0.6855 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.7009, allocations: 9.516 kB / 0.6855 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.137e-06/0.7009, allocations: 0 / 0.6855 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-06/0.7009, allocations: 0.6562 kB / 0.6855 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.962e-06/0.7009, allocations: 1.156 kB / 0.6855 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7009, allocations: 4 kB / 0.6855 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.7011, allocations: 65.52 kB / 0.6855 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.7011, allocations: 82.31 kB / 0.6856 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.7011, allocations: 0.9375 kB / 0.6856 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.7012, allocations: 3.594 kB / 0.6856 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.7012, allocations: 0 / 0.6856 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.115e-06/0.7012, allocations: 5.156 kB / 0.6856 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.575e-05/0.7012, allocations: 75.98 kB / 0.6857 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.34e-07/0.7012, allocations: 3.938 kB / 0.6857 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000241/0.7015, allocations: 1.156 kB / 0.6857 GB, free: 14.33 MB / 0.5261 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.0001192/0.7016, allocations: 100.3 kB / 0.6858 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.7018, allocations: 14.89 kB / 0.6858 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.382e-06/0.7018, allocations: 5.094 kB / 0.6858 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.7019, allocations: 6.609 kB / 0.6858 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.702, allocations: 5.281 kB / 0.6858 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.7022, allocations: 80.41 kB / 0.6859 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.7023, allocations: 0.6741 MB / 0.6866 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.48e-05/0.7024, allocations: 5.312 kB / 0.6866 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.7024, allocations: 13.88 kB / 0.6866 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.267e-06/0.7024, allocations: 0 / 0.6866 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.001997/0.7044, allocations: 207.7 kB / 0.6868 GB, free: 13.38 MB / 0.5261 GB