Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009807/0.0009807, allocations: 85.45 kB / 21.62 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 172.9 kB / 25.05 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9381/0.9381, allocations: 177.1 MB / 205.5 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.954/1.954, allocations: 389.6 MB / 0.6363 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.984 kB / 0.7762 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.458e-05, allocations: 6.312 kB / 0.7762 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.001966/0.00198, allocations: 1.824 MB / 0.778 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002981, allocations: 0.619 MB / 0.7786 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.003036, allocations: 0 / 0.7786 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.809e-05/0.003134, allocations: 9.5 kB / 0.7786 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.003248, allocations: 42.84 kB / 0.7786 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.003782, allocations: 370.1 kB / 0.779 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00044/0.004222, allocations: 0.6093 MB / 0.7796 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.004297, allocations: 21.89 kB / 0.7796 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.004644, allocations: 429.2 kB / 0.78 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.004836, allocations: 140.2 kB / 0.7801 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.004895, allocations: 40 kB / 0.7802 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.00495, allocations: 40 kB / 0.7802 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.005036, allocations: 131.6 kB / 0.7803 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.005145, allocations: 151.7 kB / 0.7805 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.005434, allocations: 437.5 kB / 0.7809 GB, free: 460 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005436, allocations: 4 kB / 0.7809 GB, free: 456 kB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005437, allocations: 0 / 0.7809 GB, free: 456 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.005441, allocations: 0 / 0.7809 GB, free: 456 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007565/0.006197, allocations: 0.7778 MB / 0.7817 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.006226, allocations: 12.06 kB / 0.7817 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.006302, allocations: 56.88 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.00652, allocations: 239.9 kB / 0.782 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.006552, allocations: 24.36 kB / 0.782 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.006597, allocations: 28.36 kB / 0.782 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.00689, allocations: 191 kB / 0.7822 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.006898, allocations: 5.094 kB / 0.7822 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.006916, allocations: 8.359 kB / 0.7822 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.00692, allocations: 384 / 0.7822 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.006998, allocations: 55.83 kB / 0.7823 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.007506, allocations: 321 kB / 0.7826 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.007659, allocations: 90.39 kB / 0.7826 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.007733, allocations: 46.2 kB / 0.7827 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.007749, allocations: 11.94 kB / 0.7827 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.007907, allocations: 153.9 kB / 0.7828 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.007908, allocations: 0 / 0.7828 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000306/0.008214, allocations: 202 kB / 0.783 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.008248, allocations: 68.17 kB / 0.7831 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.008433, allocations: 339.4 kB / 0.7834 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.008465, allocations: 46.34 kB / 0.7835 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.008513, allocations: 109.3 kB / 0.7836 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.008541, allocations: 44.31 kB / 0.7836 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.008648, allocations: 122.1 kB / 0.7837 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.008719, allocations: 318.8 kB / 0.784 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.008863, allocations: 169.2 kB / 0.7842 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.009016, allocations: 213.3 kB / 0.7844 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.009192, allocations: 259.3 kB / 0.7847 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.009194, allocations: 4 kB / 0.7847 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003396/0.009534, allocations: 458.8 kB / 0.7851 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.009583, allocations: 89.28 kB / 0.7852 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.009587, allocations: 4 kB / 0.7852 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.009598, allocations: 4 kB / 0.7852 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.009694, allocations: 39.91 kB / 0.7852 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.009699, allocations: 4 kB / 0.7852 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.009852, allocations: 53.39 kB / 0.7853 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.009895, allocations: 47.98 kB / 0.7853 GB, free: 11.67 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001064/0.01, allocations: 144 kB / 0.7855 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.01004, allocations: 29.59 kB / 0.7855 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.01007, allocations: 39.72 kB / 0.7855 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01007, allocations: 4 kB / 0.7855 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01008, allocations: 0 / 0.7855 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01008, allocations: 0 / 0.7855 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.01045, allocations: 399.6 kB / 0.7859 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01045, allocations: 5.438 kB / 0.7859 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.01047, allocations: 7.984 kB / 0.7859 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01047, allocations: 0 / 0.7859 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.01049, allocations: 11.98 kB / 0.7859 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01049, allocations: 1.031 kB / 0.7859 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01049, allocations: 0 / 0.7859 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.01069, allocations: 241.2 kB / 0.7862 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.01082, allocations: 127.5 kB / 0.7863 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.01086, allocations: 20.78 kB / 0.7863 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.01102, allocations: 32.97 kB / 0.7863 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.01104, allocations: 13.06 kB / 0.7864 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.01108, allocations: 47.97 kB / 0.7864 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.347e-05/0.01118, allocations: 152.6 kB / 0.7865 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01118, allocations: 1.156 kB / 0.7865 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001817/0.01136, allocations: 67.95 kB / 0.7866 GB, free: 10.32 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 8.992e-05/0.01145, allocations: 109.6 kB / 0.7867 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.01182, allocations: 418.7 kB / 0.7871 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.01182, allocations: 4 kB / 0.7871 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.01191, allocations: 63.61 kB / 0.7872 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.01209, allocations: 59.09 kB / 0.7872 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.01255, allocations: 489.8 kB / 0.7877 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.0126, allocations: 83.81 kB / 0.7878 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.01263, allocations: 17.48 kB / 0.7878 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.01279, allocations: 131.1 kB / 0.7879 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.01279, allocations: 0.5625 kB / 0.7879 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.006168/0.01896, allocations: 5.864 MB / 0.7937 GB, free: 3.047 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.978964691981673]