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.001452/0.001452, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001717/0.001717, allocations: 161 kB / 24.17 MB, free: 332 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 1.024/1.024, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.934/1.934, allocations: 389.6 MB / 0.6354 GB, free: 12.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 4.068e-06/4.068e-06, allocations: 4.531 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/3.108e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003073/0.003104, allocations: 1.782 MB / 0.777 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.004293, allocations: 0.6126 MB / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.004388, allocations: 0 / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.004503, allocations: 17.11 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.004637, allocations: 34.03 kB / 0.7776 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007642/0.005401, allocations: 375.1 kB / 0.778 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.005975, allocations: 0.6022 MB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.006076, allocations: 29.92 kB / 0.7786 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.006545, allocations: 427.4 kB / 0.779 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.006789, allocations: 152.8 kB / 0.7791 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.006845, allocations: 40 kB / 0.7792 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.006918, allocations: 40 kB / 0.7792 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.007019, allocations: 127.6 kB / 0.7793 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.007134, allocations: 148.3 kB / 0.7795 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.007484, allocations: 434.8 kB / 0.7799 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.007488, allocations: 0.6875 kB / 0.7799 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/0.00749, allocations: 4 kB / 0.7799 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.007495, allocations: 0.5312 kB / 0.7799 GB, free: 0.6172 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.00089/0.008385, allocations: 0.7751 MB / 0.7806 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.008421, allocations: 10.84 kB / 0.7807 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.00851, allocations: 56.88 kB / 0.7807 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.008764, allocations: 243.9 kB / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.008802, allocations: 20.38 kB / 0.781 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.008851, allocations: 29.48 kB / 0.781 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.009178, allocations: 191.2 kB / 0.7812 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.009186, allocations: 192 / 0.7812 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.009205, allocations: 13.17 kB / 0.7812 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.009211, allocations: 384 / 0.7812 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.009289, allocations: 54.8 kB / 0.7812 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.009864, allocations: 321.8 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.01004, allocations: 98.59 kB / 0.7816 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.203e-05/0.01011, allocations: 46.41 kB / 0.7817 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.01013, allocations: 7.984 kB / 0.7817 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.01038, allocations: 151.7 kB / 0.7818 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.01038, allocations: 1.031 kB / 0.7818 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003263/0.0107, allocations: 207.8 kB / 0.782 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.01074, allocations: 63.39 kB / 0.7821 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.01093, allocations: 339.4 kB / 0.7824 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.01097, allocations: 45.69 kB / 0.7825 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.01103, allocations: 110.3 kB / 0.7826 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.01106, allocations: 39.67 kB / 0.7826 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.01117, allocations: 118.4 kB / 0.7827 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.01124, allocations: 326.8 kB / 0.783 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.01141, allocations: 163.3 kB / 0.7832 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.01157, allocations: 215.3 kB / 0.7834 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.01179, allocations: 250.5 kB / 0.7836 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01179, allocations: 0 / 0.7836 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004049/0.01219, allocations: 460.9 kB / 0.7841 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.01226, allocations: 87.38 kB / 0.7842 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01227, allocations: 0 / 0.7842 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.01229, allocations: 4 kB / 0.7842 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.01241, allocations: 35.97 kB / 0.7842 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01241, allocations: 8.969 kB / 0.7842 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.01259, allocations: 51.8 kB / 0.7842 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.01264, allocations: 49.75 kB / 0.7843 GB, free: 11.86 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.0001346/0.01277, allocations: 147.3 kB / 0.7844 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.01281, allocations: 27.91 kB / 0.7845 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.01286, allocations: 40.36 kB / 0.7845 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01286, allocations: 0.7812 kB / 0.7845 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01286, allocations: 0 / 0.7845 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01287, allocations: 4 kB / 0.7845 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.0133, allocations: 395.3 kB / 0.7849 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.0133, allocations: 0 / 0.7849 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.01333, allocations: 12.58 kB / 0.7849 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01333, allocations: 0.7188 kB / 0.7849 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.01335, allocations: 11.98 kB / 0.7849 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.01335, allocations: 9.469 kB / 0.7849 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01336, allocations: 0 / 0.7849 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.01357, allocations: 240.3 kB / 0.7851 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.01388, allocations: 132.2 kB / 0.7853 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.01393, allocations: 19.98 kB / 0.7853 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.0141, allocations: 25.39 kB / 0.7853 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.01413, allocations: 12.5 kB / 0.7853 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.01418, allocations: 52.59 kB / 0.7854 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001058/0.01428, allocations: 144.7 kB / 0.7855 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01428, allocations: 0.875 kB / 0.7855 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002147/0.0145, allocations: 75.88 kB / 0.7856 GB, free: 10.5 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.0001413/0.01464, allocations: 109.8 kB / 0.7857 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.01505, allocations: 414.2 kB / 0.7861 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.01505, allocations: 4 kB / 0.7861 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.01514, allocations: 63.25 kB / 0.7862 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.01536, allocations: 63.06 kB / 0.7862 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.01592, allocations: 479.7 kB / 0.7867 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.128e-05/0.01597, allocations: 85.34 kB / 0.7867 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.382e-05/0.01602, allocations: 15.05 kB / 0.7868 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.0162, allocations: 127.1 kB / 0.7869 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of SimCode: time 6.32e-07/0.01621, allocations: 3.938 kB / 0.7869 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.00747/0.02368, allocations: 5.874 MB / 0.7926 GB, free: 3.242 MB / 0.7448 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.19136387296021]