Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001818/0.001818, 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.002304/0.002304, allocations: 188.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.544/1.544, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 1.109 GB, free: 6.344 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8132, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003137/0.8163, allocations: 1.526 MB / 1.276 GB, free: 2.672 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001394/0.8177, allocations: 0.5501 MB / 1.276 GB, free: 2.121 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.8178, allocations: 0 / 1.276 GB, free: 2.121 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.8179, allocations: 11.86 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.000121/0.818, allocations: 27.84 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009269/0.819, allocations: 315.7 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0005652/0.8195, allocations: 499.4 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.8196, allocations: 0 / 1.277 GB, free: 1.289 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.82, allocations: 275.7 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.8203, allocations: 151.4 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 7.357e-05/0.8204, allocations: 28 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.8204, allocations: 28 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.8206, allocations: 115.7 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.8208, allocations: 191 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.8212, allocations: 432.8 kB / 1.278 GB, free: 100 kB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8212, allocations: 4 kB / 1.278 GB, free: 96 kB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.8212, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.522e-06/0.8212, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 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.001289/0.8225, allocations: 0.7952 MB / 1.279 GB, free: 15.22 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8226, allocations: 8.031 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.8227, allocations: 60.62 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.8231, allocations: 252.8 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.8232, allocations: 16.36 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.8232, allocations: 32.36 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.8242, allocations: 213.9 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.8242, allocations: 192 / 1.28 GB, free: 14.62 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.8242, allocations: 7.922 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.8242, allocations: 4 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/0.825, allocations: 99.92 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.8254, allocations: 360.3 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009775/0.8264, allocations: 162.4 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.8271, allocations: 108.8 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.8271, allocations: 3.984 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000952/0.8281, allocations: 227.1 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.8281, allocations: 0 / 1.281 GB, free: 13.6 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=16): time 0.002461/0.8305, allocations: 489 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.8306, allocations: 59.41 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.8311, allocations: 405.9 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 6.516e-05/0.8311, allocations: 41.69 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.8312, allocations: 97.42 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.8313, allocations: 43.69 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.8315, allocations: 125.5 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001686/0.8316, allocations: 326.8 kB / 1.282 GB, free: 12 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.8319, allocations: 115.9 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.8322, allocations: 175.4 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.8326, allocations: 279.7 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.8326, allocations: 4 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008448/0.8334, allocations: 490.7 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.8336, allocations: 95.34 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8336, allocations: 4 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.8336, allocations: 4 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.8338, allocations: 23.92 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.8338, allocations: 7.984 kB / 1.283 GB, free: 10.74 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.8342, allocations: 59.78 kB / 1.283 GB, free: 10.68 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.8343, allocations: 59.98 kB / 1.283 GB, free: 10.62 MB / 0.9825 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.0002581/0.8346, allocations: 202 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.8346, allocations: 39.7 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/0.8347, allocations: 43.67 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.8347, allocations: 4 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8347, allocations: 0 / 1.284 GB, free: 10.33 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.8347, allocations: 0 / 1.284 GB, free: 10.33 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.8369, allocations: 0.7262 MB / 1.284 GB, free: 9.555 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8369, allocations: 0 / 1.284 GB, free: 9.555 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.8369, allocations: 7.984 kB / 1.284 GB, free: 9.547 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8369, allocations: 0 / 1.284 GB, free: 9.547 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.837, allocations: 23.97 kB / 1.284 GB, free: 9.523 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.837, allocations: 0 / 1.284 GB, free: 9.523 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.837, allocations: 4 kB / 1.284 GB, free: 9.52 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.8386, allocations: 471.4 kB / 1.285 GB, free: 9.043 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.8389, allocations: 137.5 kB / 1.285 GB, free: 8.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/0.8389, allocations: 8 kB / 1.285 GB, free: 8.902 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.8394, allocations: 35.95 kB / 1.285 GB, free: 8.867 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.8395, allocations: 7.984 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.381e-05/0.8395, allocations: 55.98 kB / 1.285 GB, free: 8.805 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0003087/0.8398, allocations: 303 kB / 1.285 GB, free: 8.516 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9e-08/0.8398, allocations: 0 / 1.285 GB, free: 8.516 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003971/0.8402, allocations: 67.98 kB / 1.285 GB, free: 8.449 MB / 0.9825 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.0001682/0.8404, allocations: 115.2 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.001268/0.8417, allocations: 407.8 kB / 1.286 GB, free: 7.902 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8417, allocations: 0 / 1.286 GB, free: 7.902 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007143/0.8424, allocations: 116.3 kB / 1.286 GB, free: 7.789 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.8428, allocations: 29.58 kB / 1.286 GB, free: 7.754 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.8443, allocations: 0.5511 MB / 1.287 GB, free: 7.176 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.8447, allocations: 0.7708 MB / 1.287 GB, free: 6.379 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 7.249e-05/0.8448, allocations: 17.08 kB / 1.287 GB, free: 6.363 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.8448, allocations: 11.44 kB / 1.287 GB, free: 6.352 MB / 0.9825 GB
Notification: Performance of SimCode: time 9.12e-07/0.8448, allocations: 0 / 1.287 GB, free: 6.352 MB / 0.9825 GB
Notification: Performance of Templates: time 0.01/0.8548, allocations: 5.034 MB / 1.292 GB, free: 1.223 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.92322772461921]