Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001007/0.001007, allocations: 176.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008523/0.0008524, allocations: 89.05 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 12.53 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001608/0.2302, allocations: 1.214 MB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.2311, allocations: 447.4 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.2312, allocations: 0 / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.2313, allocations: 7.922 kB / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2314, allocations: 24.23 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.232, allocations: 223.9 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.2322, allocations: 287.9 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.2323, allocations: 23.89 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.2325, allocations: 206.4 kB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2327, allocations: 127.5 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.2328, allocations: 8 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.2328, allocations: 12 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.2329, allocations: 71.78 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2331, allocations: 123.3 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.2332, allocations: 199.6 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2332, allocations: 0 / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2333, allocations: 0 / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2333, allocations: 0 / 0.8996 GB, free: 65.23 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.0009073/0.2342, allocations: 0.6142 MB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2342, allocations: 12.03 kB / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.2343, allocations: 35.62 kB / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.2346, allocations: 262.2 kB / 0.9005 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.2346, allocations: 15.98 kB / 0.9005 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.2347, allocations: 20 kB / 0.9005 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.2349, allocations: 145.5 kB / 0.9007 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2349, allocations: 0 / 0.9007 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.235, allocations: 7.984 kB / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.235, allocations: 0 / 0.9007 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.2351, allocations: 47.97 kB / 0.9007 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.2354, allocations: 317.3 kB / 0.901 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2356, allocations: 122.7 kB / 0.9011 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2357, allocations: 60.83 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.2358, allocations: 384 / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.2362, allocations: 223.5 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.2362, allocations: 0 / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004989/0.2367, allocations: 269.1 kB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.2367, allocations: 63.39 kB / 0.9017 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.237, allocations: 298.8 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.237, allocations: 37.7 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.2371, allocations: 93.14 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.2371, allocations: 47.44 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.2372, allocations: 33.7 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.2373, allocations: 326.8 kB / 0.9025 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.2375, allocations: 92.11 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.2377, allocations: 154.3 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.2379, allocations: 248.4 kB / 0.903 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.238, allocations: 0 / 0.903 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005378/0.2385, allocations: 411 kB / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.2386, allocations: 75.39 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2386, allocations: 7.984 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2386, allocations: 0 / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2388, allocations: 27.92 kB / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.2388, allocations: 0 / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.2393, allocations: 75.98 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.2393, allocations: 55.97 kB / 0.9036 GB, free: 60.77 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.2395, allocations: 172 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.2395, allocations: 27.62 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.2396, allocations: 30.25 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2396, allocations: 0 / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.2396, allocations: 4 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2396, allocations: 7.922 kB / 0.9038 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.2402, allocations: 0.5567 MB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2403, allocations: 0 / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.2403, allocations: 15.94 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2403, allocations: 0 / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.2403, allocations: 19.97 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2404, allocations: 3.938 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2404, allocations: 0 / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.2407, allocations: 321.5 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2408, allocations: 152.7 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.2409, allocations: 8 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2411, allocations: 23.92 kB / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.2411, allocations: 15.97 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.2412, allocations: 31.98 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001368/0.2413, allocations: 209.9 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2413, allocations: 0 / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002818/0.2416, allocations: 48 kB / 0.9052 GB, free: 59.05 MB / 0.6042 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 (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.0001139/0.2417, allocations: 119.2 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.2422, allocations: 346.5 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2422, allocations: 3.938 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.2423, allocations: 63.97 kB / 0.9057 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2426, allocations: 27.41 kB / 0.9057 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.2433, allocations: 499.5 kB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.2434, allocations: 0.7437 MB / 0.9069 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2436, allocations: 39.41 kB / 0.907 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2436, allocations: 3.938 kB / 0.907 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.004319/0.2479, allocations: 2.957 MB / 0.9099 GB, free: 54.18 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)