Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.989/4.989, allocations: 0.5623 GB / 0.5775 GB, free: 3.316 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.002617/0.002617, allocations: 358.2 kB / 0.6446 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.502/4.502, allocations: 410.7 MB / 1.113 GB, free: 6.031 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.001841/0.001841, allocations: 193.2 kB / 1.226 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 8 kB / 1.349 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7687/0.7692, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/1.007, allocations: 139.7 MB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.007, allocations: 71.95 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02048/1.028, allocations: 4.457 MB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.374e-06/1.028, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.549e-05/1.028, allocations: 4 kB / 1.602 GB, free: 140.1 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.001138/1.029, allocations: 0.6211 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.029, allocations: 11.62 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/1.029, allocations: 35.7 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/1.029, allocations: 258.4 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/1.029, allocations: 12.97 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.66e-05/1.03, allocations: 12 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/1.03, allocations: 146.4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.03, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/1.03, allocations: 4.953 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/1.03, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/1.03, allocations: 42.39 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/1.031, allocations: 333.3 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/1.031, allocations: 127.2 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/1.031, allocations: 57.8 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/1.031, allocations: 4.984 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/1.032, allocations: 227.1 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/1.032, allocations: 0 / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0008331/1.033, allocations: 265.2 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/1.033, allocations: 63.94 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/1.033, allocations: 288 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/1.033, allocations: 41.69 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/1.033, allocations: 90.14 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/1.033, allocations: 43.53 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/1.034, allocations: 11.94 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/1.034, allocations: 327.3 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/1.034, allocations: 101 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/1.034, allocations: 160.7 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/1.035, allocations: 157.9 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.035, allocations: 0.875 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001165/1.036, allocations: 425.9 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/1.036, allocations: 71.39 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/1.036, allocations: 4 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.036, allocations: 0 / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/1.036, allocations: 31.97 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/1.036, allocations: 3.938 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/1.037, allocations: 54.47 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/1.037, allocations: 47.98 kB / 1.606 GB, free: 135.8 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.0002877/1.038, allocations: 182.8 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/1.038, allocations: 23.72 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/1.038, allocations: 30.84 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.038, allocations: 9.375 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.038, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.038, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/1.039, allocations: 0.5549 MB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.039, allocations: 0 / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/1.039, allocations: 15.92 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.039, allocations: 0 / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/1.039, allocations: 15.98 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.039, allocations: 0.5312 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.039, allocations: 0.5938 kB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/1.04, allocations: 322.8 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/1.04, allocations: 160.6 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/1.04, allocations: 8 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/1.04, allocations: 15.98 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/1.04, allocations: 16.72 kB / 1.607 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/1.04, allocations: 27.98 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002489/1.041, allocations: 215.3 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.21e-07/1.041, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009301/1.042, allocations: 48.38 kB / 1.608 GB, free: 134.1 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.0002714/1.042, allocations: 121.2 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001048/1.043, allocations: 357.7 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.043, allocations: 0 / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/1.043, allocations: 63.97 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/1.044, allocations: 36.75 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000929/1.045, allocations: 438.8 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/1.045, allocations: 0.7564 MB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002294/1.045, allocations: 41.39 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/1.045, allocations: 35.89 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.102e-06/1.045, allocations: 1.094 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02243/1.068, allocations: 4.291 MB / 1.614 GB, free: 128.1 MB / 0.8542 GB