Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, 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.001589/0.001589, allocations: 192 kB / 16.14 MB, free: 6.711 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 67.44 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3769, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003239/0.3802, allocations: 1.571 MB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3817, allocations: 0.6027 MB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.3818, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.3819, allocations: 11.92 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.3821, allocations: 19.86 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.3829, allocations: 290.5 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004635/0.3833, allocations: 447.4 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.272e-05/0.3834, allocations: 8 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.3838, allocations: 303 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.3841, allocations: 167.2 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.366e-05/0.3842, allocations: 12 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.3843, allocations: 16 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.3845, allocations: 107.7 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.3848, allocations: 186.8 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.3854, allocations: 418.9 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3854, allocations: 3.984 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3854, allocations: 0 / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3854, allocations: 0 / 1.056 GB, free: 4.734 MB / 0.8106 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.001875/0.3873, allocations: 0.8704 MB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3873, allocations: 16.02 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002906/0.3876, allocations: 48.47 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.3882, allocations: 318.1 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.3882, allocations: 20.38 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/0.3883, allocations: 28.36 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3894, allocations: 210 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3894, allocations: 4.125 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.3895, allocations: 7.938 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3895, allocations: 0 / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008203/0.3903, allocations: 103.9 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.3909, allocations: 377.3 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.392, allocations: 186.4 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008363/0.3929, allocations: 108.8 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.3929, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.3941, allocations: 235.4 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.826e-06/0.3941, allocations: 0 / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002816/0.3969, allocations: 484.9 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.397, allocations: 63.38 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.3974, allocations: 413.8 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.3975, allocations: 41.69 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.3976, allocations: 93.45 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.3976, allocations: 31.55 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.3979, allocations: 137.3 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.398, allocations: 322.8 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.3983, allocations: 115.9 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.3987, allocations: 168 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.3991, allocations: 282.6 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3991, allocations: 4 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008581/0.4, allocations: 498.2 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.119e-05/0.4001, allocations: 91.31 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4001, allocations: 4 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4001, allocations: 4 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.4003, allocations: 19.92 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.4003, allocations: 7.984 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/0.401, allocations: 59.8 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/0.4011, allocations: 67.95 kB / 1.061 GB, free: 15.05 MB / 0.8262 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.0003922/0.4015, allocations: 192 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.4016, allocations: 47.45 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.4016, allocations: 39.75 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4017, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.4017, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4017, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.4041, allocations: 0.7503 MB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4041, allocations: 3.938 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.4041, allocations: 4 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4041, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.4042, allocations: 27.97 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4042, allocations: 0 / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4042, allocations: 0 / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.406, allocations: 482.7 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.4063, allocations: 200.5 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.4064, allocations: 8 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.4069, allocations: 27.97 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.4069, allocations: 11.98 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.407, allocations: 55.97 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003616/0.4074, allocations: 295.1 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4075, allocations: 4 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004467/0.4079, allocations: 67.98 kB / 1.063 GB, free: 12.77 MB / 0.8262 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.0002033/0.4081, allocations: 120.7 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.4095, allocations: 434.8 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4095, allocations: 4.062 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007868/0.4103, allocations: 118.7 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.4107, allocations: 41.41 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.4123, allocations: 0.6624 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.4128, allocations: 0.7749 MB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.893e-05/0.4129, allocations: 13.08 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.4129, allocations: 23.38 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.4129, allocations: 0 / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.01017/0.4231, allocations: 4.962 MB / 1.07 GB, free: 5.449 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches