Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") 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 2.051/2.051, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001385/0.001386, allocations: 174.1 kB / 382.3 MB, free: 14.85 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.609/1.609, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.001008/0.001008, allocations: 93.8 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 8 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8181, allocations: 119.2 MB / 1.022 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001235/0.8194, allocations: 351.1 kB / 1.023 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.8214, allocations: 1.267 MB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.8215, allocations: 0 / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.8216, allocations: 0.5312 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.437e-05/0.8217, allocations: 5.906 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.8223, allocations: 113.4 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.8225, allocations: 84.89 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.8226, allocations: 5.359 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.8227, allocations: 32.75 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.8228, allocations: 24.03 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.8228, allocations: 4.125 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.554e-05/0.8229, allocations: 22.62 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.823, allocations: 9.844 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.8231, allocations: 54.2 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.8234, allocations: 82.12 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8234, allocations: 1.281 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8234, allocations: 0 / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.8234, allocations: 0 / 1.024 GB, free: 56.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004543/0.8239, allocations: 366.5 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.8239, allocations: 8.875 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.824, allocations: 5.625 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.8242, allocations: 189.4 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.8242, allocations: 4.984 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.8243, allocations: 10.44 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.8244, allocations: 43.42 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8244, allocations: 192 / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.8244, allocations: 6.5 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.8244, allocations: 4.969 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.8245, allocations: 11.77 kB / 1.025 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.8249, allocations: 308.1 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.825, allocations: 18.52 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.825, allocations: 8.797 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.825, allocations: 0 / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.8252, allocations: 63.84 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8252, allocations: 1.562 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002084/0.8254, allocations: 64.22 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.8255, allocations: 54.94 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.8256, allocations: 106.2 kB / 1.025 GB, free: 55.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.8256, allocations: 30.92 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.8256, allocations: 92.44 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.8257, allocations: 1.25 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.8257, allocations: 5.156 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.8258, allocations: 318.9 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.8259, allocations: 29.52 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.8259, allocations: 55.38 kB / 1.026 GB, free: 55.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.8261, allocations: 73.81 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.8261, allocations: 5.969 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002613/0.8263, allocations: 148.4 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.8264, allocations: 42.75 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8264, allocations: 2.109 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.8264, allocations: 2.312 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.752e-05/0.8265, allocations: 4.547 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.8265, allocations: 2.188 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.8268, allocations: 38.3 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.8268, allocations: 5.844 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.493e-05/0.8269, allocations: 125.7 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.8269, allocations: 2.781 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.8269, allocations: 6.953 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8269, allocations: 5.078 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8269, allocations: 0 / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.827, allocations: 0.7031 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.8271, allocations: 170.4 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8271, allocations: 0 / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-06/0.8271, allocations: 6.219 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.8271, allocations: 0 / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.8271, allocations: 0.9688 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.8271, allocations: 4.266 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8271, allocations: 6.094 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.099e-05/0.8272, allocations: 87.02 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.8272, allocations: 78.94 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.8273, allocations: 1.438 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.8273, allocations: 0.7969 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.8273, allocations: 3.266 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.8273, allocations: 1.984 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.8274, allocations: 89.25 kB / 1.027 GB, free: 54.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8274, allocations: 0 / 1.027 GB, free: 54.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002018/0.8276, allocations: 15.45 kB / 1.027 GB, free: 54.28 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001532/0.8277, allocations: 107.5 kB / 1.027 GB, free: 54.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.828, allocations: 127.5 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.828, allocations: 0 / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.828, allocations: 8.422 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.8282, allocations: 16.45 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.8285, allocations: 139.8 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.8287, allocations: 0.6822 MB / 1.028 GB, free: 53.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.8287, allocations: 2.297 kB / 1.028 GB, free: 53.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.8287, allocations: 11.67 kB / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.8287, allocations: 3.938 kB / 1.028 GB, free: 53.25 MB / 0.698 GB Notification: Performance of Templates: time 0.003337/0.8321, allocations: 0.9977 MB / 1.029 GB, free: 53.16 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)