Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.901/1.901, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.00141/0.00141, allocations: 174.7 kB / 393.1 MB, free: 4.098 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.639/1.639, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008958/0.0008957, allocations: 93.61 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004483, allocations: 12 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8074/0.8079, allocations: 121.3 MB / 1.041 GB, free: 58.34 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0009457/0.8089, allocations: 360.8 kB / 1.041 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.8104, allocations: 1.259 MB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.8105, allocations: 3.781 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.8106, allocations: 5.531 kB / 1.042 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.8107, allocations: 3.938 kB / 1.042 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.8111, allocations: 111.9 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.8114, allocations: 158.3 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.8115, allocations: 18.69 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/0.8116, allocations: 69.72 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.8117, allocations: 46.08 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.8117, allocations: 7.5 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.079e-05/0.8118, allocations: 20.23 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.8119, allocations: 20.8 kB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.812, allocations: 84.7 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.8123, allocations: 186.4 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.8123, allocations: 1.188 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8123, allocations: 0 / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.8123, allocations: 0.5 kB / 1.043 GB, free: 56.9 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005036/0.8128, allocations: 423.5 kB / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8129, allocations: 7.75 kB / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.8129, allocations: 15.97 kB / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.8132, allocations: 213.8 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.8132, allocations: 10.66 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.8132, allocations: 16.31 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.8134, allocations: 93.22 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-06/0.8134, allocations: 192 / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8135, allocations: 9.219 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8135, allocations: 3.578 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.056e-05/0.8136, allocations: 45.06 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.8141, allocations: 496.9 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/0.8142, allocations: 53.39 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.8142, allocations: 32.41 kB / 1.045 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.8142, allocations: 1.094 kB / 1.045 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.8144, allocations: 119.3 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.8144, allocations: 3.938 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.000267/0.8147, allocations: 126.7 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.8147, allocations: 84.52 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.8148, allocations: 135.3 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.8148, allocations: 32.61 kB / 1.045 GB, free: 55.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.8149, allocations: 103.2 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.8149, allocations: 13.56 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.815, allocations: 3.344 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.815, allocations: 323.6 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.8152, allocations: 123.1 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.8154, allocations: 164.6 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.8157, allocations: 216.5 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8157, allocations: 0.8125 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005374/0.8162, allocations: 380.2 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.8163, allocations: 73.42 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.8163, allocations: 3.469 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8163, allocations: 0 / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.255e-05/0.8164, allocations: 6.891 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8164, allocations: 3.844 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.8168, allocations: 90.45 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.8168, allocations: 14.91 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.000103/0.817, allocations: 140 kB / 1.047 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.817, allocations: 6.75 kB / 1.047 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.817, allocations: 14.83 kB / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.817, allocations: 4 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.817, allocations: 1 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.817, allocations: 5 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.8172, allocations: 194 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.8172, allocations: 0.75 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-06/0.8172, allocations: 0 / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8172, allocations: 4.312 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.8172, allocations: 0 / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8172, allocations: 0.9844 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8172, allocations: 1.969 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.8174, allocations: 141.2 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.8174, allocations: 80.67 kB / 1.047 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.8174, allocations: 4.781 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.8174, allocations: 1.281 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.8175, allocations: 9.75 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.8175, allocations: 3.031 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.8175, allocations: 109 kB / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8176, allocations: 0 / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002764/0.8178, allocations: 40.69 kB / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * 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.0001412/0.818, allocations: 109.8 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.8184, allocations: 325.2 kB / 1.048 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8184, allocations: 1.031 kB / 1.048 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.8185, allocations: 34.36 kB / 1.048 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.8187, allocations: 21.05 kB / 1.048 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.8191, allocations: 229 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.8193, allocations: 0.7057 MB / 1.049 GB, free: 52.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.8193, allocations: 7.828 kB / 1.049 GB, free: 52.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.8194, allocations: 15.91 kB / 1.049 GB, free: 52.55 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.8194, allocations: 0 / 1.049 GB, free: 52.55 MB / 0.698 GB Notification: Performance of Templates: time 0.004916/0.8243, allocations: 2.171 MB / 1.051 GB, free: 52.38 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)