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.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") 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.252/1.252, 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.000859/0.0008594, allocations: 181.4 kB / 330.8 MB, free: 472 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.343/1.343, allocations: 225.7 MB / 0.6016 GB, free: 1.648 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.0006994/0.0006993, allocations: 97.2 kB / 0.709 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1688, allocations: 109.2 MB / 0.9327 GB, free: 6.281 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001708/0.1706, allocations: 1.475 MB / 0.9342 GB, free: 4.793 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1719, allocations: 1.25 MB / 0.9354 GB, free: 3.461 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.172, allocations: 7.938 kB / 0.9354 GB, free: 3.453 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.1726, allocations: 155.7 kB / 0.9356 GB, free: 3.301 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1728, allocations: 107.7 kB / 0.9357 GB, free: 3.195 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1732, allocations: 147.7 kB / 0.9358 GB, free: 3.051 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.1734, allocations: 163.6 kB / 0.936 GB, free: 2.891 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.1735, allocations: 25.09 kB / 0.936 GB, free: 2.867 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.1736, allocations: 63.7 kB / 0.936 GB, free: 2.805 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/0.1737, allocations: 63.69 kB / 0.9361 GB, free: 2.742 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1737, allocations: 0 / 0.9361 GB, free: 2.742 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1739, allocations: 51.92 kB / 0.9362 GB, free: 2.691 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.1739, allocations: 39.89 kB / 0.9362 GB, free: 2.652 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.174, allocations: 77.31 kB / 0.9363 GB, free: 2.57 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1742, allocations: 191.6 kB / 0.9365 GB, free: 2.383 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1742, allocations: 0 / 0.9365 GB, free: 2.383 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1742, allocations: 0 / 0.9365 GB, free: 2.383 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.1742, allocations: 0 / 0.9365 GB, free: 2.383 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005544/0.1748, allocations: 476.4 kB / 0.9369 GB, free: 1.863 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1748, allocations: 11.98 kB / 0.9369 GB, free: 1.852 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.1749, allocations: 16.75 kB / 0.9369 GB, free: 1.836 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1751, allocations: 250.1 kB / 0.9372 GB, free: 1.551 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1751, allocations: 8.375 kB / 0.9372 GB, free: 1.543 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1751, allocations: 4.125 kB / 0.9372 GB, free: 1.539 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1753, allocations: 99.23 kB / 0.9373 GB, free: 1.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1753, allocations: 0 / 0.9373 GB, free: 1.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1753, allocations: 4 kB / 0.9373 GB, free: 1.426 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.1753, allocations: 0 / 0.9373 GB, free: 1.426 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.1754, allocations: 35.98 kB / 0.9373 GB, free: 1.391 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.1758, allocations: 352.7 kB / 0.9377 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.176, allocations: 74.67 kB / 0.9377 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.176, allocations: 32.84 kB / 0.9378 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1761, allocations: 0 / 0.9378 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.1762, allocations: 87.33 kB / 0.9378 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1762, allocations: 0 / 0.9378 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0002633/0.1765, allocations: 137.4 kB / 0.938 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.1765, allocations: 85.09 kB / 0.9381 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1767, allocations: 267.4 kB / 0.9383 GB, free: 276 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1767, allocations: 29.69 kB / 0.9383 GB, free: 240 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.1768, allocations: 116.1 kB / 0.9384 GB, free: 120 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.1768, allocations: 27.66 kB / 0.9385 GB, free: 92 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.1768, allocations: 0 / 0.9385 GB, free: 92 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1769, allocations: 334.8 kB / 0.9388 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.177, allocations: 32.03 kB / 0.9388 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/0.1771, allocations: 55.42 kB / 0.9389 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1772, allocations: 81.98 kB / 0.939 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1772, allocations: 0 / 0.939 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001872/0.1774, allocations: 113.4 kB / 0.9391 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1774, allocations: 8 kB / 0.9391 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1775, allocations: 0 / 0.9391 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1775, allocations: 0 / 0.9391 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.1775, allocations: 11.98 kB / 0.9391 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1776, allocations: 0 / 0.9391 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.1776, allocations: 15.84 kB / 0.9391 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.1776, allocations: 32 / 0.9391 GB, free: 15.42 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001154/0.1778, allocations: 154.3 kB / 0.9392 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1778, allocations: 19.8 kB / 0.9393 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.1778, allocations: 17.34 kB / 0.9393 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.1779, allocations: 4 kB / 0.9393 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1779, allocations: 0 / 0.9393 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1779, allocations: 11.91 kB / 0.9393 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1781, allocations: 225.5 kB / 0.9395 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1781, allocations: 4 kB / 0.9395 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.1781, allocations: 4 kB / 0.9395 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1781, allocations: 4 kB / 0.9395 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1781, allocations: 0 / 0.9395 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1781, allocations: 0 / 0.9395 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1781, allocations: 0 / 0.9395 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1783, allocations: 144.8 kB / 0.9397 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.1784, allocations: 96.92 kB / 0.9398 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1784, allocations: 3.984 kB / 0.9398 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.1785, allocations: 12 kB / 0.9398 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1785, allocations: 4 kB / 0.9398 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1786, allocations: 15.8 kB / 0.9398 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001611/0.1787, allocations: 188.6 kB / 0.94 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1787, allocations: 0 / 0.94 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002124/0.1789, allocations: 32 kB / 0.94 GB, free: 14.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00088/0.1798, allocations: 498 kB / 0.9405 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.18, allocations: 67.91 kB / 0.9405 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.18, allocations: 0 / 0.9405 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.1801, allocations: 39.98 kB / 0.9406 GB, free: 13.94 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1804, allocations: 35.91 kB / 0.9406 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.1809, allocations: 346 kB / 0.9409 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.1811, allocations: 0.7243 MB / 0.9416 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.553e-05/0.1812, allocations: 25.7 kB / 0.9417 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.1813, allocations: 19.44 kB / 0.9417 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of SimCode: time 2.1e-07/0.1813, allocations: 0 / 0.9417 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.004772/0.186, allocations: 2.163 MB / 0.9438 GB, free: 10.61 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)