Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.986/1.986, allocations: 297.4 MB / 312.6 MB, free: 2.949 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.0009391/0.0009388, allocations: 186 kB / 382.3 MB, free: 14.84 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.329/1.329, allocations: 225.7 MB / 0.6617 GB, free: 7.25 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.0007787/0.0007787, allocations: 92.72 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 15.98 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5651, allocations: 119.2 MB / 1.022 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006765/0.5658, allocations: 314.4 kB / 1.023 GB, free: 57.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002557/0.5661, allocations: 136.2 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-06/0.5661, allocations: 3.469 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.789e-06/0.5661, allocations: 0 / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.5662, allocations: 0 / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.5663, allocations: 12.42 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.188e-05/0.5664, allocations: 1.375 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.5664, allocations: 1.812 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.5664, allocations: 3.719 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.954e-05/0.5665, allocations: 2.688 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.5665, allocations: 0 / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-05/0.5666, allocations: 21.45 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.5666, allocations: 3.125 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.5666, allocations: 29.64 kB / 1.023 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.011e-05/0.5667, allocations: 16.52 kB / 1.023 GB, free: 57.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5667, allocations: 0 / 1.023 GB, free: 57.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5667, allocations: 2.188 kB / 1.023 GB, free: 57.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.5667, allocations: 0 / 1.023 GB, free: 57.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000179/0.5669, allocations: 312.9 kB / 1.023 GB, free: 57.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.567, allocations: 13.56 kB / 1.023 GB, free: 57.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.5672, allocations: 21.03 kB / 1.023 GB, free: 57.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.374e-05/0.5672, allocations: 161.1 kB / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5673, allocations: 2.844 kB / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.5673, allocations: 384 / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.5674, allocations: 39.55 kB / 1.023 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5674, allocations: 192 / 1.023 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.5674, allocations: 5.312 kB / 1.023 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.5674, allocations: 0 / 1.023 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.5675, allocations: 8.688 kB / 1.023 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.322e-05/0.5676, allocations: 151.4 kB / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.5677, allocations: 23.86 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.5677, allocations: 12.41 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.5678, allocations: 3.984 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.5678, allocations: 32.84 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.5678, allocations: 0 / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001978/0.568, allocations: 50.23 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.568, allocations: 57.09 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.562e-05/0.568, allocations: 95.58 kB / 1.024 GB, free: 56.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-06/0.568, allocations: 25.7 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-06/0.5681, allocations: 80.14 kB / 1.024 GB, free: 56.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.5681, allocations: 5.219 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.5681, allocations: 1.281 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.717e-05/0.5681, allocations: 314.8 kB / 1.024 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.5682, allocations: 9.594 kB / 1.024 GB, free: 56.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.5682, allocations: 6.812 kB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.541e-05/0.5683, allocations: 17.5 kB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5683, allocations: 0 / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001025/0.5684, allocations: 46.61 kB / 1.024 GB, free: 56.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.5684, allocations: 9.062 kB / 1.024 GB, free: 56.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.5684, allocations: 4.688 kB / 1.024 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.5685, allocations: 4.844 kB / 1.024 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.5685, allocations: 6.625 kB / 1.024 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.5685, allocations: 0 / 1.024 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.5686, allocations: 4.219 kB / 1.024 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.5686, allocations: 0 / 1.024 GB, free: 56.18 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 (1): * Single equations (assignments): 1 * 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 4.265e-05/0.5686, allocations: 110.4 kB / 1.024 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.5686, allocations: 1.438 kB / 1.024 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.5687, allocations: 11.73 kB / 1.024 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.5687, allocations: 1.594 kB / 1.024 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.5687, allocations: 1.625 kB / 1.024 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.5687, allocations: 0 / 1.024 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.01e-05/0.5687, allocations: 145.8 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5688, allocations: 1.375 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.5688, allocations: 7.453 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5688, allocations: 0.5 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.5688, allocations: 5.188 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5688, allocations: 0.75 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5688, allocations: 0 / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.569, allocations: 72.62 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.569, allocations: 77.67 kB / 1.025 GB, free: 55.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.569, allocations: 5.375 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.569, allocations: 1.875 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-06/0.569, allocations: 5.75 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.5691, allocations: 7.719 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.03e-05/0.5691, allocations: 75.28 kB / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.5691, allocations: 0 / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001658/0.5692, allocations: 4 kB / 1.025 GB, free: 55.61 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.203e-05/0.5693, allocations: 102.6 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.5695, allocations: 11.53 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5695, allocations: 4.062 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.5695, allocations: 11.44 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.5696, allocations: 3.484 kB / 1.025 GB, free: 55.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.5699, allocations: 86.98 kB / 1.025 GB, free: 55.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.452e-05/0.5699, allocations: 0.6744 MB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.658e-05/0.57, allocations: 5.438 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.57, allocations: 7.438 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.57, allocations: 0 / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of Templates: time 0.001538/0.5716, allocations: 222 kB / 1.026 GB, free: 54.68 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)