Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.211/2.211, allocations: 254.9 MB / 269.9 MB, free: 9.625 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.001841/0.00184, allocations: 196.8 kB / 329.5 MB, free: 1.148 MB / 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 2.784/2.784, allocations: 225.6 MB / 0.6001 GB, free: 0.4922 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.0009871/0.0009868, allocations: 94.42 kB / 0.7074 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004949, allocations: 10.66 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2069, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001542/0.2085, allocations: 1.025 MB / 0.9318 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004285/0.2089, allocations: 175.6 kB / 0.9319 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.209, allocations: 0 / 0.9319 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.924e-05/0.2091, allocations: 3.984 kB / 0.9319 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.2092, allocations: 11.92 kB / 0.932 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.2093, allocations: 4 kB / 0.932 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.043e-05/0.2094, allocations: 27.92 kB / 0.932 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.077e-05/0.2095, allocations: 15.98 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.2095, allocations: 7.938 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.2096, allocations: 19.86 kB / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.2096, allocations: 0 / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.2096, allocations: 4 kB / 0.932 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.2097, allocations: 3.984 kB / 0.932 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.2097, allocations: 33.7 kB / 0.9321 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.442e-05/0.2098, allocations: 23.94 kB / 0.9321 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2098, allocations: 4 kB / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2098, allocations: 0 / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.2098, allocations: 4 kB / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004509/0.2103, allocations: 343.7 kB / 0.9324 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2103, allocations: 8.031 kB / 0.9324 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.2104, allocations: 12.78 kB / 0.9324 GB, free: 23.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2105, allocations: 172.4 kB / 0.9326 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2106, allocations: 384 / 0.9326 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2106, allocations: 4.375 kB / 0.9326 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.2107, allocations: 50.25 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2107, allocations: 192 / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2108, allocations: 3.938 kB / 0.9327 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2108, allocations: 4 kB / 0.9327 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.223e-05/0.2108, allocations: 15.98 kB / 0.9327 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.2113, allocations: 288.8 kB / 0.933 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.976e-05/0.2114, allocations: 26.56 kB / 0.933 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.2115, allocations: 8.922 kB / 0.933 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2115, allocations: 0 / 0.933 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.2116, allocations: 59.34 kB / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.2117, allocations: 0 / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001966/0.2119, allocations: 57.69 kB / 0.9331 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2119, allocations: 55.41 kB / 0.9332 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.212, allocations: 105.8 kB / 0.9333 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.212, allocations: 25.7 kB / 0.9333 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.2121, allocations: 91.98 kB / 0.9334 GB, free: 22 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.2121, allocations: 7.922 kB / 0.9334 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.2121, allocations: 4 kB / 0.9334 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.2122, allocations: 318.8 kB / 0.9337 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.2122, allocations: 11.94 kB / 0.9337 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.2123, allocations: 25.64 kB / 0.9337 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.2123, allocations: 8 kB / 0.9337 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2123, allocations: 0 / 0.9337 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000101/0.2124, allocations: 53.88 kB / 0.9338 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2125, allocations: 4 kB / 0.9338 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2125, allocations: 0 / 0.9338 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.2125, allocations: 8.031 kB / 0.9338 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.2126, allocations: 7.969 kB / 0.9338 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.2126, allocations: 0 / 0.9338 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.784e-05/0.2127, allocations: 11.98 kB / 0.9338 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.2127, allocations: 0 / 0.9338 GB, free: 21.52 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: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.882e-05/0.2128, allocations: 117.8 kB / 0.9339 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.2128, allocations: 0 / 0.9339 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.2128, allocations: 7.5 kB / 0.9339 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2129, allocations: 0 / 0.9339 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2129, allocations: 0 / 0.9339 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2129, allocations: 4 kB / 0.9339 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.213, allocations: 173.6 kB / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.213, allocations: 0 / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.213, allocations: 0 / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2131, allocations: 0 / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.2131, allocations: 4 kB / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2131, allocations: 0 / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2131, allocations: 0 / 0.9341 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.2132, allocations: 92.89 kB / 0.9342 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.2132, allocations: 77.11 kB / 0.9343 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2133, allocations: 0 / 0.9343 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.2134, allocations: 7.984 kB / 0.9343 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.2134, allocations: 4 kB / 0.9343 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.2134, allocations: 0 / 0.9343 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.2135, allocations: 95.45 kB / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2135, allocations: 0 / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002291/0.2137, allocations: 8 kB / 0.9344 GB, free: 20.84 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: 3 ($whenCondition1,booRep.y[3],booPul.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001103/0.2138, allocations: 103.8 kB / 0.9345 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.214, allocations: 27.86 kB / 0.9345 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.214, allocations: 0 / 0.9345 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.214, allocations: 12 kB / 0.9345 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2143, allocations: 7.938 kB / 0.9345 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.2146, allocations: 142.7 kB / 0.9347 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.2148, allocations: 0.6808 MB / 0.9353 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.702e-05/0.2148, allocations: 7.984 kB / 0.9353 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.2149, allocations: 11.44 kB / 0.9353 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.2149, allocations: 0 / 0.9353 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of Templates: time 0.003039/0.2179, allocations: 459.7 kB / 0.9358 GB, free: 19.34 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)