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.001293/0.001294, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009949/0.009949, allocations: 169 kB / 16.26 MB, free: 6.652 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.551/1.551, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.044/3.044, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004448, allocations: 5.875 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.37, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001933/0.372, allocations: 1.244 MB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3732, allocations: 0.5851 MB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.509e-05/0.3733, allocations: 0 / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.487e-05/0.3734, allocations: 3.938 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.3735, allocations: 27.86 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.3742, allocations: 282.5 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.3747, allocations: 447.4 kB / 1.077 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.473e-05/0.3747, allocations: 15.98 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.3752, allocations: 307 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.3755, allocations: 159.4 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.3755, allocations: 16 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.3756, allocations: 12 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3757, allocations: 119.4 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.3759, allocations: 208.5 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.3764, allocations: 410.9 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3764, allocations: 0 / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3764, allocations: 4 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3764, allocations: 0 / 1.078 GB, free: 3.695 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.001022/0.3774, allocations: 0.7458 MB / 1.079 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3775, allocations: 8.031 kB / 1.079 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.3776, allocations: 48.56 kB / 1.079 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.3779, allocations: 318.1 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.378, allocations: 16.36 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/0.3781, allocations: 28.36 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009985/0.3791, allocations: 222 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3791, allocations: 192 / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.3792, allocations: 11.94 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3792, allocations: 0 / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.38, allocations: 111.9 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.3804, allocations: 393.2 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3816, allocations: 198.5 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/0.3824, allocations: 121 kB / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.3824, allocations: 8 kB / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009948/0.3834, allocations: 245 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.3834, allocations: 0 / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002714/0.3862, allocations: 0.5086 MB / 1.081 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3862, allocations: 59.41 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.3867, allocations: 409.9 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.3867, allocations: 41.69 kB / 1.081 GB, free: 12 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3868, allocations: 101.4 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.3869, allocations: 39.53 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.387, allocations: 37.7 kB / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3871, allocations: 322.8 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.3874, allocations: 119.9 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.3877, allocations: 171.1 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.3881, allocations: 284 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3881, allocations: 0 / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000811/0.3889, allocations: 492.6 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/0.389, allocations: 93.03 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.389, allocations: 4 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.389, allocations: 7.984 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.3892, allocations: 23.86 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3892, allocations: 4 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.3898, allocations: 71.92 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.3899, allocations: 63.97 kB / 1.083 GB, free: 14.12 MB / 0.8419 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.000265/0.3901, allocations: 196 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.3902, allocations: 39.47 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.3903, allocations: 35.75 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3903, allocations: 4 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3903, allocations: 3.984 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3903, allocations: 0 / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.3926, allocations: 0.7768 MB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3926, allocations: 4 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.3927, allocations: 4 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3927, allocations: 3.984 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.3927, allocations: 19.98 kB / 1.084 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3927, allocations: 0 / 1.084 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3927, allocations: 0 / 1.084 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.3946, allocations: 0.4948 MB / 1.084 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.3949, allocations: 192.5 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.3949, allocations: 19.98 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.3954, allocations: 35.91 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.3955, allocations: 7.984 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/0.3956, allocations: 55.98 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000304/0.3959, allocations: 299.1 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3959, allocations: 0 / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004032/0.3963, allocations: 67.98 kB / 1.085 GB, free: 11.78 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.0001793/0.3965, allocations: 119.7 kB / 1.085 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.3978, allocations: 452 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3978, allocations: 4 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008193/0.3987, allocations: 136.2 kB / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.3991, allocations: 30.86 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.4007, allocations: 0.6735 MB / 1.086 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.4011, allocations: 0.7749 MB / 1.087 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.096e-05/0.4011, allocations: 13.08 kB / 1.087 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.4012, allocations: 15.44 kB / 1.087 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.4012, allocations: 0 / 1.087 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of Templates: time 0.009878/0.4111, allocations: 4.929 MB / 1.092 GB, free: 4.465 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)