Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.58/1.58, allocations: 291.7 MB / 306.8 MB, free: 7.672 MB / 234.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.0009535/0.0009536, allocations: 181.3 kB / 375.4 MB, free: 5.125 MB / 298.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.36/1.36, allocations: 225.7 MB / 0.6538 GB, free: 13.6 MB / 490.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.001092/0.001092, allocations: 100.8 kB / 0.7699 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005531/0.0005532, allocations: 12 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8596, allocations: 118.1 MB / 1.011 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007338/0.8604, allocations: 309.6 kB / 1.011 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002185/0.8606, allocations: 49.72 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-06/0.8606, allocations: 0 / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.656e-06/0.8607, allocations: 1.469 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.8607, allocations: 3.281 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.8609, allocations: 7.859 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.195e-05/0.8609, allocations: 6.734 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.8609, allocations: 1.406 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.082e-05/0.861, allocations: 1.781 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.861, allocations: 2.562 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.861, allocations: 0 / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.517e-05/0.8611, allocations: 21.34 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.8611, allocations: 3.938 kB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.8611, allocations: 27.05 kB / 1.011 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.628e-05/0.8612, allocations: 12.92 kB / 1.011 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8612, allocations: 0 / 1.011 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8612, allocations: 0.5312 kB / 1.011 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8612, allocations: 0 / 1.011 GB, free: 57.87 MB / 0.7136 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.0001764/0.8614, allocations: 318.3 kB / 1.012 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.8614, allocations: 8.781 kB / 1.012 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.8617, allocations: 17.22 kB / 1.012 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.055e-05/0.8617, allocations: 171.9 kB / 1.012 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.8618, allocations: 0.9688 kB / 1.012 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.8618, allocations: 2.281 kB / 1.012 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.8619, allocations: 32.08 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8619, allocations: 4.125 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.8619, allocations: 3.938 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.8619, allocations: 4.406 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.862, allocations: 12 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.911e-05/0.8621, allocations: 153.6 kB / 1.012 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.8622, allocations: 22.48 kB / 1.012 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.8622, allocations: 7.547 kB / 1.012 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.8623, allocations: 1.5 kB / 1.012 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.8623, allocations: 34.12 kB / 1.012 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.8623, allocations: 3.562 kB / 1.012 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002012/0.8625, allocations: 58.31 kB / 1.012 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.8625, allocations: 51.41 kB / 1.012 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.006e-05/0.8626, allocations: 89.86 kB / 1.012 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.8626, allocations: 25.7 kB / 1.012 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.214e-05/0.8626, allocations: 80.14 kB / 1.012 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.8626, allocations: 2.625 kB / 1.012 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.8626, allocations: 0 / 1.012 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.8627, allocations: 313.8 kB / 1.013 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.8627, allocations: 8.094 kB / 1.013 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.445e-05/0.8628, allocations: 3.031 kB / 1.013 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.465e-05/0.8629, allocations: 19.92 kB / 1.013 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.8629, allocations: 0.625 kB / 1.013 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001037/0.863, allocations: 48.33 kB / 1.013 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.863, allocations: 7.156 kB / 1.013 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.863, allocations: 1.875 kB / 1.013 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.863, allocations: 3.938 kB / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.8631, allocations: 6.562 kB / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.8631, allocations: 0 / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.8631, allocations: 6.156 kB / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.8632, allocations: 0.75 kB / 1.013 GB, free: 56.35 MB / 0.7136 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 4.777e-05/0.8632, allocations: 107.2 kB / 1.013 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-06/0.8632, allocations: 7.75 kB / 1.013 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.8633, allocations: 14.95 kB / 1.013 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.8633, allocations: 0 / 1.013 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8633, allocations: 2.234 kB / 1.013 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.8633, allocations: 1.156 kB / 1.013 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.368e-05/0.8633, allocations: 148.1 kB / 1.013 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.8633, allocations: 0 / 1.013 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.8634, allocations: 7.219 kB / 1.013 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.8634, allocations: 0 / 1.013 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.8634, allocations: 5.906 kB / 1.013 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.8634, allocations: 0 / 1.013 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8634, allocations: 0 / 1.013 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.8635, allocations: 75.5 kB / 1.013 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.8636, allocations: 78.27 kB / 1.013 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.8636, allocations: 3.938 kB / 1.013 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.8636, allocations: 2.469 kB / 1.013 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.8636, allocations: 1.438 kB / 1.013 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.8637, allocations: 3.328 kB / 1.013 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.521e-05/0.8637, allocations: 75.28 kB / 1.013 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8637, allocations: 0 / 1.013 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001711/0.8639, allocations: 2.5 kB / 1.013 GB, free: 55.79 MB / 0.7136 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.000114/0.864, allocations: 104.9 kB / 1.013 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.8641, allocations: 9.984 kB / 1.013 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.8641, allocations: 5.562 kB / 1.013 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.8642, allocations: 13.98 kB / 1.013 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.8643, allocations: 2.109 kB / 1.013 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.8645, allocations: 83.2 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.686e-05/0.8646, allocations: 0.6787 MB / 1.014 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.8647, allocations: 1.781 kB / 1.014 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.8647, allocations: 7.438 kB / 1.014 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.8647, allocations: 1.875 kB / 1.014 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.001768/0.8665, allocations: 215.6 kB / 1.014 GB, free: 54.9 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)