Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001733/0.001733, allocations: 110 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.001928/0.001928, allocations: 192.8 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.434/1.434, 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-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.324/3.324, allocations: 496 MB / 0.7835 GB, free: 33.71 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-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.CalendarTimeMonths,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.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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 66.89 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 173.6 MB / 1.307 GB, free: 1.789 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.0028/0.3564, allocations: 1.537 MB / 1.309 GB, free: 248 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001326/0.3577, allocations: 0.5383 MB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.3577, allocations: 4 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.3578, allocations: 11.86 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.358, allocations: 23.86 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.3588, allocations: 322.8 kB / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005757/0.3593, allocations: 487.4 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.3594, allocations: 4 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.3598, allocations: 275.7 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.3601, allocations: 151.7 kB / 1.311 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.3601, allocations: 24 kB / 1.311 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.027e-05/0.3602, allocations: 28 kB / 1.311 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.3603, allocations: 119.6 kB / 1.311 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.3605, allocations: 183.1 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.361, allocations: 434.3 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.361, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.202e-06/0.361, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.781e-06/0.361, allocations: 3.938 kB / 1.311 GB, free: 13.67 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.001253/0.3623, allocations: 0.7951 MB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3623, allocations: 16.91 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.3624, allocations: 56.7 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.3628, allocations: 256.7 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.3629, allocations: 20.36 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.363, allocations: 28.36 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.3639, allocations: 217.9 kB / 1.313 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.364, allocations: 192 / 1.313 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.364, allocations: 7.922 kB / 1.313 GB, free: 12.19 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.364, allocations: 4 kB / 1.313 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.3647, allocations: 95.92 kB / 1.313 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.3652, allocations: 360.4 kB / 1.313 GB, free: 11.7 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009816/0.3662, allocations: 158.5 kB / 1.313 GB, free: 11.53 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/0.3669, allocations: 112.8 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.3669, allocations: 0 / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009499/0.3679, allocations: 220.2 kB / 1.314 GB, free: 11.19 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.933e-06/0.3679, allocations: 0 / 1.314 GB, free: 11.19 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.002415/0.3703, allocations: 494 kB / 1.314 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.3704, allocations: 63.41 kB / 1.314 GB, free: 10.63 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.3708, allocations: 409.9 kB / 1.314 GB, free: 10.21 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.3709, allocations: 41.7 kB / 1.314 GB, free: 10.17 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.371, allocations: 97.38 kB / 1.315 GB, free: 10.07 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.371, allocations: 47.61 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.3712, allocations: 129.5 kB / 1.315 GB, free: 9.891 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001549/0.3714, allocations: 318.8 kB / 1.315 GB, free: 9.57 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.3717, allocations: 123.9 kB / 1.315 GB, free: 9.449 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.372, allocations: 169.9 kB / 1.315 GB, free: 9.262 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.3724, allocations: 283.1 kB / 1.316 GB, free: 8.953 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3724, allocations: 0 / 1.316 GB, free: 8.953 MB / 1.014 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008524/0.3732, allocations: 492.6 kB / 1.316 GB, free: 8.453 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 9.821e-05/0.3733, allocations: 91.31 kB / 1.316 GB, free: 8.352 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3733, allocations: 0 / 1.316 GB, free: 8.352 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3734, allocations: 4.188 kB / 1.316 GB, free: 8.348 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.3735, allocations: 31.91 kB / 1.316 GB, free: 8.316 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3735, allocations: 4 kB / 1.316 GB, free: 8.312 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.374, allocations: 59.84 kB / 1.316 GB, free: 8.254 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.3741, allocations: 55.98 kB / 1.316 GB, free: 8.199 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.0002327/0.3743, allocations: 191.7 kB / 1.316 GB, free: 8 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.3744, allocations: 59.62 kB / 1.317 GB, free: 7.941 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.3744, allocations: 35.69 kB / 1.317 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3744, allocations: 0 / 1.317 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3745, allocations: 0 / 1.317 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3745, allocations: 0 / 1.317 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.3766, allocations: 0.7261 MB / 1.317 GB, free: 7.133 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3766, allocations: 0 / 1.317 GB, free: 7.133 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.3766, allocations: 4 kB / 1.317 GB, free: 7.129 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3766, allocations: 0 / 1.317 GB, free: 7.129 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.3767, allocations: 23.97 kB / 1.317 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3767, allocations: 4 kB / 1.317 GB, free: 7.102 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3767, allocations: 4 kB / 1.317 GB, free: 7.098 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.3783, allocations: 471.4 kB / 1.318 GB, free: 6.621 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.3786, allocations: 129.5 kB / 1.318 GB, free: 6.492 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.3787, allocations: 19.98 kB / 1.318 GB, free: 6.473 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.3791, allocations: 27.97 kB / 1.318 GB, free: 6.445 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.3791, allocations: 7.984 kB / 1.318 GB, free: 6.438 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.3792, allocations: 67.91 kB / 1.318 GB, free: 6.371 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0003027/0.3795, allocations: 291.1 kB / 1.318 GB, free: 6.09 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.3e-07/0.3795, allocations: 4 kB / 1.318 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000363/0.3799, allocations: 60 kB / 1.318 GB, free: 6.027 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.0001531/0.38, allocations: 116 kB / 1.318 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001225/0.3813, allocations: 413.4 kB / 1.319 GB, free: 5.477 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3813, allocations: 0 / 1.319 GB, free: 5.477 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.382, allocations: 108.3 kB / 1.319 GB, free: 5.371 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3823, allocations: 34.89 kB / 1.319 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.3838, allocations: 0.555 MB / 1.32 GB, free: 4.758 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.3842, allocations: 0.7708 MB / 1.32 GB, free: 3.961 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.346e-05/0.3842, allocations: 21.02 kB / 1.32 GB, free: 3.941 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.3843, allocations: 19.42 kB / 1.32 GB, free: 3.922 MB / 1.014 GB
Notification: Performance of SimCode: time 9.52e-07/0.3843, allocations: 0 / 1.32 GB, free: 3.922 MB / 1.014 GB
Notification: Performance of Templates: time 0.009321/0.3936, allocations: 5.02 MB / 1.325 GB, free: 14.8 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.073431834578514]