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.001361/0.001361, 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.0009387/0.0009387, allocations: 169 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.9689/0.9689, allocations: 177.1 MB / 204.7 MB, free: 5.117 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.993/1.993, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.663e-06/1.663e-06, allocations: 0 / 0.7754 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.691e-05, allocations: 3.609 kB / 0.7754 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00353/0.003556, allocations: 1.827 MB / 0.7772 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.005138, allocations: 0.6184 MB / 0.7778 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.005234, allocations: 4 kB / 0.7778 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.005343, allocations: 7.875 kB / 0.7778 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.005497, allocations: 41.97 kB / 0.7779 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009591/0.006456, allocations: 372.1 kB / 0.7782 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007713/0.007227, allocations: 0.6055 MB / 0.7788 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.007339, allocations: 24.75 kB / 0.7788 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006352/0.007975, allocations: 427.5 kB / 0.7792 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.008354, allocations: 142.4 kB / 0.7794 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.008461, allocations: 40 kB / 0.7794 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/0.008548, allocations: 40 kB / 0.7795 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.008682, allocations: 137.8 kB / 0.7796 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.008844, allocations: 143.7 kB / 0.7797 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.009347, allocations: 442.7 kB / 0.7801 GB, free: 464 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.009351, allocations: 0 / 0.7801 GB, free: 464 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.192e-06/0.009352, allocations: 0 / 0.7801 GB, free: 464 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.009361, allocations: 0 / 0.7801 GB, free: 464 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.001156/0.01052, allocations: 0.7712 MB / 0.7809 GB, free: 15.62 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.01056, allocations: 13.56 kB / 0.7809 GB, free: 15.61 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.01069, allocations: 52.88 kB / 0.781 GB, free: 15.55 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.01103, allocations: 244.5 kB / 0.7812 GB, free: 15.3 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.01108, allocations: 20.38 kB / 0.7812 GB, free: 15.28 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/0.01115, allocations: 29.05 kB / 0.7812 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.01161, allocations: 190.8 kB / 0.7814 GB, free: 15.06 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.01162, allocations: 192 / 0.7814 GB, free: 15.06 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.01164, allocations: 9.109 kB / 0.7814 GB, free: 15.05 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.01165, allocations: 4.375 kB / 0.7814 GB, free: 15.05 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.01177, allocations: 49.53 kB / 0.7815 GB, free: 15.01 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007876/0.01256, allocations: 320.7 kB / 0.7818 GB, free: 14.68 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.01279, allocations: 95.11 kB / 0.7819 GB, free: 14.59 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.0129, allocations: 53.39 kB / 0.7819 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.01292, allocations: 4 kB / 0.7819 GB, free: 14.53 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.01316, allocations: 156.9 kB / 0.7821 GB, free: 14.38 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.01317, allocations: 0 / 0.7821 GB, free: 14.38 MB / 0.7449 GB Notification: Performance of matching and sorting (n=16): time 0.0004636/0.01363, allocations: 199.7 kB / 0.7823 GB, free: 14.19 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.01368, allocations: 63.34 kB / 0.7823 GB, free: 14.11 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.01398, allocations: 339.4 kB / 0.7827 GB, free: 13.77 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.01403, allocations: 41.69 kB / 0.7827 GB, free: 13.72 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.0141, allocations: 110.3 kB / 0.7828 GB, free: 13.61 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.01415, allocations: 43.67 kB / 0.7828 GB, free: 13.57 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.01432, allocations: 113.4 kB / 0.783 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01442, allocations: 327.7 kB / 0.7833 GB, free: 13.12 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.01466, allocations: 163.3 kB / 0.7834 GB, free: 12.95 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.01489, allocations: 215.7 kB / 0.7836 GB, free: 12.71 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.01517, allocations: 252.1 kB / 0.7839 GB, free: 12.43 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01517, allocations: 0 / 0.7839 GB, free: 12.43 MB / 0.7449 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005535/0.01573, allocations: 451.4 kB / 0.7843 GB, free: 11.96 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/0.0158, allocations: 84.81 kB / 0.7844 GB, free: 11.87 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01581, allocations: 4 kB / 0.7844 GB, free: 11.87 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01582, allocations: 0 / 0.7844 GB, free: 11.87 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.01599, allocations: 47.89 kB / 0.7844 GB, free: 11.82 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.016, allocations: 8.609 kB / 0.7844 GB, free: 11.81 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.01626, allocations: 52.42 kB / 0.7845 GB, free: 11.76 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-05/0.01633, allocations: 48.83 kB / 0.7845 GB, free: 11.71 MB / 0.7449 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.0001543/0.01648, allocations: 144.6 kB / 0.7847 GB, free: 11.57 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.01654, allocations: 27.91 kB / 0.7847 GB, free: 11.54 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.0166, allocations: 35.73 kB / 0.7847 GB, free: 11.5 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.01661, allocations: 9.047 kB / 0.7847 GB, free: 11.5 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01661, allocations: 0 / 0.7847 GB, free: 11.5 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01661, allocations: 0 / 0.7847 GB, free: 11.5 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.01722, allocations: 396.2 kB / 0.7851 GB, free: 11.09 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01723, allocations: 0 / 0.7851 GB, free: 11.09 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.01726, allocations: 5.656 kB / 0.7851 GB, free: 11.09 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.01727, allocations: 3.984 kB / 0.7851 GB, free: 11.08 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.0173, allocations: 15.97 kB / 0.7851 GB, free: 11.07 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.0173, allocations: 0 / 0.7851 GB, free: 11.07 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.0173, allocations: 4.75 kB / 0.7851 GB, free: 11.06 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.01765, allocations: 244.3 kB / 0.7854 GB, free: 10.82 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.01789, allocations: 131.5 kB / 0.7855 GB, free: 10.69 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.01797, allocations: 16 kB / 0.7855 GB, free: 10.67 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.01823, allocations: 28.62 kB / 0.7855 GB, free: 10.64 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.01826, allocations: 12.58 kB / 0.7856 GB, free: 10.63 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/0.01833, allocations: 44.72 kB / 0.7856 GB, free: 10.59 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0001723/0.0185, allocations: 140.7 kB / 0.7857 GB, free: 10.45 MB / 0.7449 GB Notification: Performance of sort global known variables: time 1.91e-07/0.0185, allocations: 0.5312 kB / 0.7857 GB, free: 10.45 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0003406/0.01884, allocations: 71.94 kB / 0.7858 GB, free: 10.38 MB / 0.7449 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.0001802/0.01902, allocations: 110.1 kB / 0.7859 GB, free: 10.27 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.000619/0.01964, allocations: 413.4 kB / 0.7863 GB, free: 9.828 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.01965, allocations: 4.938 kB / 0.7863 GB, free: 9.824 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.01978, allocations: 67.91 kB / 0.7864 GB, free: 9.762 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.0202, allocations: 54.11 kB / 0.7864 GB, free: 9.711 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.02092, allocations: 478.6 kB / 0.7869 GB, free: 9.227 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.73e-05/0.02098, allocations: 92.36 kB / 0.787 GB, free: 9.117 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 6.507e-05/0.02104, allocations: 16.08 kB / 0.787 GB, free: 9.102 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.02127, allocations: 126.3 kB / 0.7871 GB, free: 8.984 MB / 0.7449 GB Notification: Performance of SimCode: time 1.603e-06/0.02127, allocations: 3.469 kB / 0.7871 GB, free: 8.984 MB / 0.7449 GB Notification: Performance of Templates: time 0.007051/0.02832, allocations: 5.866 MB / 0.7928 GB, free: 3.133 MB / 0.7449 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.152083114720881]