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.0007744/0.0007744, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.0008795/0.0008795, allocations: 162.3 kB / 24.96 MB, free: 8.766 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.9774/0.9774, allocations: 177.1 MB / 205.4 MB, free: 5.488 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.896/1.896, allocations: 389.6 MB / 0.6361 GB, free: 12.32 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.323e-06/1.323e-06, allocations: 0 / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.609e-05, allocations: 2.969 kB / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002116/0.002132, allocations: 1.835 MB / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.003134, allocations: 0.623 MB / 0.7784 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.003213, allocations: 4 kB / 0.7784 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.673e-05/0.00331, allocations: 8.859 kB / 0.7784 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003422, allocations: 34.08 kB / 0.7785 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.004065, allocations: 373.8 kB / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.004541, allocations: 0.6075 MB / 0.7794 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.004623, allocations: 26.56 kB / 0.7794 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.00499, allocations: 428.3 kB / 0.7799 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.005206, allocations: 143.4 kB / 0.78 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.005256, allocations: 45.03 kB / 0.78 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.005301, allocations: 40 kB / 0.7801 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.005389, allocations: 127.7 kB / 0.7802 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.00549, allocations: 149.1 kB / 0.7803 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.005781, allocations: 434.8 kB / 0.7807 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.005783, allocations: 3.984 kB / 0.7808 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.005784, allocations: 0 / 0.7808 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.005788, allocations: 0.75 kB / 0.7808 GB, free: 0.5508 MB / 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.0007384/0.006526, allocations: 0.7754 MB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.006556, allocations: 12.75 kB / 0.7815 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.006631, allocations: 52.86 kB / 0.7816 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.006848, allocations: 244.6 kB / 0.7818 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.00688, allocations: 21.67 kB / 0.7818 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.00692, allocations: 32.38 kB / 0.7819 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.007227, allocations: 195.2 kB / 0.782 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.007234, allocations: 192 / 0.782 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.007249, allocations: 384 / 0.782 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.007256, allocations: 4.375 kB / 0.782 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.007329, allocations: 52.55 kB / 0.7821 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.007832, allocations: 329.6 kB / 0.7824 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.007981, allocations: 99.75 kB / 0.7825 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.008045, allocations: 48.5 kB / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.008059, allocations: 0 / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.008204, allocations: 156.8 kB / 0.7827 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.008205, allocations: 0 / 0.7827 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002991/0.008504, allocations: 207.5 kB / 0.7829 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.008534, allocations: 64.03 kB / 0.783 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.008724, allocations: 343.4 kB / 0.7833 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.008757, allocations: 39.67 kB / 0.7833 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.009116, allocations: 97.39 kB / 0.7834 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.009148, allocations: 47.66 kB / 0.7835 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.009253, allocations: 117.4 kB / 0.7836 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.722e-05/0.00932, allocations: 322.8 kB / 0.7839 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.009459, allocations: 168.4 kB / 0.784 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.009602, allocations: 217.3 kB / 0.7843 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.009777, allocations: 254.2 kB / 0.7845 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.00978, allocations: 4 kB / 0.7845 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003575/0.01014, allocations: 457.5 kB / 0.7849 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.01019, allocations: 87.38 kB / 0.785 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01019, allocations: 4.906 kB / 0.785 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.01021, allocations: 0 / 0.785 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01031, allocations: 36.56 kB / 0.7851 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01031, allocations: 7.938 kB / 0.7851 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.01046, allocations: 48.86 kB / 0.7851 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.01051, allocations: 52.89 kB / 0.7852 GB, free: 11.79 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.0001113/0.01062, allocations: 140.3 kB / 0.7853 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.01066, allocations: 31.91 kB / 0.7853 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.0107, allocations: 41.44 kB / 0.7854 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.0107, allocations: 0 / 0.7854 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.0107, allocations: 3.938 kB / 0.7854 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01071, allocations: 3.984 kB / 0.7854 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.01109, allocations: 399.1 kB / 0.7858 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01109, allocations: 0 / 0.7858 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.01111, allocations: 13.08 kB / 0.7858 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01111, allocations: 4 kB / 0.7858 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.01113, allocations: 3.984 kB / 0.7858 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01113, allocations: 4.625 kB / 0.7858 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01113, allocations: 0 / 0.7858 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.01132, allocations: 249.5 kB / 0.786 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.01146, allocations: 127.5 kB / 0.7861 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.0115, allocations: 17.31 kB / 0.7862 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.01165, allocations: 32.66 kB / 0.7862 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.01167, allocations: 8.828 kB / 0.7862 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.01171, allocations: 47.97 kB / 0.7862 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.36e-05/0.0118, allocations: 144.7 kB / 0.7864 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0118, allocations: 0.7812 kB / 0.7864 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001961/0.012, allocations: 71.94 kB / 0.7864 GB, free: 10.44 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.953e-05/0.0121, allocations: 105.8 kB / 0.7865 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.01248, allocations: 417.5 kB / 0.7869 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.01249, allocations: 5.562 kB / 0.787 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.41e-05/0.01257, allocations: 62.33 kB / 0.787 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.01277, allocations: 59.81 kB / 0.7871 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.01325, allocations: 485.8 kB / 0.7875 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.0133, allocations: 84.53 kB / 0.7876 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.01334, allocations: 19.61 kB / 0.7876 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.0135, allocations: 122.8 kB / 0.7877 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.0135, allocations: 1.312 kB / 0.7878 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of Templates: time 0.006699/0.0202, allocations: 5.884 MB / 0.7935 GB, free: 3.168 MB / 0.7448 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.02808488253504]