Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") 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.571/1.571, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.001122/0.001122, allocations: 181.8 kB / 330.8 MB, free: 496 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.646/1.646, allocations: 225.7 MB / 0.6016 GB, free: 1.625 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.0008483/0.0008484, allocations: 100.4 kB / 0.709 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003784, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2314, allocations: 109.2 MB / 0.9327 GB, free: 6.328 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001644/0.2331, allocations: 1.146 MB / 0.9339 GB, free: 5.172 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0007014/0.2338, allocations: 480.5 kB / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.2338, allocations: 0 / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.2339, allocations: 7.984 kB / 0.9343 GB, free: 4.672 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 8.651e-05/0.234, allocations: 7.922 kB / 0.9343 GB, free: 4.664 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.2341, allocations: 23.92 kB / 0.9344 GB, free: 4.641 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.2342, allocations: 43.86 kB / 0.9344 GB, free: 4.598 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.2343, allocations: 7.938 kB / 0.9344 GB, free: 4.59 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.2344, allocations: 15.98 kB / 0.9344 GB, free: 4.574 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.2345, allocations: 27.84 kB / 0.9345 GB, free: 4.547 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2345, allocations: 0 / 0.9345 GB, free: 4.547 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.2345, allocations: 7.938 kB / 0.9345 GB, free: 4.539 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.2345, allocations: 3.984 kB / 0.9345 GB, free: 4.535 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.2346, allocations: 45.58 kB / 0.9345 GB, free: 4.484 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 9.195e-05/0.2347, allocations: 35.88 kB / 0.9345 GB, free: 4.449 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2347, allocations: 3.938 kB / 0.9345 GB, free: 4.445 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2347, allocations: 0 / 0.9345 GB, free: 4.445 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2347, allocations: 0 / 0.9345 GB, free: 4.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00057/0.2353, allocations: 397.4 kB / 0.9349 GB, free: 4.004 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2353, allocations: 11.98 kB / 0.9349 GB, free: 3.992 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2354, allocations: 8.844 kB / 0.9349 GB, free: 3.984 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2355, allocations: 172.3 kB / 0.9351 GB, free: 3.777 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2355, allocations: 4.359 kB / 0.9351 GB, free: 3.773 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.2355, allocations: 4.375 kB / 0.9351 GB, free: 3.77 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.2357, allocations: 61.98 kB / 0.9352 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2357, allocations: 0 / 0.9352 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2357, allocations: 0 / 0.9352 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2357, allocations: 0 / 0.9352 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.889e-05/0.2358, allocations: 23.92 kB / 0.9352 GB, free: 3.68 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.2361, allocations: 268.8 kB / 0.9355 GB, free: 3.367 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.2362, allocations: 34.58 kB / 0.9355 GB, free: 3.324 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.2362, allocations: 24.97 kB / 0.9355 GB, free: 3.297 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2363, allocations: 4 kB / 0.9355 GB, free: 3.293 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.2364, allocations: 100.9 kB / 0.9356 GB, free: 3.176 MB / 0.573 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.2365, allocations: 0 / 0.9356 GB, free: 3.176 MB / 0.573 GB Notification: Performance of matching and sorting (n=9): time 0.00024/0.2367, allocations: 143.4 kB / 0.9357 GB, free: 3.023 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.2368, allocations: 85.09 kB / 0.9358 GB, free: 2.922 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.2368, allocations: 117.8 kB / 0.9359 GB, free: 2.797 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.2368, allocations: 25.7 kB / 0.936 GB, free: 2.766 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.2369, allocations: 88.14 kB / 0.9361 GB, free: 2.676 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.2369, allocations: 15.75 kB / 0.9361 GB, free: 2.66 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.2369, allocations: 4 kB / 0.9361 GB, free: 2.656 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.237, allocations: 319 kB / 0.9364 GB, free: 2.336 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.237, allocations: 20 kB / 0.9364 GB, free: 2.316 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.237, allocations: 34.5 kB / 0.9364 GB, free: 2.273 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.732e-05/0.2371, allocations: 122.3 kB / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2371, allocations: 0 / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001268/0.2373, allocations: 127.2 kB / 0.9367 GB, free: 1.996 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.2373, allocations: 33.7 kB / 0.9367 GB, free: 1.957 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2373, allocations: 0 / 0.9367 GB, free: 1.957 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2373, allocations: 4 kB / 0.9367 GB, free: 1.953 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.303e-05/0.2374, allocations: 3.984 kB / 0.9367 GB, free: 1.949 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2374, allocations: 8.062 kB / 0.9367 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.2374, allocations: 7.938 kB / 0.9367 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.2375, allocations: 8 kB / 0.9367 GB, free: 1.926 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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: 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 7.661e-05/0.2375, allocations: 158.6 kB / 0.9369 GB, free: 1.758 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.2376, allocations: 4 kB / 0.9369 GB, free: 1.754 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.2376, allocations: 4.375 kB / 0.9369 GB, free: 1.75 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2376, allocations: 4 kB / 0.9369 GB, free: 1.746 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2376, allocations: 4 kB / 0.9369 GB, free: 1.742 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2376, allocations: 0 / 0.9369 GB, free: 1.742 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.2379, allocations: 400 kB / 0.9373 GB, free: 1.289 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2379, allocations: 4 kB / 0.9373 GB, free: 1.285 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.868e-06/0.2379, allocations: 12.05 kB / 0.9373 GB, free: 1.273 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2379, allocations: 0 / 0.9373 GB, free: 1.273 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.238, allocations: 0 / 0.9373 GB, free: 1.273 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.238, allocations: 4 kB / 0.9373 GB, free: 1.27 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.238, allocations: 0 / 0.9373 GB, free: 1.27 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.2381, allocations: 229.1 kB / 0.9375 GB, free: 1.023 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.2382, allocations: 85.02 kB / 0.9376 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2382, allocations: 4 kB / 0.9376 GB, free: 0.918 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2383, allocations: 11.98 kB / 0.9376 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.2383, allocations: 15.91 kB / 0.9376 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.2384, allocations: 8.031 kB / 0.9376 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.2384, allocations: 95.2 kB / 0.9377 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2384, allocations: 4 kB / 0.9377 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002139/0.2386, allocations: 16 kB / 0.9377 GB, free: 0.7695 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.723e-05/0.2387, allocations: 108.6 kB / 0.9378 GB, free: 0.6562 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.2389, allocations: 111.3 kB / 0.938 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2389, allocations: 0 / 0.938 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/0.239, allocations: 91.33 kB / 0.938 GB, free: 444 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2392, allocations: 20.11 kB / 0.9381 GB, free: 424 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.2395, allocations: 172.4 kB / 0.9382 GB, free: 220 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.2398, allocations: 0.6809 MB / 0.9389 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.2398, allocations: 4 kB / 0.9389 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.2398, allocations: 11.44 kB / 0.9389 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of SimCode: time 3.6e-07/0.2399, allocations: 4 kB / 0.9389 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of Templates: time 0.002745/0.2426, allocations: 0.7614 MB / 0.9396 GB, free: 14.73 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)