Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.36/2.36, 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.00131/0.001311, allocations: 198.7 kB / 329.5 MB, free: 1.156 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.35/2.35, allocations: 225.6 MB / 0.6001 GB, free: 488 kB / 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.0009476/0.0009477, allocations: 95.31 kB / 0.7074 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007513/0.0007516, allocations: 13.25 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2504, allocations: 109.1 MB / 0.9307 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002642/0.2531, allocations: 1.174 MB / 0.9319 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2544, allocations: 427.2 kB / 0.9323 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.2545, allocations: 0 / 0.9323 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.2546, allocations: 3.984 kB / 0.9323 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.2547, allocations: 7.938 kB / 0.9323 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2549, allocations: 15.98 kB / 0.9323 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2551, allocations: 51.84 kB / 0.9324 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.2552, allocations: 19.97 kB / 0.9324 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.2553, allocations: 15.92 kB / 0.9324 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.2554, allocations: 15.92 kB / 0.9324 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.2554, allocations: 4 kB / 0.9324 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.2555, allocations: 0 / 0.9324 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.2555, allocations: 11.98 kB / 0.9324 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.2556, allocations: 33.64 kB / 0.9325 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.659e-05/0.2557, allocations: 27.89 kB / 0.9325 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2557, allocations: 0 / 0.9325 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2557, allocations: 0 / 0.9325 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2558, allocations: 0 / 0.9325 GB, free: 23.07 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007098/0.2565, allocations: 361.8 kB / 0.9328 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.2565, allocations: 8.031 kB / 0.9329 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.2566, allocations: 4.938 kB / 0.9329 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.2568, allocations: 172.3 kB / 0.933 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.2568, allocations: 4.375 kB / 0.933 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.2569, allocations: 4.375 kB / 0.933 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2571, allocations: 65.92 kB / 0.9331 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2571, allocations: 0 / 0.9331 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.2571, allocations: 8 kB / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2572, allocations: 0 / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.2573, allocations: 19.98 kB / 0.9331 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.2582, allocations: 320.6 kB / 0.9334 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.2584, allocations: 50.56 kB / 0.9335 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.153e-05/0.2585, allocations: 20.95 kB / 0.9335 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2586, allocations: 0 / 0.9335 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.2588, allocations: 79.41 kB / 0.9336 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 3.607e-06/0.2589, allocations: 4 kB / 0.9336 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0004042/0.2593, allocations: 97.52 kB / 0.9337 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2593, allocations: 55.41 kB / 0.9337 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2595, allocations: 109.8 kB / 0.9338 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.2595, allocations: 25.7 kB / 0.9338 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.2596, allocations: 88.05 kB / 0.9339 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.2596, allocations: 23.73 kB / 0.934 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.2597, allocations: 0 / 0.934 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.2598, allocations: 330.8 kB / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.613e-05/0.2599, allocations: 12 kB / 0.9343 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.26, allocations: 51.3 kB / 0.9343 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.2601, allocations: 27.92 kB / 0.9344 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2602, allocations: 0 / 0.9344 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000303/0.2605, allocations: 93.7 kB / 0.9344 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.2605, allocations: 11.91 kB / 0.9345 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2605, allocations: 12.08 kB / 0.9345 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2606, allocations: 0 / 0.9345 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2608, allocations: 11.94 kB / 0.9345 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2608, allocations: 4 kB / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.261, allocations: 11.98 kB / 0.9345 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.261, allocations: 4 kB / 0.9345 GB, free: 20.79 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.000124/0.2612, allocations: 117.8 kB / 0.9346 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.2612, allocations: 11.91 kB / 0.9346 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.2613, allocations: 8.344 kB / 0.9346 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-06/0.2613, allocations: 4 kB / 0.9346 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2613, allocations: 0 / 0.9346 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.2613, allocations: 0 / 0.9346 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007592/0.2621, allocations: 362.4 kB / 0.935 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2621, allocations: 0 / 0.935 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.2622, allocations: 11.94 kB / 0.935 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.2623, allocations: 0 / 0.935 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2623, allocations: 4 kB / 0.935 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.2623, allocations: 3.938 kB / 0.935 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2623, allocations: 4 kB / 0.935 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2626, allocations: 175.4 kB / 0.9352 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.2627, allocations: 89.05 kB / 0.9353 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2627, allocations: 0 / 0.9353 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.263, allocations: 15.92 kB / 0.9353 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.2631, allocations: 11.98 kB / 0.9353 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.2631, allocations: 0 / 0.9353 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.2632, allocations: 83.28 kB / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.62e-07/0.2632, allocations: 0 / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005059/0.2637, allocations: 16 kB / 0.9354 GB, free: 19.79 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001663/0.2639, allocations: 110.3 kB / 0.9355 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.2642, allocations: 55.92 kB / 0.9355 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2642, allocations: 3.938 kB / 0.9355 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2643, allocations: 23.94 kB / 0.9356 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.2649, allocations: 16.36 kB / 0.9356 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/0.2657, allocations: 180.8 kB / 0.9358 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.2659, allocations: 0.6848 MB / 0.9364 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.062e-05/0.266, allocations: 7.984 kB / 0.9364 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.266, allocations: 11.44 kB / 0.9364 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of SimCode: time 3.246e-06/0.266, allocations: 0 / 0.9364 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of Templates: time 0.005064/0.2711, allocations: 0.6586 MB / 0.9371 GB, free: 17.99 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)