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.Examples.IntegratorWithReset.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.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") 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.257/1.257, allocations: 255.9 MB / 271.2 MB, free: 8.906 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.0009602/0.0009604, allocations: 190.8 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.345/1.345, allocations: 225.7 MB / 0.6016 GB, free: 1.684 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.0006719/0.000672, allocations: 99.61 kB / 0.709 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.000273, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1537, allocations: 109.2 MB / 0.9327 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001588/0.1554, allocations: 1.501 MB / 0.9342 GB, free: 4.762 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.1562, allocations: 0.4952 MB / 0.9347 GB, free: 4.262 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1563, allocations: 7.938 kB / 0.9347 GB, free: 4.254 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.1565, allocations: 11.86 kB / 0.9347 GB, free: 4.242 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.603e-05/0.1566, allocations: 31.78 kB / 0.9347 GB, free: 4.211 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1567, allocations: 47.95 kB / 0.9348 GB, free: 4.164 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1569, allocations: 167.5 kB / 0.935 GB, free: 4 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1571, allocations: 53.58 kB / 0.935 GB, free: 3.945 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.854e-05/0.1571, allocations: 47.67 kB / 0.935 GB, free: 3.898 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.1572, allocations: 51.7 kB / 0.9351 GB, free: 3.848 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1572, allocations: 4 kB / 0.9351 GB, free: 3.844 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.1573, allocations: 4 kB / 0.9351 GB, free: 3.84 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.1573, allocations: 27.84 kB / 0.9351 GB, free: 3.812 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.1573, allocations: 77.31 kB / 0.9352 GB, free: 3.73 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1575, allocations: 123.7 kB / 0.9353 GB, free: 3.609 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1575, allocations: 0 / 0.9353 GB, free: 3.609 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1575, allocations: 0 / 0.9353 GB, free: 3.609 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1575, allocations: 7.938 kB / 0.9353 GB, free: 3.602 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005142/0.158, allocations: 446.9 kB / 0.9358 GB, free: 3.117 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.158, allocations: 11.98 kB / 0.9358 GB, free: 3.105 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.1581, allocations: 20.75 kB / 0.9358 GB, free: 3.086 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1583, allocations: 232.9 kB / 0.936 GB, free: 2.82 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1583, allocations: 8.375 kB / 0.936 GB, free: 2.812 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1583, allocations: 16.38 kB / 0.936 GB, free: 2.797 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.1586, allocations: 159.6 kB / 0.9362 GB, free: 2.621 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1586, allocations: 3.984 kB / 0.9362 GB, free: 2.617 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1586, allocations: 4 kB / 0.9362 GB, free: 2.613 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1586, allocations: 8 kB / 0.9362 GB, free: 2.605 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1588, allocations: 79.89 kB / 0.9363 GB, free: 2.527 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.1595, allocations: 0.7354 MB / 0.937 GB, free: 1.727 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.1596, allocations: 58.48 kB / 0.9371 GB, free: 1.66 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.1597, allocations: 36.84 kB / 0.9371 GB, free: 1.621 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1598, allocations: 0 / 0.9371 GB, free: 1.621 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.16, allocations: 134.6 kB / 0.9372 GB, free: 1.465 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.16, allocations: 0 / 0.9372 GB, free: 1.465 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0004033/0.1604, allocations: 181.5 kB / 0.9374 GB, free: 1.281 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.1605, allocations: 132.5 kB / 0.9375 GB, free: 1.121 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1606, allocations: 202.8 kB / 0.9377 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1606, allocations: 25.7 kB / 0.9377 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.1607, allocations: 147.7 kB / 0.9379 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1607, allocations: 39.64 kB / 0.9379 GB, free: 0.6953 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.1607, allocations: 4 kB / 0.9379 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.1607, allocations: 330.8 kB / 0.9382 GB, free: 368 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1609, allocations: 39.97 kB / 0.9383 GB, free: 328 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.161, allocations: 146.5 kB / 0.9384 GB, free: 128 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.1613, allocations: 218.3 kB / 0.9386 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1613, allocations: 0 / 0.9386 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003788/0.1617, allocations: 217.1 kB / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1617, allocations: 7.906 kB / 0.9388 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1617, allocations: 4.5 kB / 0.9388 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1617, allocations: 8 kB / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1619, allocations: 39.91 kB / 0.9389 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.1619, allocations: 4 kB / 0.9389 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.162, allocations: 35.97 kB / 0.9389 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.162, allocations: 12 kB / 0.9389 GB, free: 15.53 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001048/0.1621, allocations: 146 kB / 0.9391 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.1622, allocations: 15.81 kB / 0.9391 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.1622, allocations: 25.39 kB / 0.9391 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1622, allocations: 0 / 0.9391 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1622, allocations: 0 / 0.9391 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1622, allocations: 4 kB / 0.9391 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/0.1629, allocations: 0.521 MB / 0.9396 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1629, allocations: 4 kB / 0.9396 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1631, allocations: 19.92 kB / 0.9396 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1631, allocations: 4 kB / 0.9396 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1631, allocations: 4 kB / 0.9397 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1631, allocations: 7.984 kB / 0.9397 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1631, allocations: 3.938 kB / 0.9397 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.1636, allocations: 380.1 kB / 0.94 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.1636, allocations: 89.23 kB / 0.9401 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1636, allocations: 0 / 0.9401 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1638, allocations: 28.03 kB / 0.9401 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1639, allocations: 15.92 kB / 0.9402 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1639, allocations: 7.984 kB / 0.9402 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001032/0.164, allocations: 140.6 kB / 0.9403 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.164, allocations: 0 / 0.9403 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002838/0.1643, allocations: 28 kB / 0.9403 GB, free: 14 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001131/0.1644, allocations: 107.9 kB / 0.9404 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.1647, allocations: 124.5 kB / 0.9405 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1647, allocations: 256 / 0.9405 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1649, allocations: 59.91 kB / 0.9406 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.1654, allocations: 63.92 kB / 0.9407 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.1659, allocations: 414.7 kB / 0.9411 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1662, allocations: 0.7206 MB / 0.9418 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.45e-05/0.1663, allocations: 21.86 kB / 0.9418 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.1663, allocations: 19.44 kB / 0.9418 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of SimCode: time 3.1e-07/0.1663, allocations: 0 / 0.9418 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of Templates: time 0.004223/0.1705, allocations: 1.806 MB / 0.9436 GB, free: 10.63 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)