Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001014/0.001014, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.0009987/0.0009987, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.9967/0.9967, allocations: 177.2 MB / 204.7 MB, free: 5.449 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 2.003/2.003, allocations: 389.6 MB / 0.6355 GB, free: 12.26 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7754 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.664e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002461/0.002478, allocations: 1.822 MB / 0.7772 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.003583, allocations: 0.6287 MB / 0.7778 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.003663, allocations: 0 / 0.7778 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.003763, allocations: 12.62 kB / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.003885, allocations: 39.33 kB / 0.7779 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.00493, allocations: 370.2 kB / 0.7782 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.005485, allocations: 0.6087 MB / 0.7788 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.005579, allocations: 21.94 kB / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004063/0.005985, allocations: 432 kB / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.006201, allocations: 137.4 kB / 0.7794 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.006263, allocations: 40 kB / 0.7794 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.712e-05/0.006321, allocations: 40 kB / 0.7795 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.006418, allocations: 135.6 kB / 0.7796 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.006527, allocations: 147.7 kB / 0.7797 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.00683, allocations: 438.7 kB / 0.7801 GB, free: 424 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006832, allocations: 2.906 kB / 0.7801 GB, free: 424 kB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.006832, allocations: 0 / 0.7801 GB, free: 424 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.006837, allocations: 0 / 0.7801 GB, free: 424 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.0007856/0.007623, allocations: 0.7738 MB / 0.7809 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.007653, allocations: 12.75 kB / 0.7809 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.007733, allocations: 54.53 kB / 0.781 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.007971, allocations: 239.9 kB / 0.7812 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.008005, allocations: 24.36 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.008048, allocations: 28.36 kB / 0.7812 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.008362, allocations: 191.4 kB / 0.7814 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.00837, allocations: 0.6875 kB / 0.7814 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.008388, allocations: 9.141 kB / 0.7814 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.008395, allocations: 4.375 kB / 0.7814 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.008476, allocations: 46.89 kB / 0.7815 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.009008, allocations: 325.5 kB / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.009156, allocations: 86.8 kB / 0.7819 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.009226, allocations: 46.44 kB / 0.7819 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.009241, allocations: 7.984 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.009398, allocations: 156 kB / 0.7821 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.525e-06/0.009401, allocations: 1.031 kB / 0.7821 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003118/0.009713, allocations: 198.8 kB / 0.7823 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.009747, allocations: 67.33 kB / 0.7823 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.009944, allocations: 341.4 kB / 0.7827 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.009978, allocations: 41.69 kB / 0.7827 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.01003, allocations: 105.4 kB / 0.7828 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.01006, allocations: 47.66 kB / 0.7828 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.01017, allocations: 113.4 kB / 0.783 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.01024, allocations: 323.4 kB / 0.7833 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.01039, allocations: 163.9 kB / 0.7834 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.01054, allocations: 217.3 kB / 0.7836 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.01086, allocations: 255.9 kB / 0.7839 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01086, allocations: 0 / 0.7839 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000344/0.0112, allocations: 451.2 kB / 0.7843 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.01125, allocations: 92.09 kB / 0.7844 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.01126, allocations: 4 kB / 0.7844 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.01127, allocations: 5 kB / 0.7844 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.01137, allocations: 39.91 kB / 0.7844 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01138, allocations: 12.56 kB / 0.7844 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.01154, allocations: 44.86 kB / 0.7845 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.01159, allocations: 47.98 kB / 0.7845 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.0001179/0.0117, allocations: 144.1 kB / 0.7847 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.01174, allocations: 28.84 kB / 0.7847 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.01178, allocations: 35.73 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01178, allocations: 5 kB / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.01178, allocations: 0 / 0.7847 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01179, allocations: 3.984 kB / 0.7847 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.01229, allocations: 395.8 kB / 0.7851 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01229, allocations: 0 / 0.7851 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.01231, allocations: 4 kB / 0.7851 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01232, allocations: 1.719 kB / 0.7851 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.01234, allocations: 15.97 kB / 0.7851 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01234, allocations: 0 / 0.7851 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01234, allocations: 0 / 0.7851 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.01256, allocations: 245.2 kB / 0.7854 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.0127, allocations: 131.5 kB / 0.7855 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.01275, allocations: 20.56 kB / 0.7855 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.01292, allocations: 29.72 kB / 0.7856 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.01294, allocations: 7.984 kB / 0.7856 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.01298, allocations: 48.97 kB / 0.7856 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.621e-05/0.01307, allocations: 144.7 kB / 0.7857 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01307, allocations: 0 / 0.7857 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002039/0.01328, allocations: 73.03 kB / 0.7858 GB, free: 10.34 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 0.0001081/0.01338, allocations: 109.9 kB / 0.7859 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.01378, allocations: 412.5 kB / 0.7863 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.01378, allocations: 4.562 kB / 0.7863 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.01387, allocations: 64.48 kB / 0.7864 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01407, allocations: 56.8 kB / 0.7864 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.01458, allocations: 484.1 kB / 0.7869 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.01462, allocations: 91.8 kB / 0.787 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.202e-05/0.01467, allocations: 15.77 kB / 0.787 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.01484, allocations: 123.2 kB / 0.7871 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01484, allocations: 0 / 0.7871 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.006994/0.02183, allocations: 5.879 MB / 0.7929 GB, free: 3.066 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.218266372568905]