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.001167/0.001167, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.01055/0.01055, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004774, allocations: 15.53 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3953, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002107/0.3975, allocations: 1.232 MB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3991, allocations: 0.589 MB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.3992, allocations: 0 / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3993, allocations: 11.92 kB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.3995, allocations: 27.86 kB / 1.076 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.4005, allocations: 286.5 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.4011, allocations: 451.3 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.912e-05/0.4012, allocations: 7.984 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006069/0.4018, allocations: 307 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003821/0.4022, allocations: 159.4 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.4023, allocations: 16 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.4024, allocations: 12 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.4026, allocations: 115.4 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.4029, allocations: 212.5 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.4034, allocations: 406.9 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4034, allocations: 4 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.865e-06/0.4034, allocations: 0 / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.4034, allocations: 0 / 1.078 GB, free: 3.738 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.001372/0.4048, allocations: 0.7536 MB / 1.079 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4049, allocations: 8.031 kB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.405, allocations: 48.56 kB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.4055, allocations: 314.2 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.4056, allocations: 16.36 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.226e-05/0.4057, allocations: 36.3 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.4067, allocations: 217.5 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4067, allocations: 4.188 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.4068, allocations: 11.92 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4068, allocations: 0 / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.4076, allocations: 107.9 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.4082, allocations: 393.2 kB / 1.08 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.4093, allocations: 206.5 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007745/0.4101, allocations: 121 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.4101, allocations: 12 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009761/0.4111, allocations: 235 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.4111, allocations: 4 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002729/0.4139, allocations: 0.5029 MB / 1.081 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.4139, allocations: 63.39 kB / 1.081 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.4144, allocations: 417.8 kB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/0.4145, allocations: 37.7 kB / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.4147, allocations: 97.44 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.4147, allocations: 31.55 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.4148, allocations: 41.7 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.415, allocations: 318.8 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.4153, allocations: 123.9 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.4156, allocations: 171.1 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.4161, allocations: 279 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.4161, allocations: 0 / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009071/0.417, allocations: 0.4904 MB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/0.4171, allocations: 91.31 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4171, allocations: 4 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4172, allocations: 192 / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4173, allocations: 31.92 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.4174, allocations: 7.938 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.4179, allocations: 67.78 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.702e-05/0.418, allocations: 55.98 kB / 1.083 GB, free: 14.16 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.0002459/0.4183, allocations: 196 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/0.4183, allocations: 39.47 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.514e-05/0.4184, allocations: 43.73 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4184, allocations: 4 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4184, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4185, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.4208, allocations: 0.7675 MB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.4208, allocations: 4 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.4209, allocations: 7.984 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4209, allocations: 0 / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.4209, allocations: 19.97 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4209, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4209, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.4228, allocations: 0.4889 MB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.4231, allocations: 200.5 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/0.4231, allocations: 15.98 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.4236, allocations: 35.97 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.4237, allocations: 15.92 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/0.4238, allocations: 55.97 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003116/0.4241, allocations: 299.1 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4241, allocations: 0 / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003803/0.4245, allocations: 60 kB / 1.085 GB, free: 11.83 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.0001703/0.4246, allocations: 123.8 kB / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.426, allocations: 454.5 kB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.426, allocations: 0 / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008077/0.4268, allocations: 140.2 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.4272, allocations: 26.89 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.4289, allocations: 0.6732 MB / 1.086 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4293, allocations: 0.7826 MB / 1.087 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.005e-05/0.4293, allocations: 13.08 kB / 1.087 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.4294, allocations: 11.44 kB / 1.087 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.4294, allocations: 8 kB / 1.087 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of Templates: time 0.01058/0.44, allocations: 4.92 MB / 1.092 GB, free: 4.508 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)