Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.551/1.551, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001417, allocations: 176.8 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205 MB / 0.5766 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008848/0.000885, allocations: 92.8 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003677, allocations: 13.31 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001714/0.231, allocations: 1.468 MB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006508/0.2317, allocations: 384.5 kB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2318, allocations: 0 / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.232, allocations: 19.8 kB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.2321, allocations: 19.83 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.2323, allocations: 91.84 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.2325, allocations: 235.3 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2327, allocations: 69.59 kB / 0.899 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.2328, allocations: 75.7 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.656e-05/0.2329, allocations: 87.58 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.2329, allocations: 8 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.524e-05/0.233, allocations: 12 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.233, allocations: 39.83 kB / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.234e-05/0.2331, allocations: 103.6 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2332, allocations: 147.6 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2333, allocations: 0 / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2333, allocations: 0 / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2333, allocations: 0 / 0.8994 GB, free: 65.41 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006809/0.234, allocations: 493.7 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.234, allocations: 8.031 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.2341, allocations: 36.67 kB / 0.8999 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.2345, allocations: 268.4 kB / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.2345, allocations: 24.69 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.2345, allocations: 20.38 kB / 0.9002 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.2348, allocations: 185.3 kB / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2349, allocations: 3.938 kB / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2349, allocations: 11.98 kB / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2349, allocations: 4 kB / 0.9004 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.2351, allocations: 120.1 kB / 0.9005 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.2359, allocations: 0.5235 MB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.2361, allocations: 210.4 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2362, allocations: 100.8 kB / 0.9014 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.2363, allocations: 3.938 kB / 0.9014 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/0.2366, allocations: 263.2 kB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 2.024e-06/0.2366, allocations: 0 / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0005731/0.2372, allocations: 426.2 kB / 0.902 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.2372, allocations: 67.33 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.2373, allocations: 151.6 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.2374, allocations: 41.7 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.2374, allocations: 112.9 kB / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.2375, allocations: 94.88 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.2375, allocations: 57.69 kB / 0.9025 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.2376, allocations: 334.8 kB / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.2377, allocations: 93.08 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.2379, allocations: 150.3 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.2381, allocations: 219.2 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2381, allocations: 0 / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003692/0.2385, allocations: 331.6 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2385, allocations: 15.88 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2385, allocations: 4.125 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2386, allocations: 4 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.2387, allocations: 43.86 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2387, allocations: 4 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2389, allocations: 35.83 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2389, allocations: 8 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 (resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul.pulseStart,$PRE.booPul.pulseStart,pre.u,$PRE.pre.u,booPul1.pulseStart,$PRE.booPul1.pulseStart,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.yAcc,$PRE.accuTimer.yAcc,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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 0.0001079/0.239, allocations: 167.3 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.2391, allocations: 27.73 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.2391, allocations: 25.97 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2391, allocations: 4 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2391, allocations: 0 / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2391, allocations: 0 / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.2399, allocations: 0.7517 MB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2399, allocations: 0 / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.24, allocations: 15.98 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.24, allocations: 0 / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.24, allocations: 11.98 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.24, allocations: 0 / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.24, allocations: 0 / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.2404, allocations: 455.2 kB / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.2405, allocations: 92.86 kB / 0.9052 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.2405, allocations: 15.98 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.2407, allocations: 23.98 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.2407, allocations: 35.94 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.2408, allocations: 19.98 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.2408, allocations: 113.2 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2408, allocations: 4 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002818/0.2411, allocations: 71.91 kB / 0.9055 GB, free: 58.85 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: 34 (booPul2.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer2.reset_internal,accuTimer1.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001299/0.2412, allocations: 125.8 kB / 0.9056 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003583/0.2416, allocations: 278.3 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2416, allocations: 0 / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2418, allocations: 156 kB / 0.906 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.2421, allocations: 43.91 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.2428, allocations: 484.4 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.2429, allocations: 0.7416 MB / 0.9072 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.243, allocations: 23.44 kB / 0.9073 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.243, allocations: 0 / 0.9073 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.004206/0.2472, allocations: 2.953 MB / 0.9101 GB, free: 54.02 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)