Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.348/2.348, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001853/0.001853, allocations: 197 kB / 329.5 MB, free: 1.125 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.406/2.406, allocations: 225.6 MB / 0.6001 GB, free: 2.109 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.001384/0.001384, allocations: 107.4 kB / 0.7074 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006921/0.0006924, allocations: 16.08 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2195, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003005/0.2226, allocations: 1.464 MB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.2251, allocations: 0.9525 MB / 0.9331 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.2253, allocations: 0 / 0.9331 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.2261, allocations: 143.7 kB / 0.9333 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.2265, allocations: 95.69 kB / 0.9333 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.2272, allocations: 143.8 kB / 0.9335 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.2276, allocations: 147.6 kB / 0.9336 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2277, allocations: 28.84 kB / 0.9337 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.2279, allocations: 63.7 kB / 0.9337 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2281, allocations: 59.75 kB / 0.9338 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2282, allocations: 4 kB / 0.9338 GB, free: 22 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.2284, allocations: 51.89 kB / 0.9338 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.2285, allocations: 31.91 kB / 0.9339 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.2286, allocations: 53.58 kB / 0.9339 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.2289, allocations: 151.9 kB / 0.934 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2289, allocations: 0 / 0.934 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2289, allocations: 0 / 0.934 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2289, allocations: 0 / 0.934 GB, free: 21.71 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008599/0.2298, allocations: 468.5 kB / 0.9345 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2299, allocations: 12.03 kB / 0.9345 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.2299, allocations: 16.75 kB / 0.9345 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.2304, allocations: 249.6 kB / 0.9348 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.602e-05/0.2305, allocations: 4.375 kB / 0.9348 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.2305, allocations: 12.06 kB / 0.9348 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.2308, allocations: 95.25 kB / 0.9349 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2309, allocations: 0 / 0.9349 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.2309, allocations: 3.938 kB / 0.9349 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.2309, allocations: 4 kB / 0.9349 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.2311, allocations: 35.98 kB / 0.9349 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/0.2319, allocations: 360.6 kB / 0.9353 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.2322, allocations: 70.69 kB / 0.9353 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.2324, allocations: 32.84 kB / 0.9354 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.2324, allocations: 8 kB / 0.9354 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.2327, allocations: 83.31 kB / 0.9354 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.525e-06/0.2327, allocations: 0 / 0.9354 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005615/0.2333, allocations: 141.4 kB / 0.9356 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.2333, allocations: 81.11 kB / 0.9357 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004574/0.2338, allocations: 262.8 kB / 0.9359 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.2338, allocations: 25.7 kB / 0.9359 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.2339, allocations: 120.1 kB / 0.936 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.234, allocations: 27.64 kB / 0.9361 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-06/0.234, allocations: 0 / 0.9361 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.2341, allocations: 338.8 kB / 0.9364 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2343, allocations: 23.98 kB / 0.9364 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2345, allocations: 59.42 kB / 0.9365 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.2346, allocations: 35.95 kB / 0.9365 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2346, allocations: 0 / 0.9365 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003919/0.235, allocations: 117.7 kB / 0.9366 GB, free: 18.83 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2351, allocations: 8 kB / 0.9366 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2351, allocations: 0 / 0.9366 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2351, allocations: 112 / 0.9366 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2353, allocations: 11.94 kB / 0.9366 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2353, allocations: 4 kB / 0.9366 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2355, allocations: 19.83 kB / 0.9367 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2355, allocations: 8.031 kB / 0.9367 GB, free: 18.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.2358, allocations: 138.4 kB / 0.9368 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.2358, allocations: 15.81 kB / 0.9368 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.2359, allocations: 17.39 kB / 0.9368 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.236, allocations: 4 kB / 0.9368 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.236, allocations: 3.938 kB / 0.9368 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.236, allocations: 3.938 kB / 0.9368 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.2363, allocations: 225.5 kB / 0.9371 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2363, allocations: 4 kB / 0.9371 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.2364, allocations: 4 kB / 0.9371 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2364, allocations: 3.984 kB / 0.9371 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.2365, allocations: 0 / 0.9371 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2365, allocations: 160 / 0.9371 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2365, allocations: 0 / 0.9371 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.2369, allocations: 156.8 kB / 0.9372 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.237, allocations: 96.91 kB / 0.9373 GB, free: 18.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.2371, allocations: 4 kB / 0.9373 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2372, allocations: 8 kB / 0.9373 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.2373, allocations: 7.984 kB / 0.9373 GB, free: 18.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.2373, allocations: 11.94 kB / 0.9373 GB, free: 18 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003288/0.2377, allocations: 188.4 kB / 0.9375 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2377, allocations: 4 kB / 0.9375 GB, free: 17.81 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005594/0.2383, allocations: 27.98 kB / 0.9376 GB, free: 17.78 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 (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.001884/0.2402, allocations: 485.7 kB / 0.938 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.2406, allocations: 75.84 kB / 0.9381 GB, free: 17.36 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.2407, allocations: 0 / 0.9381 GB, free: 17.36 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.2408, allocations: 35.98 kB / 0.9381 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.2415, allocations: 33.17 kB / 0.9382 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008335/0.2423, allocations: 330 kB / 0.9385 GB, free: 16.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.2426, allocations: 0.7243 MB / 0.9392 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.2428, allocations: 25.8 kB / 0.9392 GB, free: 16.17 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.2429, allocations: 19.44 kB / 0.9392 GB, free: 16.15 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.2429, allocations: 0 / 0.9392 GB, free: 16.15 MB / 0.5886 GB Notification: Performance of Templates: time 0.009057/0.2519, allocations: 2.124 MB / 0.9413 GB, free: 14.05 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)