Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") 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.438/1.438, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.001016/0.001016, allocations: 177.8 kB / 330.8 MB, free: 464 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.571/1.571, allocations: 225.7 MB / 0.6016 GB, free: 1.633 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.001047/0.001047, allocations: 99.59 kB / 0.709 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004613, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 109.2 MB / 0.9327 GB, free: 6.258 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001687/0.2106, allocations: 1.186 MB / 0.9339 GB, free: 5.059 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0007413/0.2113, allocations: 411.4 kB / 0.9343 GB, free: 4.652 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.2114, allocations: 4 kB / 0.9343 GB, free: 4.648 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.2115, allocations: 0 / 0.9343 GB, free: 4.648 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.588e-05/0.2116, allocations: 7.922 kB / 0.9343 GB, free: 4.641 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.2118, allocations: 19.98 kB / 0.9343 GB, free: 4.621 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 8.46e-05/0.2119, allocations: 47.8 kB / 0.9344 GB, free: 4.574 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.212, allocations: 15.97 kB / 0.9344 GB, free: 4.559 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/0.2121, allocations: 19.94 kB / 0.9344 GB, free: 4.539 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.2122, allocations: 23.84 kB / 0.9344 GB, free: 4.516 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.2122, allocations: 4 kB / 0.9344 GB, free: 4.512 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.2122, allocations: 0 / 0.9344 GB, free: 4.512 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.2122, allocations: 8 kB / 0.9344 GB, free: 4.504 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.2123, allocations: 49.56 kB / 0.9345 GB, free: 4.449 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 9.256e-05/0.2124, allocations: 35.86 kB / 0.9345 GB, free: 4.414 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2124, allocations: 0 / 0.9345 GB, free: 4.414 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.544e-06/0.2124, allocations: 0 / 0.9345 GB, free: 4.414 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.2124, allocations: 3.938 kB / 0.9345 GB, free: 4.41 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005066/0.2129, allocations: 359.7 kB / 0.9349 GB, free: 4.012 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.213, allocations: 11.98 kB / 0.9349 GB, free: 4 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.213, allocations: 8.922 kB / 0.9349 GB, free: 3.992 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2131, allocations: 172.2 kB / 0.9351 GB, free: 3.785 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2132, allocations: 4.375 kB / 0.9351 GB, free: 3.781 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.2132, allocations: 4.375 kB / 0.9351 GB, free: 3.777 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2133, allocations: 65.92 kB / 0.9351 GB, free: 3.707 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2133, allocations: 4 kB / 0.9351 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2134, allocations: 0 / 0.9351 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2134, allocations: 0 / 0.9351 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.2134, allocations: 27.98 kB / 0.9352 GB, free: 3.676 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.2139, allocations: 296.8 kB / 0.9354 GB, free: 3.336 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.214, allocations: 58.59 kB / 0.9355 GB, free: 3.27 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.079e-05/0.214, allocations: 28.94 kB / 0.9355 GB, free: 3.238 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.2141, allocations: 0 / 0.9355 GB, free: 3.238 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.2142, allocations: 75.28 kB / 0.9356 GB, free: 3.152 MB / 0.573 GB Notification: Performance of pre-optimization done (n=9): time 2.445e-06/0.2143, allocations: 0 / 0.9356 GB, free: 3.152 MB / 0.573 GB Notification: Performance of matching and sorting (n=9): time 0.0002309/0.2145, allocations: 101.6 kB / 0.9357 GB, free: 3.047 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2145, allocations: 63.27 kB / 0.9357 GB, free: 2.973 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.861e-05/0.2146, allocations: 105.9 kB / 0.9359 GB, free: 2.859 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2146, allocations: 25.7 kB / 0.9359 GB, free: 2.828 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.2147, allocations: 100 kB / 0.936 GB, free: 2.727 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2147, allocations: 19.66 kB / 0.936 GB, free: 2.707 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.2147, allocations: 4 kB / 0.936 GB, free: 2.703 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.2148, allocations: 322.8 kB / 0.9363 GB, free: 2.379 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.2148, allocations: 12 kB / 0.9363 GB, free: 2.367 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.2149, allocations: 51.42 kB / 0.9364 GB, free: 2.305 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.33e-05/0.2149, allocations: 67.53 kB / 0.9364 GB, free: 2.227 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2149, allocations: 0 / 0.9364 GB, free: 2.227 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001232/0.2151, allocations: 89.62 kB / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2151, allocations: 8 kB / 0.9365 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2151, allocations: 8.016 kB / 0.9365 GB, free: 2.117 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2151, allocations: 0 / 0.9365 GB, free: 2.117 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.2152, allocations: 15.94 kB / 0.9365 GB, free: 2.102 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2152, allocations: 0 / 0.9365 GB, free: 2.102 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.2153, allocations: 19.89 kB / 0.9366 GB, free: 2.082 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.2153, allocations: 0 / 0.9366 GB, free: 2.082 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.357e-05/0.2154, allocations: 125.2 kB / 0.9367 GB, free: 1.953 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.2154, allocations: 0 / 0.9367 GB, free: 1.953 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.2155, allocations: 11.97 kB / 0.9367 GB, free: 1.941 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2155, allocations: 4 kB / 0.9367 GB, free: 1.938 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2155, allocations: 0 / 0.9367 GB, free: 1.938 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2155, allocations: 0 / 0.9367 GB, free: 1.938 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.2158, allocations: 366.3 kB / 0.937 GB, free: 1.523 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2158, allocations: 0 / 0.937 GB, free: 1.523 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.2159, allocations: 4 kB / 0.937 GB, free: 1.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2159, allocations: 4 kB / 0.9371 GB, free: 1.516 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2159, allocations: 0 / 0.9371 GB, free: 1.516 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2159, allocations: 12.34 kB / 0.9371 GB, free: 1.504 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2159, allocations: 0 / 0.9371 GB, free: 1.504 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.216, allocations: 183.4 kB / 0.9372 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.2161, allocations: 84.95 kB / 0.9373 GB, free: 1.207 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.2161, allocations: 4 kB / 0.9373 GB, free: 1.203 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.2162, allocations: 19.92 kB / 0.9373 GB, free: 1.184 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.2162, allocations: 7.984 kB / 0.9374 GB, free: 1.176 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2162, allocations: 0 / 0.9374 GB, free: 1.176 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.629e-05/0.2163, allocations: 83.28 kB / 0.9374 GB, free: 1.094 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2163, allocations: 0 / 0.9374 GB, free: 1.094 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002486/0.2165, allocations: 12 kB / 0.9374 GB, free: 1.082 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001087/0.2167, allocations: 112 kB / 0.9375 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.2168, allocations: 63.84 kB / 0.9376 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2168, allocations: 0 / 0.9376 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.2169, allocations: 23.98 kB / 0.9376 GB, free: 0.875 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.2171, allocations: 15.89 kB / 0.9376 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.2175, allocations: 184.5 kB / 0.9378 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.2177, allocations: 0.6809 MB / 0.9385 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.2178, allocations: 7.984 kB / 0.9385 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.2178, allocations: 11.44 kB / 0.9385 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of SimCode: time 3.6e-07/0.2178, allocations: 0 / 0.9385 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of Templates: time 0.002886/0.2207, allocations: 0.687 MB / 0.9392 GB, free: 15.25 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)