Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.761/2.761, allocations: 287.5 MB / 302.4 MB, free: 8.363 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.001366/0.001365, allocations: 192.6 kB / 371 MB, free: 10.88 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.226/2.226, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.00137/0.001369, allocations: 90.41 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007725/0.0007729, allocations: 11.3 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2425, allocations: 115.3 MB / 0.9783 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001688/0.2442, allocations: 1.19 MB / 0.9795 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2453, allocations: 406.2 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.2454, allocations: 0 / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.046e-05/0.2455, allocations: 7.922 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2456, allocations: 23.88 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.2465, allocations: 210.7 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.2468, allocations: 239.5 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.2469, allocations: 11.98 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.2474, allocations: 219.6 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.2477, allocations: 131.7 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.2478, allocations: 16 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.2479, allocations: 8 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.248, allocations: 79.78 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2482, allocations: 61.64 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.2485, allocations: 207.8 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2485, allocations: 0 / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.484e-06/0.2485, allocations: 0 / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2485, allocations: 0 / 0.9811 GB, free: 25.61 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.001329/0.2498, allocations: 0.618 MB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2499, allocations: 8.031 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.25, allocations: 39.66 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.2504, allocations: 250.5 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.2504, allocations: 15.98 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/0.2505, allocations: 12 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.251, allocations: 146.6 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.251, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.251, allocations: 15.92 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.251, allocations: 4 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.2512, allocations: 39.97 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.2517, allocations: 313.4 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.2521, allocations: 130.8 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.2523, allocations: 64.77 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.2524, allocations: 4 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006087/0.253, allocations: 219.5 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.364e-06/0.253, allocations: 4 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008322/0.2539, allocations: 267.5 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.2539, allocations: 63.41 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.2543, allocations: 294.8 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/0.2544, allocations: 37.7 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.2544, allocations: 89.14 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.2545, allocations: 47.44 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.2546, allocations: 11.98 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.2546, allocations: 326.8 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.255, allocations: 92.19 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.2554, allocations: 142.4 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.2557, allocations: 156.1 kB / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2557, allocations: 4 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00106/0.2568, allocations: 411.2 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/0.2569, allocations: 71.39 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2569, allocations: 3.984 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2569, allocations: 4 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.2572, allocations: 27.92 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2572, allocations: 4.188 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008712/0.2581, allocations: 71.8 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.2583, allocations: 59.97 kB / 0.985 GB, free: 21.32 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.0002506/0.2585, allocations: 172 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.2586, allocations: 27.62 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.2587, allocations: 26.25 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2587, allocations: 4 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2587, allocations: 0 / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2587, allocations: 3.984 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2598, allocations: 0.5606 MB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2598, allocations: 4 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.2599, allocations: 8 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.2599, allocations: 0 / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.26, allocations: 19.97 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.26, allocations: 0 / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.26, allocations: 0 / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/0.2606, allocations: 328.6 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.2608, allocations: 152.7 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.2609, allocations: 8 kB / 0.9862 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.2613, allocations: 19.98 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.2614, allocations: 15.97 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.2614, allocations: 31.98 kB / 0.9863 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002504/0.2617, allocations: 209.9 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2617, allocations: 4 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004533/0.2622, allocations: 47.95 kB / 0.9865 GB, free: 19.59 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.0001575/0.2624, allocations: 126.1 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008139/0.2632, allocations: 346.6 kB / 0.987 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2632, allocations: 0 / 0.987 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.2634, allocations: 74.09 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.2639, allocations: 24.86 kB / 0.9871 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000959/0.2649, allocations: 447.2 kB / 0.9875 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2652, allocations: 0.7438 MB / 0.9882 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002324/0.2654, allocations: 33.44 kB / 0.9883 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.2656, allocations: 39.41 kB / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2656, allocations: 4 kB / 0.9883 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.01072/0.2763, allocations: 3.9 MB / 0.9921 GB, free: 13.8 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)