Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 101.8 kB / 18.83 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 193.3 kB / 22.1 MB, free: 4.625 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 250.8 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.161/3.161, allocations: 495.8 MB / 0.783 GB, free: 33.52 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus")
translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 59.28 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3812, allocations: 173.6 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002937/0.3841, allocations: 1.54 MB / 1.308 GB, free: 356 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001375/0.3855, allocations: 0.5423 MB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.3856, allocations: 0 / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.3857, allocations: 11.88 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.3858, allocations: 27.84 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.3866, allocations: 310.2 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0006194/0.3873, allocations: 495.4 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.3873, allocations: 8 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004048/0.3877, allocations: 275.7 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.388, allocations: 143.7 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.3881, allocations: 35.94 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.3882, allocations: 24 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.3884, allocations: 119.7 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.3886, allocations: 187 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.3891, allocations: 426.3 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3891, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.523e-06/0.3891, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.662e-06/0.3891, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 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.001372/0.3905, allocations: 0.8107 MB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3905, allocations: 8.031 kB / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.3906, allocations: 48.7 kB / 1.312 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.3911, allocations: 256.7 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.3911, allocations: 20.36 kB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.3912, allocations: 24.38 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.3923, allocations: 217.9 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3923, allocations: 8.188 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.3923, allocations: 3.938 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3923, allocations: 3.938 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/0.3931, allocations: 98.67 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.3936, allocations: 360.3 kB / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.3947, allocations: 170.4 kB / 1.313 GB, free: 11.63 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008257/0.3956, allocations: 100.8 kB / 1.313 GB, free: 11.53 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3956, allocations: 4 kB / 1.313 GB, free: 11.53 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.3966, allocations: 223.1 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.684e-06/0.3966, allocations: 3.938 kB / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.002797/0.3994, allocations: 494.2 kB / 1.313 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.3995, allocations: 59.39 kB / 1.314 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.4, allocations: 409.9 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 7.886e-05/0.4001, allocations: 45.69 kB / 1.314 GB, free: 10.27 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.4002, allocations: 101.4 kB / 1.314 GB, free: 10.17 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.4002, allocations: 39.7 kB / 1.314 GB, free: 10.13 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.4004, allocations: 121.5 kB / 1.314 GB, free: 10 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001601/0.4006, allocations: 326.8 kB / 1.315 GB, free: 9.676 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.4009, allocations: 119.9 kB / 1.315 GB, free: 9.559 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.4012, allocations: 173.9 kB / 1.315 GB, free: 9.367 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.4016, allocations: 275.7 kB / 1.315 GB, free: 9.066 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.4016, allocations: 0 / 1.315 GB, free: 9.066 MB / 1.014 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009202/0.4026, allocations: 496.6 kB / 1.316 GB, free: 8.562 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 9.763e-05/0.4027, allocations: 92.41 kB / 1.316 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4027, allocations: 0 / 1.316 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4027, allocations: 4 kB / 1.316 GB, free: 8.457 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.4029, allocations: 27.92 kB / 1.316 GB, free: 8.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4029, allocations: 0 / 1.316 GB, free: 8.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.4034, allocations: 67.97 kB / 1.316 GB, free: 8.363 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/0.4035, allocations: 59.97 kB / 1.316 GB, free: 8.305 MB / 1.014 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.0002693/0.4038, allocations: 191.7 kB / 1.316 GB, free: 8.105 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.4039, allocations: 39.7 kB / 1.316 GB, free: 8.066 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.4039, allocations: 43.67 kB / 1.316 GB, free: 8.027 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4039, allocations: 4 kB / 1.316 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4039, allocations: 0 / 1.316 GB, free: 8.023 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4039, allocations: 4 kB / 1.316 GB, free: 8.02 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.4064, allocations: 0.7208 MB / 1.317 GB, free: 7.246 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4064, allocations: 4 kB / 1.317 GB, free: 7.242 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.4064, allocations: 7.984 kB / 1.317 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.4064, allocations: 4 kB / 1.317 GB, free: 7.23 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.4065, allocations: 19.98 kB / 1.317 GB, free: 7.211 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.4065, allocations: 0 / 1.317 GB, free: 7.211 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4065, allocations: 0 / 1.317 GB, free: 7.211 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.4084, allocations: 489.2 kB / 1.317 GB, free: 6.719 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.4088, allocations: 141.5 kB / 1.317 GB, free: 6.578 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.4088, allocations: 8 kB / 1.317 GB, free: 6.57 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005032/0.4093, allocations: 31.95 kB / 1.317 GB, free: 6.539 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.4094, allocations: 15.98 kB / 1.317 GB, free: 6.523 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.4094, allocations: 55.92 kB / 1.318 GB, free: 6.469 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0003417/0.4098, allocations: 295.1 kB / 1.318 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.4098, allocations: 0 / 1.318 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004248/0.4102, allocations: 67.98 kB / 1.318 GB, free: 6.117 MB / 1.014 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.0001804/0.4104, allocations: 116 kB / 1.318 GB, free: 5.992 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.00142/0.4118, allocations: 422.3 kB / 1.318 GB, free: 5.555 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4118, allocations: 0 / 1.318 GB, free: 5.555 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008151/0.4126, allocations: 110.9 kB / 1.318 GB, free: 5.449 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.413, allocations: 29.95 kB / 1.318 GB, free: 5.422 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.4147, allocations: 0.5589 MB / 1.319 GB, free: 4.836 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.4151, allocations: 0.7669 MB / 1.32 GB, free: 4.043 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.94e-05/0.4152, allocations: 13.08 kB / 1.32 GB, free: 4.027 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.4152, allocations: 15.44 kB / 1.32 GB, free: 4.016 MB / 1.014 GB
Notification: Performance of SimCode: time 5.41e-07/0.4152, allocations: 0 / 1.32 GB, free: 4.016 MB / 1.014 GB
Notification: Performance of Templates: time 0.01034/0.4256, allocations: 5.028 MB / 1.325 GB, free: 14.89 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.059824195690453]