Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 193.1 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 78.02 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3676, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003761/0.3714, allocations: 1.566 MB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3731, allocations: 0.6025 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3733, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.3734, allocations: 3.938 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.3736, allocations: 23.92 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/0.3746, allocations: 287 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000584/0.3752, allocations: 447.5 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.3752, allocations: 11.97 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005416/0.3758, allocations: 318.9 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.3761, allocations: 151.5 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.3763, allocations: 16 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3764, allocations: 12 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.3765, allocations: 115.4 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.3768, allocations: 182.8 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.3772, allocations: 414.9 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3773, allocations: 11.94 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3773, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3773, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 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.001386/0.3787, allocations: 0.8644 MB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3787, allocations: 8.031 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.3789, allocations: 52.47 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.3793, allocations: 318.2 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.3794, allocations: 16.36 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.3795, allocations: 32.36 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.3805, allocations: 206 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3805, allocations: 192 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.3806, allocations: 7.938 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.3806, allocations: 11.98 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000817/0.3814, allocations: 99.86 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.3819, allocations: 397.1 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.383, allocations: 174.6 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008318/0.3839, allocations: 112.8 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.3839, allocations: 4 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.385, allocations: 219.1 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.385, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002791/0.3878, allocations: 492.8 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.3879, allocations: 59.41 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.3884, allocations: 413.9 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.3885, allocations: 37.7 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/0.3886, allocations: 93.44 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.3887, allocations: 43.44 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.3889, allocations: 125.3 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.389, allocations: 330.8 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.3893, allocations: 119.9 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.3896, allocations: 170.4 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.3901, allocations: 277.2 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3901, allocations: 0 / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008753/0.391, allocations: 490.2 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.3911, allocations: 99.48 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.3911, allocations: 11.92 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3911, allocations: 3.938 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.3913, allocations: 19.98 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3913, allocations: 4 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.3919, allocations: 55.8 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.392, allocations: 67.91 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002455/0.3923, allocations: 192 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.3923, allocations: 43.41 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.3924, allocations: 43.73 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3924, allocations: 4 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3924, allocations: 0 / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3925, allocations: 3.984 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.3948, allocations: 0.7463 MB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3949, allocations: 4 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.3949, allocations: 7.938 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3949, allocations: 0 / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.3949, allocations: 15.98 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.395, allocations: 7.938 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.395, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.397, allocations: 478.7 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.3974, allocations: 200.4 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.3975, allocations: 15.98 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/0.398, allocations: 31.97 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.3981, allocations: 11.98 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/0.3982, allocations: 51.98 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000436/0.3986, allocations: 295.1 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3986, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004979/0.3991, allocations: 71.98 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001897/0.3993, allocations: 124.5 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.4008, allocations: 439.9 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4009, allocations: 384 / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.4017, allocations: 119.9 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.4022, allocations: 29.48 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.4042, allocations: 0.6603 MB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.4047, allocations: 0.7787 MB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.888e-05/0.4048, allocations: 17.08 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.4048, allocations: 15.42 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.4048, allocations: 0 / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of Templates: time 0.01124/0.4161, allocations: 4.962 MB / 1.086 GB, free: 7.48 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)