Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.866/4.866, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004048/0.004048, allocations: 356 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.218/4.218, allocations: 410.7 MB / 1.112 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001791/0.001791, allocations: 188.2 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005214/0.0005223, allocations: 12 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5916/0.5922, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001434/0.5937, allocations: 1.192 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.5945, allocations: 386.5 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.5946, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.5946, allocations: 7.922 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.5947, allocations: 17.23 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.5954, allocations: 213.5 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.5956, allocations: 243.5 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.5957, allocations: 5.312 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.596, allocations: 163.6 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.5962, allocations: 127.7 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.5963, allocations: 13.62 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.5963, allocations: 8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.5964, allocations: 83.77 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.5965, allocations: 65.58 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.5967, allocations: 208.2 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.69e-06/0.5968, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.049e-06/0.5968, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.335e-06/0.5968, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 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.0009865/0.5978, allocations: 0.619 MB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.5978, allocations: 16.34 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.935e-05/0.5979, allocations: 31.72 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5982, allocations: 256.1 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.5983, allocations: 12 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.5984, allocations: 15.98 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.5987, allocations: 145.5 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.443e-06/0.5987, allocations: 0.5 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.5988, allocations: 0.5625 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-06/0.5988, allocations: 4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.599, allocations: 49.34 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.5993, allocations: 317.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.5996, allocations: 131.8 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.5998, allocations: 59.28 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.5999, allocations: 3.984 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/0.6004, allocations: 222.4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.01e-06/0.6004, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0006962/0.6011, allocations: 268.8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.6012, allocations: 63.41 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.6015, allocations: 284.3 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.6016, allocations: 45.69 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.6016, allocations: 89.14 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.6017, allocations: 44.06 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.6017, allocations: 8.594 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.6018, allocations: 327.4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.6021, allocations: 92.11 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.6024, allocations: 156.1 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.6027, allocations: 151.4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.834e-06/0.6027, allocations: 4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008328/0.6035, allocations: 412.6 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.6036, allocations: 71.39 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.493e-06/0.6036, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.6037, allocations: 5.656 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.6039, allocations: 27.97 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.6039, allocations: 7.938 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/0.6045, allocations: 70.39 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/0.6046, allocations: 55.11 kB / 1.467 GB, free: 277.4 MB / 0.8542 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.6049, allocations: 180.5 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.6049, allocations: 27.62 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.605, allocations: 27.5 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.605, allocations: 4 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.545e-06/0.605, allocations: 0 / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.606e-06/0.605, allocations: 0.9688 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008429/0.6059, allocations: 0.5503 MB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-06/0.6059, allocations: 0.6562 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.606, allocations: 15.92 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.944e-06/0.606, allocations: 0.5 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.6061, allocations: 15.98 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.384e-06/0.6061, allocations: 0.7188 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6061, allocations: 4 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.6065, allocations: 333 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.6067, allocations: 148.7 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.6068, allocations: 8 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.6071, allocations: 16.77 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.6072, allocations: 18.5 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.6073, allocations: 31.98 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001897/0.6075, allocations: 205.9 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.58e-07/0.6075, allocations: 4 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000442/0.6079, allocations: 46.38 kB / 1.469 GB, free: 275.7 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001306/0.6081, allocations: 131 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006415/0.6087, allocations: 351.2 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.508e-06/0.6087, allocations: 1.344 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.6089, allocations: 67.97 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.6094, allocations: 22.08 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.6101, allocations: 446.7 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.6103, allocations: 0.7531 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.6105, allocations: 37.12 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6107, allocations: 36.16 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.574e-06/0.6107, allocations: 0.5312 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.008955/0.6197, allocations: 3.882 MB / 1.474 GB, free: 270.2 MB / 0.8542 GB