Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 482.6 MB / 0.7549 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001927, allocations: 71.64 kB / 0.9241 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3559, allocations: 162.3 MB / 1.083 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002809/0.3587, allocations: 1.511 MB / 1.084 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.36, allocations: 0.5397 MB / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.3601, allocations: 0 / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.331e-05/0.3602, allocations: 15.88 kB / 1.085 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3603, allocations: 31.78 kB / 1.085 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007567/0.361, allocations: 315.2 kB / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005949/0.3616, allocations: 0.5033 MB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.3617, allocations: 7.984 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.3621, allocations: 271.7 kB / 1.086 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.3624, allocations: 131.6 kB / 1.086 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.3625, allocations: 28 kB / 1.086 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3626, allocations: 28 kB / 1.086 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.3628, allocations: 119.7 kB / 1.086 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.363, allocations: 187 kB / 1.086 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.3635, allocations: 423 kB / 1.087 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3635, allocations: 7.938 kB / 1.087 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3635, allocations: 0 / 1.087 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.3635, allocations: 0 / 1.087 GB, free: 8.898 MB / 0.8419 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.00135/0.3649, allocations: 0.8625 MB / 1.087 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3649, allocations: 8.031 kB / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.3651, allocations: 60.47 kB / 1.087 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.3655, allocations: 314.2 kB / 1.088 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.3656, allocations: 12.36 kB / 1.088 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.303e-05/0.3657, allocations: 32.36 kB / 1.088 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3668, allocations: 210 kB / 1.088 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3668, allocations: 192 / 1.088 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.3668, allocations: 7.922 kB / 1.088 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3668, allocations: 8 kB / 1.088 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008122/0.3677, allocations: 99.86 kB / 1.088 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.3682, allocations: 393.2 kB / 1.088 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.3693, allocations: 178.5 kB / 1.089 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/0.3701, allocations: 104.8 kB / 1.089 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3702, allocations: 4 kB / 1.089 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.3712, allocations: 224.7 kB / 1.089 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3712, allocations: 3.938 kB / 1.089 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002682/0.3739, allocations: 484.9 kB / 1.089 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.374, allocations: 59.41 kB / 1.089 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.3744, allocations: 413.9 kB / 1.09 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.3745, allocations: 41.64 kB / 1.09 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3746, allocations: 101.3 kB / 1.09 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.3747, allocations: 39.53 kB / 1.09 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.3749, allocations: 125.3 kB / 1.09 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3751, allocations: 322.8 kB / 1.09 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.3754, allocations: 119.9 kB / 1.091 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.3757, allocations: 181.9 kB / 1.091 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.3761, allocations: 274.7 kB / 1.091 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3761, allocations: 3.938 kB / 1.091 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000928/0.3771, allocations: 498.7 kB / 1.092 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/0.3772, allocations: 91.31 kB / 1.092 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3772, allocations: 0 / 1.092 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3772, allocations: 4 kB / 1.092 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.3774, allocations: 19.98 kB / 1.092 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3774, allocations: 3.938 kB / 1.092 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.3779, allocations: 63.98 kB / 1.092 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3781, allocations: 67.91 kB / 1.092 GB, free: 3.223 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.0002441/0.3783, allocations: 188 kB / 1.092 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.3784, allocations: 39.47 kB / 1.092 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.3785, allocations: 43.73 kB / 1.092 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3785, allocations: 7.938 kB / 1.092 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3785, allocations: 4 kB / 1.092 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3785, allocations: 0 / 1.092 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.3808, allocations: 0.7356 MB / 1.093 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3808, allocations: 11.98 kB / 1.093 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.3809, allocations: 15.92 kB / 1.093 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3809, allocations: 0 / 1.093 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.3809, allocations: 15.98 kB / 1.093 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/0.381, allocations: 4 kB / 1.093 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.381, allocations: 3.984 kB / 1.093 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.3828, allocations: 474.7 kB / 1.093 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.3831, allocations: 196.5 kB / 1.093 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.307e-05/0.3832, allocations: 15.98 kB / 1.093 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.3837, allocations: 27.97 kB / 1.093 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.3837, allocations: 11.98 kB / 1.093 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/0.3838, allocations: 59.97 kB / 1.094 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003308/0.3842, allocations: 295.1 kB / 1.094 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3842, allocations: 0 / 1.094 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003789/0.3845, allocations: 60 kB / 1.094 GB, free: 0.9453 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.0001605/0.3847, allocations: 130.7 kB / 1.094 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.3861, allocations: 446.5 kB / 1.094 GB, free: 356 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3862, allocations: 0 / 1.094 GB, free: 356 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00081/0.387, allocations: 119.9 kB / 1.095 GB, free: 236 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3874, allocations: 32.94 kB / 1.095 GB, free: 204 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3889, allocations: 0.5561 MB / 1.095 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.3894, allocations: 0.7708 MB / 1.096 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.971e-05/0.3895, allocations: 13.03 kB / 1.096 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.3895, allocations: 19.42 kB / 1.096 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.3895, allocations: 4 kB / 1.096 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of Templates: time 0.009781/0.3993, allocations: 4.951 MB / 1.101 GB, free: 9.73 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches