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.00147/0.00147, 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.001039/0.001039, allocations: 175.5 kB / 25.18 MB, free: 8.84 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.8814/0.8814, allocations: 177.2 MB / 205.6 MB, free: 4.344 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.018/2.018, allocations: 389.6 MB / 0.6364 GB, free: 13.29 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.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.475e-06/2.475e-06, allocations: 0 / 0.7756 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.807e-05, allocations: 5.688 kB / 0.7756 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002424/0.002453, allocations: 1.801 MB / 0.7774 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003509, allocations: 0.628 MB / 0.778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.003583, allocations: 4 kB / 0.778 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.003687, allocations: 11.86 kB / 0.778 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.003811, allocations: 39.72 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006475/0.004459, allocations: 379.2 kB / 0.7784 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004585/0.004917, allocations: 0.6048 MB / 0.779 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.005005, allocations: 21.95 kB / 0.779 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.005408, allocations: 427.5 kB / 0.7794 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.005623, allocations: 139.7 kB / 0.7796 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.00569, allocations: 40 kB / 0.7796 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.005749, allocations: 40 kB / 0.7796 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.005851, allocations: 131.6 kB / 0.7798 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.005972, allocations: 147.7 kB / 0.7799 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.006314, allocations: 438.7 kB / 0.7803 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.006317, allocations: 0 / 0.7803 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/0.006319, allocations: 4 kB / 0.7803 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.006324, allocations: 0 / 0.7803 GB, free: 9.664 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.001103/0.007426, allocations: 0.7739 MB / 0.7811 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.00746, allocations: 16.02 kB / 0.7811 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.00754, allocations: 48.88 kB / 0.7811 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.007791, allocations: 240 kB / 0.7814 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.007825, allocations: 20.36 kB / 0.7814 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.007874, allocations: 32.36 kB / 0.7814 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.008192, allocations: 190.7 kB / 0.7816 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.008201, allocations: 4.188 kB / 0.7816 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.008216, allocations: 4.375 kB / 0.7816 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.00822, allocations: 384 / 0.7816 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.008292, allocations: 47.91 kB / 0.7817 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.008836, allocations: 327.9 kB / 0.782 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.008991, allocations: 86.55 kB / 0.7821 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.675e-05/0.009058, allocations: 44.84 kB / 0.7821 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.009075, allocations: 8 kB / 0.7821 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.00924, allocations: 159.2 kB / 0.7823 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.009242, allocations: 0 / 0.7823 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003052/0.009547, allocations: 201.5 kB / 0.7824 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.009585, allocations: 63.39 kB / 0.7825 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.009783, allocations: 339.3 kB / 0.7828 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.009817, allocations: 49.62 kB / 0.7829 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.009868, allocations: 101.4 kB / 0.783 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.009897, allocations: 43.72 kB / 0.783 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.01001, allocations: 113.4 kB / 0.7831 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.0101, allocations: 322.8 kB / 0.7834 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.01025, allocations: 163.3 kB / 0.7836 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.0104, allocations: 209.3 kB / 0.7838 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.0106, allocations: 264.4 kB / 0.784 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.0106, allocations: 4 kB / 0.784 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003616/0.01096, allocations: 451.9 kB / 0.7845 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/0.01102, allocations: 87.56 kB / 0.7846 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01103, allocations: 8 kB / 0.7846 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.01104, allocations: 0 / 0.7846 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.01115, allocations: 39.91 kB / 0.7846 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01116, allocations: 4 kB / 0.7846 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.01131, allocations: 39.92 kB / 0.7846 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.01136, allocations: 51.97 kB / 0.7847 GB, free: 4.875 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.0001193/0.01148, allocations: 139.2 kB / 0.7848 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.01152, allocations: 39.89 kB / 0.7849 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.01156, allocations: 31.73 kB / 0.7849 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01157, allocations: 0 / 0.7849 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01157, allocations: 4 kB / 0.7849 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01158, allocations: 4 kB / 0.7849 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.01201, allocations: 398.4 kB / 0.7853 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01201, allocations: 0 / 0.7853 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.01203, allocations: 11.92 kB / 0.7853 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01204, allocations: 4 kB / 0.7853 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.01206, allocations: 15.97 kB / 0.7853 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01206, allocations: 0 / 0.7853 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01206, allocations: 0 / 0.7853 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.01227, allocations: 247.7 kB / 0.7856 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.01242, allocations: 127.6 kB / 0.7857 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.01247, allocations: 19.98 kB / 0.7857 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.01263, allocations: 31.97 kB / 0.7857 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.01266, allocations: 11.98 kB / 0.7857 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.0127, allocations: 39.98 kB / 0.7858 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000101/0.0128, allocations: 148.7 kB / 0.7859 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.0128, allocations: 0 / 0.7859 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002052/0.013, allocations: 71.94 kB / 0.786 GB, free: 3.508 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.0001268/0.01313, allocations: 108.3 kB / 0.7861 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.01354, allocations: 418.7 kB / 0.7865 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.01355, allocations: 4 kB / 0.7865 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.01364, allocations: 63.83 kB / 0.7866 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.01386, allocations: 65.09 kB / 0.7866 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.01443, allocations: 0.5132 MB / 0.7871 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.01456, allocations: 175 kB / 0.7873 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.01473, allocations: 123.3 kB / 0.7874 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01473, allocations: 0 / 0.7874 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of Templates: time 0.00425/0.01898, allocations: 3.728 MB / 0.791 GB, free: 14.16 MB / 0.7605 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 > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.04387342184782]