Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.349/2.349, allocations: 254.9 MB / 269.9 MB, free: 9.613 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.001383/0.001382, allocations: 184.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.767/2.767, allocations: 225.6 MB / 0.6002 GB, free: 2.105 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.0009965/0.0009959, allocations: 107.4 kB / 0.7074 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004931, allocations: 9.406 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2078, allocations: 109.1 MB / 0.9308 GB, free: 25.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001634/0.2094, allocations: 1.131 MB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007926/0.2103, allocations: 411.3 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.2103, allocations: 0 / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.2104, allocations: 0 / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.617e-05/0.2105, allocations: 15.92 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.2106, allocations: 19.97 kB / 0.9323 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.47e-05/0.2107, allocations: 47.73 kB / 0.9323 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.2108, allocations: 4 kB / 0.9323 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.171e-05/0.2109, allocations: 19.92 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.211, allocations: 19.92 kB / 0.9324 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.211, allocations: 4 kB / 0.9324 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.211, allocations: 0 / 0.9324 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.2111, allocations: 11.97 kB / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.2111, allocations: 37.64 kB / 0.9324 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.972e-05/0.2112, allocations: 19.95 kB / 0.9324 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2112, allocations: 4 kB / 0.9324 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2112, allocations: 0 / 0.9324 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2113, allocations: 0 / 0.9324 GB, free: 23.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000651/0.2119, allocations: 393.3 kB / 0.9328 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.212, allocations: 8.031 kB / 0.9328 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.212, allocations: 4.938 kB / 0.9328 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2121, allocations: 172.2 kB / 0.933 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2122, allocations: 384 / 0.933 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.2122, allocations: 4.375 kB / 0.933 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2124, allocations: 65.92 kB / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2124, allocations: 0 / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.2124, allocations: 0 / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2124, allocations: 0 / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.2125, allocations: 23.98 kB / 0.9331 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.213, allocations: 268.8 kB / 0.9333 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.907e-05/0.2131, allocations: 34.58 kB / 0.9334 GB, free: 22.22 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.2131, allocations: 28.91 kB / 0.9334 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2132, allocations: 8 kB / 0.9334 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.2134, allocations: 93.09 kB / 0.9335 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.043e-06/0.2134, allocations: 0 / 0.9335 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003322/0.2137, allocations: 143.2 kB / 0.9336 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2138, allocations: 85.09 kB / 0.9337 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.267e-05/0.2139, allocations: 110.1 kB / 0.9338 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2139, allocations: 33.7 kB / 0.9339 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.2139, allocations: 84.14 kB / 0.9339 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.214, allocations: 23.81 kB / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.214, allocations: 0 / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.2141, allocations: 322.8 kB / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.2141, allocations: 16 kB / 0.9343 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.2142, allocations: 30.56 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.2143, allocations: 53.64 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2143, allocations: 0 / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001948/0.2145, allocations: 131.6 kB / 0.9345 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.2145, allocations: 29.7 kB / 0.9345 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2145, allocations: 0 / 0.9345 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2146, allocations: 4 kB / 0.9345 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.2146, allocations: 3.938 kB / 0.9345 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2146, allocations: 4 kB / 0.9345 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2148, allocations: 15.98 kB / 0.9345 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2148, allocations: 11.98 kB / 0.9346 GB, free: 20.9 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.2149, allocations: 148.4 kB / 0.9347 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.2149, allocations: 11.89 kB / 0.9347 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.215, allocations: 8.375 kB / 0.9347 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.215, allocations: 7.938 kB / 0.9347 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.215, allocations: 0 / 0.9347 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.215, allocations: 0 / 0.9347 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.2155, allocations: 404.1 kB / 0.9351 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2155, allocations: 0 / 0.9351 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.2155, allocations: 0 / 0.9351 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2155, allocations: 0 / 0.9351 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2155, allocations: 4.062 kB / 0.9351 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2156, allocations: 7.984 kB / 0.9351 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2156, allocations: 0 / 0.9351 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.2158, allocations: 233.1 kB / 0.9353 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.2159, allocations: 88.95 kB / 0.9354 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.2159, allocations: 8 kB / 0.9354 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.2161, allocations: 11.98 kB / 0.9354 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.2161, allocations: 11.92 kB / 0.9355 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.2162, allocations: 0 / 0.9355 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.2162, allocations: 87.28 kB / 0.9355 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2162, allocations: 0 / 0.9355 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003047/0.2165, allocations: 16 kB / 0.9356 GB, free: 19.76 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: 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 (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.0001231/0.2167, allocations: 111.2 kB / 0.9357 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.2169, allocations: 111.3 kB / 0.9358 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2169, allocations: 4 kB / 0.9358 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.217, allocations: 87.38 kB / 0.9359 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.2174, allocations: 19.89 kB / 0.9359 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.2178, allocations: 168.7 kB / 0.936 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.218, allocations: 0.6848 MB / 0.9367 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.218, allocations: 4 kB / 0.9367 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.218, allocations: 11.44 kB / 0.9367 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.218, allocations: 0 / 0.9367 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.00354/0.2216, allocations: 0.7318 MB / 0.9374 GB, free: 17.75 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)