Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.017/2.017, allocations: 391.2 MB / 407 MB, free: 10.86 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.001386/0.001386, allocations: 195.4 kB / 499.1 MB, free: 4.68 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.333/1.333, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.001135/0.001135, allocations: 114 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 54.47 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2189, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002579/0.2215, allocations: 1.542 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008172/0.2224, allocations: 433.4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.2224, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.818e-05/0.2225, allocations: 7.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/0.2226, allocations: 20.3 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.2232, allocations: 227.2 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.2234, allocations: 283.9 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.2235, allocations: 8 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.2238, allocations: 210.3 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.224, allocations: 131.5 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.2241, allocations: 8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.2241, allocations: 12 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.2242, allocations: 71.78 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2244, allocations: 119.4 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.2246, allocations: 281.1 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2246, allocations: 7.984 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2246, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2246, 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.0009978/0.2256, allocations: 0.6959 MB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2257, allocations: 11.98 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.2258, allocations: 39.61 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.226, allocations: 262.3 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.2261, allocations: 11.92 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.2261, allocations: 20 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.2264, allocations: 149.5 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2264, allocations: 3.938 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.2264, allocations: 7.984 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2264, allocations: 8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.2266, allocations: 39.98 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.2268, allocations: 309.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.2271, allocations: 130.6 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2272, allocations: 56.83 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2272, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.2276, allocations: 223.2 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.2276, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0004597/0.2281, allocations: 274.4 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.2281, allocations: 59.41 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.2283, allocations: 294.9 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.2283, allocations: 37.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.2284, allocations: 89.14 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.2284, allocations: 47.44 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.2285, allocations: 105.7 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.2286, allocations: 322.8 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.2288, allocations: 96.17 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.229, allocations: 151.2 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.2292, allocations: 247.8 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.2292, allocations: 4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005221/0.2297, allocations: 410.6 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.2298, allocations: 79.38 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2298, allocations: 8.188 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2298, allocations: 7.922 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.23, allocations: 27.92 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.23, allocations: 3.984 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.2304, allocations: 55.86 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.2305, allocations: 55.98 kB / 1.225 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.0001225/0.2306, allocations: 172.6 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.2306, allocations: 27.7 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.2307, allocations: 34.25 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2307, allocations: 7.875 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2307, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2307, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005804/0.2313, allocations: 0.5576 MB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2313, allocations: 7.938 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.2313, allocations: 11.98 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2314, allocations: 4 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.2314, allocations: 7.984 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2314, allocations: 7.938 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2314, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.2319, allocations: 0.9392 MB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.2321, allocations: 156.7 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.2321, allocations: 12 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.2323, allocations: 7.984 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.2324, allocations: 19.97 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.2324, allocations: 27.98 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001286/0.2325, allocations: 213.9 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2325, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003655/0.2329, allocations: 52 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 9.499e-05/0.233, allocations: 119 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.2334, allocations: 351.9 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2334, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.2335, allocations: 71.91 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.2338, allocations: 21.66 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.2344, allocations: 0.606 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2346, allocations: 0.7535 MB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.2347, allocations: 45.41 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.2348, allocations: 35.42 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.91e-07/0.2348, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of Templates: time 0.005642/0.2404, allocations: 4.132 MB / 1.234 GB, free: 100.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)