Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01302/0.01303, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001794/0.001794, allocations: 173.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.422/2.422, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.578/2.578, allocations: 252.8 MB / 0.511 GB, free: 8.277 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 13.94 kB / 0.6243 GB, free: 21.12 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2719, allocations: 106.2 MB / 0.728 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002017/0.2739, allocations: 1.18 MB / 0.7292 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.2749, allocations: 472.8 kB / 0.7297 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.275, allocations: 0 / 0.7297 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.275, allocations: 3.938 kB / 0.7297 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.2751, allocations: 3.984 kB / 0.7297 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.2753, allocations: 23.86 kB / 0.7297 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.329e-05/0.2754, allocations: 35.89 kB / 0.7297 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.2755, allocations: 12 kB / 0.7297 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.481e-05/0.2755, allocations: 15.98 kB / 0.7297 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.2756, allocations: 15.91 kB / 0.7298 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.2756, allocations: 4 kB / 0.7298 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.2757, allocations: 0 / 0.7298 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.2757, allocations: 15.92 kB / 0.7298 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.2757, allocations: 33.7 kB / 0.7298 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 7.311e-05/0.2758, allocations: 23.95 kB / 0.7298 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.2758, allocations: 0 / 0.7298 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2758, allocations: 0 / 0.7298 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.2759, allocations: 4 kB / 0.7298 GB, free: 6.254 MB / 0.5573 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.0005778/0.2764, allocations: 359.5 kB / 0.7302 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2765, allocations: 8.031 kB / 0.7302 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.2766, allocations: 30.56 kB / 0.7302 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2766, allocations: 11.89 kB / 0.7302 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.2768, allocations: 175 kB / 0.7304 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2768, allocations: 8 kB / 0.7304 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.2768, allocations: 4 kB / 0.7304 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.277, allocations: 57.67 kB / 0.7305 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.277, allocations: 0 / 0.7305 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.277, allocations: 0 / 0.7305 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.277, allocations: 0 / 0.7305 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.2771, allocations: 31.88 kB / 0.7305 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.2778, allocations: 304.8 kB / 0.7308 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.2779, allocations: 58.59 kB / 0.7308 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.278, allocations: 0 / 0.7308 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.2782, allocations: 75.55 kB / 0.7309 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.2782, allocations: 4 kB / 0.7309 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0003086/0.2785, allocations: 109.5 kB / 0.731 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.2786, allocations: 51.41 kB / 0.7311 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.2787, allocations: 113.7 kB / 0.7312 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.2787, allocations: 29.7 kB / 0.7312 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.2788, allocations: 88.05 kB / 0.7313 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.2788, allocations: 19.75 kB / 0.7313 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.2789, allocations: 0 / 0.7313 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.279, allocations: 322.8 kB / 0.7316 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.2791, allocations: 12 kB / 0.7316 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.2792, allocations: 47.42 kB / 0.7317 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.854e-05/0.2792, allocations: 19.98 kB / 0.7317 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2793, allocations: 0 / 0.7317 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002198/0.2795, allocations: 97.53 kB / 0.7318 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2795, allocations: 7.969 kB / 0.7318 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2795, allocations: 7.953 kB / 0.7318 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.2796, allocations: 4 kB / 0.7318 GB, free: 4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.2797, allocations: 15.98 kB / 0.7318 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2797, allocations: 0 / 0.7318 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.2798, allocations: 8 kB / 0.7318 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.2798, allocations: 0 / 0.7318 GB, free: 3.977 MB / 0.5573 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.0001086/0.2799, allocations: 125.8 kB / 0.7319 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.28, allocations: 8.188 kB / 0.732 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.28, allocations: 11.97 kB / 0.732 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.28, allocations: 7.938 kB / 0.732 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.28, allocations: 0 / 0.732 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.28, allocations: 0 / 0.732 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.2806, allocations: 358.5 kB / 0.7323 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2806, allocations: 0 / 0.7323 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.2807, allocations: 12.45 kB / 0.7323 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2807, allocations: 3.953 kB / 0.7323 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2807, allocations: 4 kB / 0.7323 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2807, allocations: 0 / 0.7323 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2807, allocations: 3.938 kB / 0.7323 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.281, allocations: 187.3 kB / 0.7325 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.2811, allocations: 81.05 kB / 0.7326 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2811, allocations: 3.953 kB / 0.7326 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2812, allocations: 15.98 kB / 0.7326 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.2813, allocations: 11.98 kB / 0.7326 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.2813, allocations: 0 / 0.7326 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.2814, allocations: 79.28 kB / 0.7327 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2814, allocations: 0 / 0.7327 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003183/0.2817, allocations: 16 kB / 0.7327 GB, free: 2.965 MB / 0.5573 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.0005491/0.2823, allocations: 0.7201 MB / 0.7334 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.2825, allocations: 55.91 kB / 0.7335 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2825, allocations: 0 / 0.7335 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.2826, allocations: 20 kB / 0.7335 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2828, allocations: 15.94 kB / 0.7335 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2841, allocations: 0.9418 MB / 0.7344 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.2845, allocations: 0.6964 MB / 0.7351 GB, free: 420 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.145e-05/0.2845, allocations: 7.953 kB / 0.7351 GB, free: 412 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.2846, allocations: 15.44 kB / 0.7351 GB, free: 396 kB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.2846, allocations: 0 / 0.7351 GB, free: 396 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05683/0.3414, allocations: 1.467 MB / 0.7366 GB, free: 15.03 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/0.3418, allocations: 189.1 kB / 0.7367 GB, free: 14.78 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/2.985, allocations: 0 / 0.7367 GB, free: 14.78 MB / 0.573 GB