Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.61/2.61, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 186 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.394/2.394, allocations: 205.4 MB / 0.5766 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001079, allocations: 88.61 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005283/0.0005285, allocations: 8.875 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2281, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001796/0.23, allocations: 1.18 MB / 0.9 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008897/0.2309, allocations: 476.8 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.231, allocations: 0 / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.231, allocations: 0 / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.2311, allocations: 3.984 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.2313, allocations: 27.86 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.345e-05/0.2314, allocations: 31.95 kB / 0.9005 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2315, allocations: 11.98 kB / 0.9006 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.2316, allocations: 19.92 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.2317, allocations: 15.92 kB / 0.9006 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2317, allocations: 4 kB / 0.9006 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.2317, allocations: 0 / 0.9006 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.2317, allocations: 7.984 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.2318, allocations: 37.64 kB / 0.9006 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.029e-05/0.2319, allocations: 35.94 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2319, allocations: 0 / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2319, allocations: 0 / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2319, allocations: 0 / 0.9007 GB, free: 63.62 MB / 0.6042 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.0005186/0.2324, allocations: 351.5 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2325, allocations: 12.03 kB / 0.901 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.2325, allocations: 7.859 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2326, allocations: 167.1 kB / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2327, allocations: 7.984 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.2327, allocations: 8 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.2328, allocations: 57.61 kB / 0.9013 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2329, allocations: 0 / 0.9013 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2329, allocations: 0 / 0.9013 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2329, allocations: 4 kB / 0.9013 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.64e-05/0.233, allocations: 27.92 kB / 0.9013 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.2336, allocations: 320.6 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.2337, allocations: 50.56 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.2337, allocations: 0 / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.2339, allocations: 75.64 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.234, allocations: 0 / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002824/0.2343, allocations: 105.5 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.2343, allocations: 55.41 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.2344, allocations: 105.8 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2345, allocations: 29.7 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.2345, allocations: 92.06 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.2346, allocations: 23.7 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.2346, allocations: 4 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.2346, allocations: 318.8 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.2347, allocations: 15.98 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.2348, allocations: 43.42 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.2349, allocations: 20 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2349, allocations: 3.938 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000187/0.2351, allocations: 97.52 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2351, allocations: 4 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2351, allocations: 4 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2351, allocations: 3.953 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.2353, allocations: 8 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.2353, allocations: 0 / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2354, allocations: 19.92 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2354, allocations: 7.938 kB / 0.9026 GB, free: 61.39 MB / 0.6042 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 8.583e-05/0.2355, allocations: 117.9 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.2355, allocations: 4.656 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.2356, allocations: 7.969 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2356, allocations: 7.938 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2356, allocations: 3.984 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2356, allocations: 7.938 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.2361, allocations: 362.4 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2361, allocations: 0 / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.2362, allocations: 4 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2362, allocations: 3.953 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2362, allocations: 0 / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2362, allocations: 3.938 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2362, allocations: 0 / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.2364, allocations: 183.4 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.2365, allocations: 89.11 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.2365, allocations: 11.95 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2366, allocations: 7.984 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.2367, allocations: 7.984 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2367, allocations: 4 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.2368, allocations: 87.27 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2368, allocations: 0 / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003209/0.2371, allocations: 16 kB / 0.9035 GB, free: 60.38 MB / 0.6042 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.0001059/0.2372, allocations: 99.25 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.2374, allocations: 51.92 kB / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2374, allocations: 0 / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.841e-05/0.2375, allocations: 27.92 kB / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.2378, allocations: 4.375 kB / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.2382, allocations: 168.6 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.2383, allocations: 0.6887 MB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.126e-05/0.2384, allocations: 4 kB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.2385, allocations: 11.44 kB / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of SimCode: time 6.42e-07/0.2385, allocations: 0 / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.003541/0.242, allocations: 0.6541 MB / 0.9052 GB, free: 58.62 MB / 0.6042 GB