Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.584/2.584, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002049/0.002049, allocations: 184.5 kB / 326.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.448/2.448, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009284/0.0009283, allocations: 88.23 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006569/0.0006573, allocations: 11.7 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2183, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001796/0.2202, allocations: 1.191 MB / 0.9007 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2212, allocations: 411.1 kB / 0.9011 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.2213, allocations: 0 / 0.9011 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.85e-05/0.2214, allocations: 7.922 kB / 0.9011 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2215, allocations: 15.94 kB / 0.9011 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.2223, allocations: 211.2 kB / 0.9013 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.2226, allocations: 247.5 kB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.2227, allocations: 8 kB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.2231, allocations: 211.6 kB / 0.9017 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.2234, allocations: 135.7 kB / 0.9019 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.337e-05/0.2235, allocations: 16 kB / 0.9019 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.2236, allocations: 8 kB / 0.9019 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2237, allocations: 75.78 kB / 0.9019 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.2238, allocations: 69.58 kB / 0.902 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2241, allocations: 207.8 kB / 0.9022 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2241, allocations: 3.938 kB / 0.9022 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2241, allocations: 0 / 0.9022 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2241, allocations: 0 / 0.9022 GB, free: 62.75 MB / 0.6042 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.001291/0.2254, allocations: 0.6142 MB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2254, allocations: 12.02 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.2256, allocations: 36.56 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.2259, allocations: 244 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.226, allocations: 12.36 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.2261, allocations: 16.38 kB / 0.9031 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.2265, allocations: 158 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2265, allocations: 192 / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.2265, allocations: 11.92 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2266, allocations: 4 kB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.2268, allocations: 43.97 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.2271, allocations: 313.3 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.2275, allocations: 130.6 kB / 0.9038 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.2277, allocations: 60.83 kB / 0.9038 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.2278, allocations: 0 / 0.9038 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005801/0.2284, allocations: 217 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.424e-06/0.2284, allocations: 4 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000811/0.2292, allocations: 275 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.2293, allocations: 63.39 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.2296, allocations: 283 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/0.2297, allocations: 37.7 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.2298, allocations: 89.14 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.2298, allocations: 51.42 kB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.2299, allocations: 8 kB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.23, allocations: 322.8 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.2303, allocations: 96.17 kB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.2307, allocations: 142.4 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.231, allocations: 151.3 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.231, allocations: 3.984 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001035/0.2321, allocations: 414.5 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-05/0.2322, allocations: 83.31 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.2322, allocations: 0 / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.2322, allocations: 4 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.2325, allocations: 23.92 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2325, allocations: 12.12 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/0.2334, allocations: 67.84 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.2335, allocations: 51.98 kB / 0.9061 GB, free: 58.46 MB / 0.6042 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.0002543/0.2338, allocations: 179.9 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.2339, allocations: 23.72 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.2339, allocations: 30.25 kB / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.234, allocations: 3.984 kB / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.234, allocations: 3.938 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.2342, allocations: 156.6 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.2343, allocations: 8 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.2346, allocations: 15.98 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.2347, allocations: 19.97 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006904/0.2354, allocations: 288.8 kB / 0.9068 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005962/0.236, allocations: 399.9 kB / 0.9072 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001943/0.2362, allocations: 69.36 kB / 0.9072 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002319/0.2365, allocations: 201.9 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of Backend: time 8.51e-07/0.2365, allocations: 4 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009918/0.2375, allocations: 385 kB / 0.9078 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000999/0.2385, allocations: 0.8735 MB / 0.9087 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.01042/0.249, allocations: 4.146 MB / 0.9127 GB, free: 51.57 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)