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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001422/0.001422, allocations: 189.8 kB / 22.23 MB, free: 5.102 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.474/1.474, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.356/3.356, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.09 kB / 1.145 GB, free: 30.58 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 174.9 MB / 1.316 GB, free: 9.789 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003083/0.3383, allocations: 1.535 MB / 1.317 GB, free: 8.246 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001406/0.3397, allocations: 0.5384 MB / 1.318 GB, free: 7.707 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3398, allocations: 3.938 kB / 1.318 GB, free: 7.703 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.3399, allocations: 11.92 kB / 1.318 GB, free: 7.691 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.34, allocations: 27.86 kB / 1.318 GB, free: 7.664 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.3408, allocations: 314.5 kB / 1.318 GB, free: 7.359 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005523/0.3414, allocations: 495.4 kB / 1.319 GB, free: 6.875 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.3414, allocations: 7.938 kB / 1.319 GB, free: 6.867 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.3418, allocations: 283.6 kB / 1.319 GB, free: 6.59 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.3421, allocations: 155.5 kB / 1.319 GB, free: 6.438 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 9.306e-05/0.3422, allocations: 31.94 kB / 1.319 GB, free: 6.406 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.3423, allocations: 28 kB / 1.319 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.3424, allocations: 115.7 kB / 1.319 GB, free: 6.266 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.3426, allocations: 187 kB / 1.32 GB, free: 6.082 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.3431, allocations: 426.4 kB / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3431, allocations: 0 / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.803e-06/0.3431, allocations: 0 / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.694e-06/0.3431, allocations: 0 / 1.32 GB, free: 5.664 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.001341/0.3445, allocations: 0.7951 MB / 1.321 GB, free: 4.797 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3445, allocations: 8.031 kB / 1.321 GB, free: 4.789 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.3447, allocations: 56.69 kB / 1.321 GB, free: 4.734 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.3451, allocations: 264.6 kB / 1.321 GB, free: 4.453 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.3451, allocations: 16.36 kB / 1.321 GB, free: 4.438 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.3452, allocations: 28.36 kB / 1.321 GB, free: 4.41 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.3463, allocations: 210 kB / 1.321 GB, free: 4.199 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3463, allocations: 4.172 kB / 1.321 GB, free: 4.195 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.3463, allocations: 7.938 kB / 1.321 GB, free: 4.188 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3463, allocations: 4 kB / 1.321 GB, free: 4.184 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008383/0.3472, allocations: 99.91 kB / 1.321 GB, free: 4.086 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.3476, allocations: 352.4 kB / 1.322 GB, free: 3.699 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.3488, allocations: 166.4 kB / 1.322 GB, free: 3.527 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008171/0.3496, allocations: 104.8 kB / 1.322 GB, free: 3.422 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3496, allocations: 0 / 1.322 GB, free: 3.422 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.3507, allocations: 223.2 kB / 1.322 GB, free: 3.191 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3507, allocations: 3.938 kB / 1.322 GB, free: 3.188 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.002836/0.3535, allocations: 499.9 kB / 1.323 GB, free: 2.695 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3535, allocations: 59.39 kB / 1.323 GB, free: 2.625 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.354, allocations: 413.9 kB / 1.323 GB, free: 2.207 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.3541, allocations: 41.69 kB / 1.323 GB, free: 2.16 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.3542, allocations: 101.4 kB / 1.323 GB, free: 2.059 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.3542, allocations: 35.73 kB / 1.323 GB, free: 2.023 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.3544, allocations: 125.5 kB / 1.323 GB, free: 1.895 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001475/0.3546, allocations: 322.8 kB / 1.324 GB, free: 1.57 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.3548, allocations: 115.9 kB / 1.324 GB, free: 1.457 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.3551, allocations: 174.5 kB / 1.324 GB, free: 1.266 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.3555, allocations: 287.1 kB / 1.324 GB, free: 0.9531 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3555, allocations: 0 / 1.324 GB, free: 0.9531 MB / 1.014 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.000883/0.3564, allocations: 484.7 kB / 1.325 GB, free: 472 kB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 9.001e-05/0.3565, allocations: 95.25 kB / 1.325 GB, free: 364 kB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3565, allocations: 4 kB / 1.325 GB, free: 360 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3565, allocations: 4 kB / 1.325 GB, free: 356 kB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3567, allocations: 20.11 kB / 1.325 GB, free: 336 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3567, allocations: 11.98 kB / 1.325 GB, free: 324 kB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.3572, allocations: 59.78 kB / 1.325 GB, free: 264 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3573, allocations: 67.97 kB / 1.325 GB, free: 196 kB / 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.000235/0.3576, allocations: 187.7 kB / 1.325 GB, free: 0 / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.3576, allocations: 39.7 kB / 1.325 GB, free: 15.96 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.3577, allocations: 47.67 kB / 1.325 GB, free: 15.92 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3577, allocations: 8 kB / 1.325 GB, free: 15.91 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3577, allocations: 0 / 1.325 GB, free: 15.91 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3577, allocations: 0 / 1.325 GB, free: 15.91 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.3602, allocations: 0.7204 MB / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3602, allocations: 0 / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.3602, allocations: 7.984 kB / 1.326 GB, free: 15.13 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3602, allocations: 0 / 1.326 GB, free: 15.13 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.3603, allocations: 15.98 kB / 1.326 GB, free: 15.11 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3603, allocations: 3.984 kB / 1.326 GB, free: 15.11 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3603, allocations: 3.984 kB / 1.326 GB, free: 15.11 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.3622, allocations: 479.4 kB / 1.327 GB, free: 14.62 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.3625, allocations: 133.5 kB / 1.327 GB, free: 14.49 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/0.3626, allocations: 8 kB / 1.327 GB, free: 14.48 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.3631, allocations: 35.95 kB / 1.327 GB, free: 14.45 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.3631, allocations: 11.98 kB / 1.327 GB, free: 14.43 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/0.3632, allocations: 55.98 kB / 1.327 GB, free: 14.38 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0003128/0.3635, allocations: 291.1 kB / 1.327 GB, free: 14.09 MB / 1.029 GB
Notification: Performance of sort global known variables: time 9e-08/0.3635, allocations: 0 / 1.327 GB, free: 14.09 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0003788/0.3639, allocations: 71.98 kB / 1.327 GB, free: 14.02 MB / 1.029 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.0001758/0.3641, allocations: 112.3 kB / 1.327 GB, free: 13.9 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001399/0.3655, allocations: 424.2 kB / 1.328 GB, free: 13.46 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3655, allocations: 0 / 1.328 GB, free: 13.46 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008505/0.3663, allocations: 111.8 kB / 1.328 GB, free: 13.36 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3667, allocations: 39.53 kB / 1.328 GB, free: 13.32 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.3683, allocations: 0.5469 MB / 1.328 GB, free: 12.75 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.3687, allocations: 0.7707 MB / 1.329 GB, free: 11.95 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 7.33e-05/0.3688, allocations: 17.08 kB / 1.329 GB, free: 11.93 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3689, allocations: 15.44 kB / 1.329 GB, free: 11.92 MB / 1.029 GB
Notification: Performance of SimCode: time 8.01e-07/0.3689, allocations: 0 / 1.329 GB, free: 11.92 MB / 1.029 GB
Notification: Performance of Templates: time 0.009855/0.3787, allocations: 5.032 MB / 1.334 GB, free: 6.793 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.12616213876754]