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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002001/0.002001, allocations: 190.5 kB / 22.23 MB, free: 5.16 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.446/1.446, allocations: 225.6 MB / 251 MB, free: 13 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.202/3.202, allocations: 0.4893 GB / 0.7884 GB, free: 33.33 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.CalendarTimeMonthsMinus,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.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.44 kB / 1.145 GB, free: 30.52 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3794, allocations: 174.9 MB / 1.316 GB, free: 9.633 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003125/0.3825, allocations: 1.537 MB / 1.317 GB, free: 8.086 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001459/0.384, allocations: 0.5345 MB / 1.318 GB, free: 7.551 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.3841, allocations: 11.94 kB / 1.318 GB, free: 7.539 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.3842, allocations: 3.938 kB / 1.318 GB, free: 7.535 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3843, allocations: 31.84 kB / 1.318 GB, free: 7.504 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009743/0.3853, allocations: 314.5 kB / 1.318 GB, free: 7.199 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0007127/0.386, allocations: 487.5 kB / 1.319 GB, free: 6.723 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.3861, allocations: 11.98 kB / 1.319 GB, free: 6.711 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005503/0.3866, allocations: 283.6 kB / 1.319 GB, free: 6.434 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.387, allocations: 159.4 kB / 1.319 GB, free: 6.277 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.3871, allocations: 28 kB / 1.319 GB, free: 6.25 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.3872, allocations: 24 kB / 1.319 GB, free: 6.227 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.3873, allocations: 107.7 kB / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.3875, allocations: 187 kB / 1.32 GB, free: 5.938 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.3881, allocations: 434.3 kB / 1.32 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3881, allocations: 4 kB / 1.32 GB, free: 5.508 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.613e-06/0.3881, allocations: 0 / 1.32 GB, free: 5.508 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.267e-05/0.3881, allocations: 0 / 1.32 GB, free: 5.508 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.001393/0.3895, allocations: 0.799 MB / 1.321 GB, free: 4.637 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3895, allocations: 8.031 kB / 1.321 GB, free: 4.629 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.3897, allocations: 52.7 kB / 1.321 GB, free: 4.578 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.3901, allocations: 264.7 kB / 1.321 GB, free: 4.297 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.3902, allocations: 8.375 kB / 1.321 GB, free: 4.289 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.3903, allocations: 32.36 kB / 1.321 GB, free: 4.258 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.3912, allocations: 214 kB / 1.321 GB, free: 4.043 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3913, allocations: 4.125 kB / 1.321 GB, free: 4.039 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.3913, allocations: 7.922 kB / 1.321 GB, free: 4.031 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3913, allocations: 0 / 1.321 GB, free: 4.031 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.392, allocations: 99.92 kB / 1.321 GB, free: 3.934 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.3925, allocations: 364.3 kB / 1.322 GB, free: 3.535 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3935, allocations: 174.4 kB / 1.322 GB, free: 3.355 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007297/0.3943, allocations: 104.8 kB / 1.322 GB, free: 3.25 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3943, allocations: 0 / 1.322 GB, free: 3.25 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009608/0.3952, allocations: 221 kB / 1.322 GB, free: 3.023 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.3952, allocations: 0 / 1.322 GB, free: 3.023 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.002482/0.3977, allocations: 499.7 kB / 1.323 GB, free: 2.531 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.3978, allocations: 63.39 kB / 1.323 GB, free: 2.457 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.3984, allocations: 409.9 kB / 1.323 GB, free: 2.043 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 8.951e-05/0.3985, allocations: 41.69 kB / 1.323 GB, free: 1.996 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3986, allocations: 93.41 kB / 1.323 GB, free: 1.902 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 6.46e-05/0.3986, allocations: 39.73 kB / 1.323 GB, free: 1.863 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.3989, allocations: 125.5 kB / 1.323 GB, free: 1.734 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002162/0.3991, allocations: 326.8 kB / 1.324 GB, free: 1.406 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.3994, allocations: 115.9 kB / 1.324 GB, free: 1.293 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.3997, allocations: 177.9 kB / 1.324 GB, free: 1.098 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.4002, allocations: 278.9 kB / 1.324 GB, free: 0.793 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4002, allocations: 4 kB / 1.324 GB, free: 0.7891 MB / 1.014 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009039/0.4011, allocations: 486.4 kB / 1.325 GB, free: 304 kB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.4012, allocations: 95.3 kB / 1.325 GB, free: 196 kB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4012, allocations: 4 kB / 1.325 GB, free: 192 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4012, allocations: 192 / 1.325 GB, free: 192 kB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.4014, allocations: 31.86 kB / 1.325 GB, free: 160 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4014, allocations: 4 kB / 1.325 GB, free: 156 kB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.4019, allocations: 55.84 kB / 1.325 GB, free: 100 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.402, allocations: 63.97 kB / 1.325 GB, free: 36 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.0003407/0.4024, allocations: 191.7 kB / 1.325 GB, free: 15.84 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.4024, allocations: 43.7 kB / 1.325 GB, free: 15.8 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.4025, allocations: 39.69 kB / 1.325 GB, free: 15.76 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4025, allocations: 4 kB / 1.325 GB, free: 15.76 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4025, allocations: 0 / 1.325 GB, free: 15.76 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4025, allocations: 3.984 kB / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.4048, allocations: 0.7165 MB / 1.326 GB, free: 14.98 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4048, allocations: 0 / 1.326 GB, free: 14.98 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.4048, allocations: 8 kB / 1.326 GB, free: 14.98 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4048, allocations: 0 / 1.326 GB, free: 14.98 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.4048, allocations: 19.97 kB / 1.326 GB, free: 14.96 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4048, allocations: 0 / 1.326 GB, free: 14.96 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4048, allocations: 3.938 kB / 1.326 GB, free: 14.95 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.4066, allocations: 487.3 kB / 1.327 GB, free: 14.46 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.4069, allocations: 137.5 kB / 1.327 GB, free: 14.32 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.4069, allocations: 8 kB / 1.327 GB, free: 14.32 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.4074, allocations: 35.91 kB / 1.327 GB, free: 14.28 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.4075, allocations: 15.98 kB / 1.327 GB, free: 14.27 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.4075, allocations: 55.97 kB / 1.327 GB, free: 14.21 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0003717/0.4079, allocations: 295.1 kB / 1.327 GB, free: 13.92 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7e-08/0.4079, allocations: 0 / 1.327 GB, free: 13.92 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004437/0.4083, allocations: 67.98 kB / 1.327 GB, free: 13.86 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.0001881/0.4085, allocations: 116.3 kB / 1.327 GB, free: 13.73 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001438/0.41, allocations: 420.2 kB / 1.328 GB, free: 13.3 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.41, allocations: 0 / 1.328 GB, free: 13.3 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007585/0.4107, allocations: 108.2 kB / 1.328 GB, free: 13.19 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.4111, allocations: 39.44 kB / 1.328 GB, free: 13.16 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.4128, allocations: 0.5489 MB / 1.328 GB, free: 12.58 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.4133, allocations: 0.7707 MB / 1.329 GB, free: 11.79 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 8.238e-05/0.4134, allocations: 13.08 kB / 1.329 GB, free: 11.77 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.4134, allocations: 19.44 kB / 1.329 GB, free: 11.75 MB / 1.029 GB
Notification: Performance of SimCode: time 1.252e-06/0.4134, allocations: 0 / 1.329 GB, free: 11.75 MB / 1.029 GB
Notification: Performance of Templates: time 0.0115/0.4249, allocations: 5.017 MB / 1.334 GB, free: 6.637 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.117772536352277]