Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.758/2.758, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 185.2 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.261/2.261, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009147/0.0009144, allocations: 88.77 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006443/0.0006448, allocations: 11.09 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2128, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002026/0.2149, allocations: 1.194 MB / 0.9795 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2161, allocations: 400.1 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.2163, allocations: 3.938 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.875e-05/0.2164, allocations: 3.938 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2165, allocations: 23.91 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.2174, allocations: 209.6 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.2178, allocations: 239.5 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.2179, allocations: 4 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.2183, allocations: 223.6 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.2187, allocations: 131.7 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.2188, allocations: 16 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.219, allocations: 8 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.2191, allocations: 83.77 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.2192, allocations: 65.58 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.2195, allocations: 199.9 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2195, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.466e-06/0.2195, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2195, allocations: 3.938 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001389/0.2209, allocations: 0.6181 MB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.221, allocations: 8.031 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.2211, allocations: 31.72 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.2215, allocations: 254.4 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.2215, allocations: 12 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.2216, allocations: 15.98 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.222, allocations: 147.3 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2221, allocations: 3.938 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.2221, allocations: 4 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2221, allocations: 4 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.2223, allocations: 51.89 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.2228, allocations: 313.4 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.2232, allocations: 134.8 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.2234, allocations: 60.84 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.47e-05/0.2235, allocations: 3.984 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007134/0.2242, allocations: 213.9 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.237e-06/0.2242, allocations: 4 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000867/0.2251, allocations: 269.1 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.2252, allocations: 55.41 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.2257, allocations: 294.8 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.2259, allocations: 45.69 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.226, allocations: 85.14 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.2261, allocations: 51.44 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.2262, allocations: 4 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2263, allocations: 330.8 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/0.2269, allocations: 92.17 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.2276, allocations: 146.4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.2282, allocations: 159.1 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.2282, allocations: 0 / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001701/0.2299, allocations: 411.2 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.2301, allocations: 71.39 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.2302, allocations: 4 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.2302, allocations: 4 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.2307, allocations: 31.91 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.2307, allocations: 8.188 kB / 0.9848 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.2323, allocations: 67.8 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.2325, allocations: 47.98 kB / 0.9849 GB, free: 21.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003891/0.2329, allocations: 179.9 kB / 0.9851 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.233, allocations: 27.62 kB / 0.9851 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.2332, allocations: 30.25 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.2332, allocations: 4 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.2332, allocations: 0 / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.2332, allocations: 0 / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.2349, allocations: 0.5632 MB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-06/0.235, allocations: 4 kB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.2352, allocations: 11.98 kB / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.599e-06/0.2352, allocations: 0 / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.2353, allocations: 15.98 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.2353, allocations: 0 / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2353, allocations: 0 / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.2363, allocations: 330.8 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.2368, allocations: 152.7 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.2369, allocations: 11.98 kB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.2374, allocations: 19.98 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.2375, allocations: 15.97 kB / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/0.2375, allocations: 31.98 kB / 0.9863 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002537/0.2378, allocations: 205.9 kB / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2378, allocations: 0 / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004623/0.2383, allocations: 48 kB / 0.9865 GB, free: 19.58 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.2385, allocations: 123 kB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008139/0.2393, allocations: 348.4 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2393, allocations: 0 / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.2396, allocations: 71.91 kB / 0.9871 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.2401, allocations: 24.81 kB / 0.9871 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009147/0.241, allocations: 451.2 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.2413, allocations: 0.7367 MB / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.2415, allocations: 37.42 kB / 0.9883 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.2417, allocations: 39.42 kB / 0.9883 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of SimCode: time 1.313e-06/0.2417, allocations: 0 / 0.9883 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.01214/0.2538, allocations: 3.9 MB / 0.9921 GB, free: 13.79 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)