Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.4 MB / 303.6 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 174.4 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.631 GB, free: 9.863 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009797/0.0009795, allocations: 94.28 kB / 0.7444 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007064/0.0007067, allocations: 13.34 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2271, allocations: 115.3 MB / 0.9801 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.0009327/0.2281, allocations: 0.5217 MB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2297, allocations: 1.321 MB / 0.9819 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.2298, allocations: 4 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.2298, allocations: 7.922 kB / 0.982 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2299, allocations: 15.86 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.2307, allocations: 259.4 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.231, allocations: 323.4 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2311, allocations: 29.09 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.2313, allocations: 131.8 kB / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.2315, allocations: 123.6 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/0.2316, allocations: 20 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2317, allocations: 35.98 kB / 0.9829 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.2317, allocations: 51.81 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2319, allocations: 165.3 kB / 0.9831 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.2321, allocations: 235.6 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2321, allocations: 0 / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2321, allocations: 0 / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.2322, allocations: 0 / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008727/0.233, allocations: 0.5383 MB / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2331, allocations: 12.03 kB / 0.9838 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.2332, allocations: 32.73 kB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007485/0.234, allocations: 308.5 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.234, allocations: 28.59 kB / 0.9842 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.2341, allocations: 36.36 kB / 0.9842 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.2345, allocations: 261.3 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2345, allocations: 4 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.2346, allocations: 7.984 kB / 0.9845 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2346, allocations: 4 kB / 0.9845 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.2348, allocations: 128.6 kB / 0.9846 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.2356, allocations: 0.6055 MB / 0.9852 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.236, allocations: 411.5 kB / 0.9856 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.2363, allocations: 184.8 kB / 0.9858 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2363, allocations: 4 kB / 0.9858 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/0.2368, allocations: 362.8 kB / 0.9861 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.2368, allocations: 0 / 0.9861 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0008533/0.2377, allocations: 0.6573 MB / 0.9868 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2377, allocations: 67.34 kB / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.2378, allocations: 159.2 kB / 0.987 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.2379, allocations: 45.7 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.2379, allocations: 109 kB / 0.9871 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.238, allocations: 102.7 kB / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.238, allocations: 16 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.2381, allocations: 338.8 kB / 0.9876 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.2383, allocations: 141.1 kB / 0.9877 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.2386, allocations: 297.8 kB / 0.988 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.239, allocations: 463 kB / 0.9884 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.239, allocations: 3.938 kB / 0.9884 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007156/0.2398, allocations: 0.5574 MB / 0.989 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.2398, allocations: 71.39 kB / 0.989 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2398, allocations: 4 kB / 0.989 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.2399, allocations: 8 kB / 0.989 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.24, allocations: 40.45 kB / 0.9891 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.24, allocations: 15.92 kB / 0.9891 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.2405, allocations: 115.5 kB / 0.9892 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.2405, allocations: 31.98 kB / 0.9892 GB, free: 17.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition12,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y,con.y,$whenCondition4,noThr.reset,$whenCondition8,thrTim.reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0001411/0.2407, allocations: 180.4 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.2407, allocations: 31.8 kB / 0.9894 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.2408, allocations: 30.25 kB / 0.9895 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2408, allocations: 7.984 kB / 0.9895 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2408, allocations: 3.938 kB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2408, allocations: 0 / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.2419, allocations: 1.007 MB / 0.9905 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2419, allocations: 0 / 0.9905 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.242, allocations: 12 kB / 0.9905 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.242, allocations: 4 kB / 0.9905 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.242, allocations: 15.97 kB / 0.9905 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.242, allocations: 8 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.242, allocations: 7.922 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.2426, allocations: 0.6242 MB / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.2427, allocations: 100.8 kB / 0.9912 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2428, allocations: 23.98 kB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.243, allocations: 27.97 kB / 0.9913 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.2431, allocations: 43.92 kB / 0.9913 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.2431, allocations: 35.97 kB / 0.9913 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.2431, allocations: 101.1 kB / 0.9914 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2432, allocations: 0 / 0.9914 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003775/0.2435, allocations: 104 kB / 0.9915 GB, free: 15.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001851/0.2437, allocations: 141.8 kB / 0.9917 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006699/0.2444, allocations: 0.5413 MB / 0.9922 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2444, allocations: 0 / 0.9922 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.2447, allocations: 304 kB / 0.9925 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2451, allocations: 53 kB / 0.9925 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.2458, allocations: 489.4 kB / 0.993 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.2459, allocations: 0.7332 MB / 0.9937 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.949e-05/0.246, allocations: 38.97 kB / 0.9938 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.2461, allocations: 27.42 kB / 0.9938 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2461, allocations: 0 / 0.9938 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.006842/0.2529, allocations: 3.762 MB / 0.9975 GB, free: 8.973 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)