Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009408/0.0009408, 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.0009706/0.0009709, allocations: 191.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 251.6 MB / 0.5088 GB, free: 3.277 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 59.92 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.396, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002483/0.3985, allocations: 1.549 MB / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008372/0.3994, allocations: 443.4 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.3995, allocations: 0 / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.292e-05/0.3995, allocations: 7.922 kB / 0.7257 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.755e-05/0.3997, allocations: 24.23 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.4002, allocations: 222.3 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.4005, allocations: 287.9 kB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.4006, allocations: 7.984 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.4008, allocations: 206.4 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.401, allocations: 123.6 kB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.4011, allocations: 16 kB / 0.7266 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.4012, allocations: 8 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.692e-05/0.4013, allocations: 75.72 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.4014, allocations: 119.4 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.4017, allocations: 285 kB / 0.7271 GB, free: 9.781 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.4017, allocations: 0 / 0.7271 GB, free: 9.781 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.01e-07/0.4018, allocations: 0 / 0.7271 GB, free: 9.781 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.4018, allocations: 0 / 0.7271 GB, free: 9.781 MB / 0.545 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.001136/0.4029, allocations: 0.6998 MB / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.4029, allocations: 8.031 kB / 0.7277 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.403, allocations: 31.72 kB / 0.7278 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.4033, allocations: 266.2 kB / 0.728 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.4034, allocations: 8 kB / 0.728 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.4034, allocations: 16 kB / 0.7281 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.4037, allocations: 149.5 kB / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4037, allocations: 7.922 kB / 0.7282 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.4037, allocations: 4 kB / 0.7282 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4038, allocations: 0 / 0.7282 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.4039, allocations: 51.91 kB / 0.7283 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.4043, allocations: 317.3 kB / 0.7286 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.4045, allocations: 130.8 kB / 0.7287 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.4047, allocations: 52.83 kB / 0.7287 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4047, allocations: 4 kB / 0.7287 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.4051, allocations: 229.3 kB / 0.729 GB, free: 7.645 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.4051, allocations: 0 / 0.729 GB, free: 7.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005494/0.4057, allocations: 265.2 kB / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.4057, allocations: 71.33 kB / 0.7293 GB, free: 7.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.406, allocations: 290.9 kB / 0.7296 GB, free: 7.004 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.406, allocations: 33.7 kB / 0.7296 GB, free: 6.965 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.4061, allocations: 97.12 kB / 0.7297 GB, free: 6.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.4061, allocations: 43.44 kB / 0.7297 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.4063, allocations: 109.6 kB / 0.7298 GB, free: 6.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4064, allocations: 322.8 kB / 0.7301 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.4066, allocations: 96.17 kB / 0.7302 GB, free: 6.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.4069, allocations: 143.8 kB / 0.7304 GB, free: 6.129 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.4072, allocations: 245.8 kB / 0.7306 GB, free: 5.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4072, allocations: 4 kB / 0.7306 GB, free: 5.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006377/0.4078, allocations: 418 kB / 0.731 GB, free: 5.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.4079, allocations: 69.42 kB / 0.7311 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4079, allocations: 4 kB / 0.7311 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4079, allocations: 12.12 kB / 0.7311 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.4081, allocations: 27.91 kB / 0.7311 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.4081, allocations: 4 kB / 0.7311 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.4086, allocations: 59.8 kB / 0.7312 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.4087, allocations: 51.98 kB / 0.7312 GB, free: 5.191 MB / 0.545 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 (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,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.4088, allocations: 175.9 kB / 0.7314 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.4089, allocations: 27.62 kB / 0.7314 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.4089, allocations: 34.25 kB / 0.7314 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.409, allocations: 3.938 kB / 0.7314 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.409, allocations: 4 kB / 0.7315 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.409, allocations: 0 / 0.7315 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.4097, allocations: 0.5568 MB / 0.732 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4097, allocations: 0 / 0.732 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.4097, allocations: 15.98 kB / 0.732 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.4097, allocations: 0 / 0.732 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.4098, allocations: 11.98 kB / 0.732 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4098, allocations: 0 / 0.732 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4098, allocations: 0 / 0.732 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.4102, allocations: 333.2 kB / 0.7323 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.4103, allocations: 156.7 kB / 0.7325 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.4104, allocations: 8 kB / 0.7325 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.4106, allocations: 15.98 kB / 0.7325 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.4107, allocations: 15.98 kB / 0.7325 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.4107, allocations: 31.97 kB / 0.7326 GB, free: 3.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001667/0.4109, allocations: 205.9 kB / 0.7328 GB, free: 3.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4109, allocations: 0 / 0.7328 GB, free: 3.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002934/0.4112, allocations: 51.98 kB / 0.7328 GB, free: 3.469 MB / 0.545 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 (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.0001143/0.4113, allocations: 111.8 kB / 0.7329 GB, free: 3.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.4118, allocations: 350.5 kB / 0.7332 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4118, allocations: 0 / 0.7332 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.4119, allocations: 75.89 kB / 0.7333 GB, free: 2.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.4122, allocations: 28.81 kB / 0.7333 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.4129, allocations: 461.8 kB / 0.7338 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4131, allocations: 0.7462 MB / 0.7345 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.4133, allocations: 37.42 kB / 0.7346 GB, free: 1.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4134, allocations: 39.42 kB / 0.7346 GB, free: 1.551 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4134, allocations: 0 / 0.7346 GB, free: 1.551 MB / 0.545 GB Notification: Performance of Templates: time 0.006387/0.4198, allocations: 4.022 MB / 0.7385 GB, free: 13.55 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)