Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.015/2.015, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 191.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 102.7 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001002, allocations: 49.23 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2176, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002202/0.2199, allocations: 1.542 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000723/0.2206, allocations: 432.2 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.2207, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.148e-05/0.2208, allocations: 7.922 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.2209, allocations: 24.23 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.2213, allocations: 223.2 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.2215, allocations: 295.8 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.2216, allocations: 7.984 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.2218, allocations: 210.4 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.2219, allocations: 119.6 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/0.222, allocations: 12 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.2221, allocations: 8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.026e-05/0.2221, allocations: 71.78 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2223, allocations: 119.4 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.2225, allocations: 285.1 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2225, allocations: 4 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2225, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2225, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 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.0008621/0.2234, allocations: 0.6971 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.2234, allocations: 11.98 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.2235, allocations: 35.62 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.2237, allocations: 262.2 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.2238, allocations: 15.94 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.2238, allocations: 20 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.224, allocations: 145.5 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2241, allocations: 3.938 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2241, allocations: 8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2241, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.2242, allocations: 47.97 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.2244, allocations: 313.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.2247, allocations: 126.7 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.2248, allocations: 56.83 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2248, allocations: 11.92 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/0.2252, allocations: 228.4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.2252, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0004469/0.2256, allocations: 266.5 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.2257, allocations: 67.39 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2258, allocations: 294.8 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.2259, allocations: 33.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.2259, allocations: 101.1 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.226, allocations: 43.44 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2261, allocations: 105.7 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.891e-05/0.2261, allocations: 326.8 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.2263, allocations: 88.19 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2265, allocations: 147.2 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.2267, allocations: 251.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2267, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005044/0.2272, allocations: 423 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.2273, allocations: 71.39 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2273, allocations: 4 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2273, allocations: 7.938 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2274, allocations: 27.91 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2275, allocations: 4 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.2279, allocations: 60.05 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.2279, allocations: 51.98 kB / 1.226 GB, free: 109.3 MB / 0.823 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.0001108/0.2281, allocations: 176.6 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.2281, allocations: 23.72 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.2281, allocations: 30.25 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2281, allocations: 3.938 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2282, allocations: 8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2282, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.2287, allocations: 0.5578 MB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2287, allocations: 3.938 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.2288, allocations: 15.98 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2288, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.2288, allocations: 11.98 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2288, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2288, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.2293, allocations: 0.9398 MB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.2295, allocations: 156.7 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.2295, allocations: 11.98 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.2297, allocations: 15.98 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.2297, allocations: 15.98 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.2298, allocations: 31.92 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001173/0.2299, allocations: 217.9 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2299, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003552/0.2303, allocations: 48 kB / 1.228 GB, free: 106.9 MB / 0.823 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 8.607e-05/0.2304, allocations: 119.5 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.2307, allocations: 347.7 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2308, allocations: 384 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.2309, allocations: 71.97 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.2312, allocations: 26.92 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.2317, allocations: 0.6095 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.2319, allocations: 0.7476 MB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.232, allocations: 37.42 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.2321, allocations: 35.42 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of SimCode: time 3.91e-07/0.2321, allocations: 0 / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of Templates: time 0.005373/0.2375, allocations: 4.138 MB / 1.234 GB, free: 100.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)