Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.248/1.248, allocations: 255.9 MB / 271.2 MB, free: 8.91 MB / 218.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.000899/0.0008989, allocations: 187.4 kB / 330.8 MB, free: 480 kB / 250.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.318/1.318, allocations: 225.7 MB / 0.6016 GB, free: 1.621 MB / 426.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.0007152/0.0007152, allocations: 101.2 kB / 0.709 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002804, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 109.2 MB / 0.9328 GB, free: 6.285 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0005196/0.1483, allocations: 314 kB / 0.9331 GB, free: 5.98 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0002201/0.1485, allocations: 125 kB / 0.9332 GB, free: 5.84 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-06/0.1485, allocations: 0 / 0.9332 GB, free: 5.84 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.1486, allocations: 0 / 0.9332 GB, free: 5.84 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.167e-06/0.1486, allocations: 0 / 0.9332 GB, free: 5.84 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.1487, allocations: 15.92 kB / 0.9332 GB, free: 5.824 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 2.673e-05/0.1488, allocations: 0 / 0.9332 GB, free: 5.824 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.1488, allocations: 4 kB / 0.9332 GB, free: 5.82 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.099e-05/0.1488, allocations: 7.984 kB / 0.9332 GB, free: 5.812 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.593e-05/0.1488, allocations: 0 / 0.9332 GB, free: 5.812 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.1489, allocations: 0 / 0.9332 GB, free: 5.812 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.1489, allocations: 19.97 kB / 0.9332 GB, free: 5.793 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.724e-06/0.1489, allocations: 4 kB / 0.9332 GB, free: 5.789 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.149, allocations: 25.7 kB / 0.9333 GB, free: 5.758 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 6.166e-05/0.149, allocations: 19.92 kB / 0.9333 GB, free: 5.738 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.149, allocations: 0 / 0.9333 GB, free: 5.738 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1491, allocations: 0 / 0.9333 GB, free: 5.738 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.575e-06/0.1491, allocations: 0 / 0.9333 GB, free: 5.738 MB / 0.573 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.000152/0.1492, allocations: 315.5 kB / 0.9336 GB, free: 5.379 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.1493, allocations: 12.05 kB / 0.9336 GB, free: 5.367 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.1495, allocations: 20.91 kB / 0.9336 GB, free: 5.348 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.637e-05/0.1495, allocations: 160.4 kB / 0.9338 GB, free: 5.152 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1495, allocations: 384 / 0.9338 GB, free: 5.152 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1495, allocations: 384 / 0.9338 GB, free: 5.152 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1497, allocations: 42.25 kB / 0.9338 GB, free: 5.105 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1497, allocations: 4.125 kB / 0.9338 GB, free: 5.102 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1497, allocations: 3.938 kB / 0.9338 GB, free: 5.098 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1497, allocations: 0 / 0.9338 GB, free: 5.098 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/0.1498, allocations: 11.98 kB / 0.9338 GB, free: 5.086 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.846e-05/0.1498, allocations: 145.7 kB / 0.934 GB, free: 4.895 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.604e-05/0.1499, allocations: 18.61 kB / 0.934 GB, free: 4.867 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.15, allocations: 20.91 kB / 0.934 GB, free: 4.844 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.15, allocations: 0 / 0.934 GB, free: 4.844 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.15, allocations: 30.56 kB / 0.934 GB, free: 4.805 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.15, allocations: 0 / 0.934 GB, free: 4.805 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0001794/0.1502, allocations: 57.48 kB / 0.9341 GB, free: 4.742 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.498e-05/0.1502, allocations: 51.41 kB / 0.9341 GB, free: 4.68 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.26e-05/0.1502, allocations: 93.98 kB / 0.9342 GB, free: 4.578 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.1502, allocations: 25.7 kB / 0.9342 GB, free: 4.547 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.696e-06/0.1503, allocations: 84.12 kB / 0.9343 GB, free: 4.461 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.1503, allocations: 0 / 0.9343 GB, free: 4.461 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.1503, allocations: 4 kB / 0.9343 GB, free: 4.457 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.1503, allocations: 314.8 kB / 0.9346 GB, free: 4.141 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.1504, allocations: 3.984 kB / 0.9346 GB, free: 4.137 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.1504, allocations: 4 kB / 0.9346 GB, free: 4.133 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.1505, allocations: 28.84 kB / 0.9347 GB, free: 4.102 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1505, allocations: 0 / 0.9347 GB, free: 4.102 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.747e-05/0.1506, allocations: 37.69 kB / 0.9347 GB, free: 4.059 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.1506, allocations: 8 kB / 0.9347 GB, free: 4.051 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1506, allocations: 3.938 kB / 0.9347 GB, free: 4.047 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1507, allocations: 3.938 kB / 0.9347 GB, free: 4.043 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.1507, allocations: 8.016 kB / 0.9347 GB, free: 4.035 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.1507, allocations: 4 kB / 0.9347 GB, free: 4.031 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.1508, allocations: 0 / 0.9347 GB, free: 4.031 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.1508, allocations: 0 / 0.9347 GB, free: 4.031 MB / 0.573 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 3.559e-05/0.1508, allocations: 114.5 kB / 0.9348 GB, free: 3.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-06/0.1508, allocations: 3.984 kB / 0.9348 GB, free: 3.906 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.1508, allocations: 7.062 kB / 0.9348 GB, free: 3.895 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.1508, allocations: 0 / 0.9348 GB, free: 3.895 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1509, allocations: 0 / 0.9348 GB, free: 3.895 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1509, allocations: 4 kB / 0.9349 GB, free: 3.891 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.875e-05/0.1509, allocations: 141.7 kB / 0.935 GB, free: 3.703 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1509, allocations: 4 kB / 0.935 GB, free: 3.699 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.1509, allocations: 3.984 kB / 0.935 GB, free: 3.695 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.151, allocations: 3.938 kB / 0.935 GB, free: 3.691 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.151, allocations: 3.938 kB / 0.935 GB, free: 3.688 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.151, allocations: 8 kB / 0.935 GB, free: 3.68 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.151, allocations: 0 / 0.935 GB, free: 3.68 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.1511, allocations: 69.11 kB / 0.9351 GB, free: 3.594 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.1511, allocations: 77.11 kB / 0.9352 GB, free: 3.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.1511, allocations: 7.938 kB / 0.9352 GB, free: 3.492 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.649e-05/0.1511, allocations: 0 / 0.9352 GB, free: 3.492 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-06/0.1512, allocations: 0 / 0.9352 GB, free: 3.492 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1512, allocations: 0 / 0.9352 GB, free: 3.492 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.067e-06/0.1512, allocations: 75.28 kB / 0.9352 GB, free: 3.418 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.1512, allocations: 0 / 0.9352 GB, free: 3.418 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001489/0.1513, allocations: 8.031 kB / 0.9352 GB, free: 3.41 MB / 0.573 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 6.911e-05/0.1514, allocations: 115.2 kB / 0.9353 GB, free: 3.289 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.1515, allocations: 19.92 kB / 0.9354 GB, free: 3.27 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1515, allocations: 0 / 0.9354 GB, free: 3.27 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.1516, allocations: 4 kB / 0.9354 GB, free: 3.266 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.893e-05/0.1517, allocations: 7.797 kB / 0.9354 GB, free: 3.262 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001524/0.1518, allocations: 90.72 kB / 0.9355 GB, free: 3.148 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.923e-05/0.1519, allocations: 0.6731 MB / 0.9361 GB, free: 2.449 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.1519, allocations: 4 kB / 0.9361 GB, free: 2.445 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.152, allocations: 7.438 kB / 0.9361 GB, free: 2.438 MB / 0.573 GB Notification: Performance of SimCode: time 2.21e-07/0.152, allocations: 4 kB / 0.9361 GB, free: 2.434 MB / 0.573 GB Notification: Performance of Templates: time 0.001326/0.1533, allocations: 214.6 kB / 0.9363 GB, free: 2.227 MB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)