Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001412/0.001412, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001031/0.001031, allocations: 166.3 kB / 25.18 MB, free: 8.328 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.9/0.9, allocations: 177.2 MB / 205.6 MB, free: 4.363 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.948/1.948, allocations: 389.6 MB / 0.6364 GB, free: 13.22 MB / 0.6042 GB " [Timeout remaining time 178] 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7756 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.643e-05, allocations: 6.109 kB / 0.7756 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001988/0.002005, allocations: 1.821 MB / 0.7774 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.00298, allocations: 0.6125 MB / 0.778 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.003043, allocations: 4 kB / 0.778 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.003146, allocations: 19.8 kB / 0.778 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.003261, allocations: 31.78 kB / 0.7781 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.003815, allocations: 379.2 kB / 0.7784 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.004228, allocations: 0.6009 MB / 0.779 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.73e-05/0.004306, allocations: 21.94 kB / 0.779 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.004655, allocations: 431.5 kB / 0.7794 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.004842, allocations: 143.7 kB / 0.7796 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.004901, allocations: 40 kB / 0.7796 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/0.004961, allocations: 44 kB / 0.7797 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.005063, allocations: 135.6 kB / 0.7798 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.005172, allocations: 143.7 kB / 0.7799 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.005471, allocations: 430.8 kB / 0.7803 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005472, allocations: 0 / 0.7803 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005473, allocations: 0 / 0.7803 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.005478, allocations: 0 / 0.7803 GB, free: 9.602 MB / 0.7448 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.0007587/0.006237, allocations: 0.7777 MB / 0.7811 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.006268, allocations: 16.03 kB / 0.7811 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.006341, allocations: 52.88 kB / 0.7812 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.006572, allocations: 240 kB / 0.7814 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.006607, allocations: 20.36 kB / 0.7814 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.006654, allocations: 32.36 kB / 0.7814 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.006992, allocations: 198.6 kB / 0.7816 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.007, allocations: 192 / 0.7816 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.007019, allocations: 8.359 kB / 0.7816 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.007024, allocations: 4.375 kB / 0.7816 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.007097, allocations: 39.92 kB / 0.7817 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.00764, allocations: 328 kB / 0.782 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.007789, allocations: 94.48 kB / 0.7821 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/0.007856, allocations: 40.84 kB / 0.7821 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.007871, allocations: 4 kB / 0.7821 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.008037, allocations: 163.2 kB / 0.7823 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.008039, allocations: 0 / 0.7823 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003146/0.008354, allocations: 201.5 kB / 0.7825 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.008387, allocations: 63.39 kB / 0.7825 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.008583, allocations: 335.3 kB / 0.7829 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.008616, allocations: 41.69 kB / 0.7829 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.008667, allocations: 105.4 kB / 0.783 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.008697, allocations: 47.66 kB / 0.783 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.008831, allocations: 117.4 kB / 0.7831 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.008905, allocations: 322.8 kB / 0.7835 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.009052, allocations: 159.3 kB / 0.7836 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.009203, allocations: 217.2 kB / 0.7838 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.009417, allocations: 252.8 kB / 0.7841 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.009419, allocations: 4 kB / 0.7841 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003406/0.009759, allocations: 451.9 kB / 0.7845 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.009811, allocations: 87.38 kB / 0.7846 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.009816, allocations: 4 kB / 0.7846 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.009824, allocations: 4 kB / 0.7846 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.009932, allocations: 39.91 kB / 0.7846 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.009937, allocations: 4 kB / 0.7846 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.01009, allocations: 40.11 kB / 0.7847 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.01013, allocations: 55.97 kB / 0.7847 GB, free: 4.801 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.0001115/0.01025, allocations: 147.2 kB / 0.7849 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.01028, allocations: 27.91 kB / 0.7849 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.01032, allocations: 35.73 kB / 0.7849 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01032, allocations: 4 kB / 0.7849 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01032, allocations: 0 / 0.7849 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01033, allocations: 3.984 kB / 0.7849 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.01072, allocations: 398 kB / 0.7853 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01072, allocations: 0 / 0.7853 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.01074, allocations: 15.92 kB / 0.7853 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01075, allocations: 0 / 0.7853 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.01077, allocations: 11.97 kB / 0.7853 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01077, allocations: 0 / 0.7853 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01077, allocations: 0 / 0.7853 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.01098, allocations: 251.8 kB / 0.7856 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.01118, allocations: 123.6 kB / 0.7857 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.01123, allocations: 19.98 kB / 0.7857 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.01139, allocations: 31.97 kB / 0.7857 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.01142, allocations: 7.984 kB / 0.7857 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.01146, allocations: 47.97 kB / 0.7858 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.474e-05/0.01155, allocations: 140.7 kB / 0.7859 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01155, allocations: 7.938 kB / 0.7859 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001855/0.01174, allocations: 75.94 kB / 0.786 GB, free: 3.43 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 9.409e-05/0.01183, allocations: 108.3 kB / 0.7861 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.01221, allocations: 414.7 kB / 0.7865 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.01221, allocations: 4 kB / 0.7865 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.01229, allocations: 64.42 kB / 0.7866 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.0125, allocations: 53.48 kB / 0.7866 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.01302, allocations: 0.5171 MB / 0.7871 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.01313, allocations: 179 kB / 0.7873 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.01329, allocations: 123.3 kB / 0.7874 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01329, allocations: 0 / 0.7874 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.003696/0.01699, allocations: 3.721 MB / 0.791 GB, free: 14.09 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.755301238037646]