Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001384/0.001384, allocations: 189.9 kB / 16.14 MB, free: 6.688 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 62.59 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3683, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00263/0.371, allocations: 1.575 MB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3723, allocations: 0.5944 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.3723, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.506e-05/0.3725, allocations: 7.922 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.602e-05/0.3726, allocations: 27.86 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006593/0.3732, allocations: 287.1 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.3736, allocations: 447.4 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.3737, allocations: 11.98 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.3741, allocations: 311 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.3743, allocations: 163.4 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.91e-05/0.3744, allocations: 16 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.3745, allocations: 16 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3747, allocations: 111.5 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3749, allocations: 182.8 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.3753, allocations: 406.9 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3753, allocations: 4 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3753, allocations: 0 / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3753, allocations: 0 / 1.072 GB, free: 6.77 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.00124/0.3766, allocations: 0.8665 MB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3766, allocations: 16.03 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.3768, allocations: 52.45 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.3772, allocations: 306.3 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.3772, allocations: 20.31 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.3773, allocations: 32.36 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3783, allocations: 213.9 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3784, allocations: 192 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.3784, allocations: 7.938 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3784, allocations: 4 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.3792, allocations: 103.9 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.3797, allocations: 381.2 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.3808, allocations: 186.6 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/0.3816, allocations: 112.7 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.3817, allocations: 3.984 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.3828, allocations: 227.1 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.3828, allocations: 0 / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002736/0.3855, allocations: 483.2 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3856, allocations: 67.33 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.386, allocations: 405.9 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.386, allocations: 49.62 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.3861, allocations: 93.45 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.3862, allocations: 39.45 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.3864, allocations: 133.3 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3865, allocations: 318.8 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.3867, allocations: 123.9 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.3871, allocations: 175.1 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.3874, allocations: 278.9 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3875, allocations: 4 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008566/0.3883, allocations: 494.4 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/0.3884, allocations: 91.31 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3884, allocations: 4 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3884, allocations: 4 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3886, allocations: 19.92 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3886, allocations: 4 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.3892, allocations: 67.91 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.328e-05/0.3893, allocations: 63.98 kB / 1.077 GB, free: 1.078 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.0002189/0.3895, allocations: 188 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.3896, allocations: 43.45 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.3896, allocations: 39.75 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3897, allocations: 8 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3897, allocations: 0 / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3897, allocations: 0 / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.392, allocations: 0.748 MB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.392, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.392, allocations: 4 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.392, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.3921, allocations: 27.91 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3921, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3921, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.3939, allocations: 480.7 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.3942, allocations: 208.4 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/0.3943, allocations: 12 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.3948, allocations: 27.97 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.3948, allocations: 11.98 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.246e-05/0.3949, allocations: 59.97 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003089/0.3952, allocations: 295.1 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3952, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003581/0.3956, allocations: 67.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.000162/0.3958, allocations: 128.9 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.3971, allocations: 442.5 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3971, allocations: 0 / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008226/0.3979, allocations: 113.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.0003802/0.3983, allocations: 33.8 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.001664/0.4, allocations: 0.6703 MB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.4004, allocations: 0.771 MB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.071e-05/0.4005, allocations: 9.094 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.4006, allocations: 27.42 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4006, allocations: 0 / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of Templates: time 0.009098/0.4097, allocations: 4.945 MB / 1.086 GB, free: 7.48 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)