Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001385/0.001385, 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.001493/0.001493, allocations: 191.3 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.431/1.431, 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.804/2.804, allocations: 476.7 MB / 0.7646 GB, free: 9.895 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus")
translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 71.88 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8207, allocations: 168.8 MB / 1.274 GB, free: 4.172 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00274/0.8234, allocations: 1.535 MB / 1.276 GB, free: 2.625 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001319/0.8248, allocations: 0.5501 MB / 1.276 GB, free: 2.074 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.8248, allocations: 0 / 1.276 GB, free: 2.074 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.8249, allocations: 7.875 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.825, allocations: 23.86 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008133/0.8258, allocations: 314.5 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0005641/0.8264, allocations: 487.5 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.8264, allocations: 3.938 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.8268, allocations: 283.6 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.8271, allocations: 157.8 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.8272, allocations: 35.94 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.8273, allocations: 28 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.8274, allocations: 111.7 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.8276, allocations: 187 kB / 1.278 GB, free: 484 kB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.8281, allocations: 432.7 kB / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8281, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.343e-06/0.8281, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.851e-06/0.8281, allocations: 0 / 1.278 GB, free: 56 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.001275/0.8294, allocations: 0.7952 MB / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.8294, allocations: 15.97 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.8295, allocations: 52.7 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.8299, allocations: 260.8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.83, allocations: 12.38 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.8301, allocations: 28.36 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000967/0.831, allocations: 213.5 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.831, allocations: 4.125 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.8311, allocations: 11.94 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8311, allocations: 4 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.8318, allocations: 99.92 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.8323, allocations: 356.3 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.8333, allocations: 172 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000746/0.8341, allocations: 104.8 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.8341, allocations: 0 / 1.28 GB, free: 13.8 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009477/0.835, allocations: 231 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.835, allocations: 0 / 1.281 GB, free: 13.56 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=16): time 0.002535/0.8376, allocations: 487.6 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.8376, allocations: 59.41 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/0.8381, allocations: 409.9 kB / 1.282 GB, free: 12.6 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.8381, allocations: 37.7 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.8382, allocations: 101.4 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.8383, allocations: 43.67 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.8385, allocations: 129.5 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001507/0.8386, allocations: 318.8 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.8389, allocations: 115.9 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.8392, allocations: 185.8 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.8396, allocations: 271.7 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8396, allocations: 4 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008626/0.8405, allocations: 492.6 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 9.516e-05/0.8406, allocations: 91.31 kB / 1.283 GB, free: 10.74 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.8406, allocations: 4 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.8406, allocations: 4 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.8408, allocations: 27.91 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.8408, allocations: 7.938 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.8413, allocations: 59.97 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/0.8414, allocations: 63.98 kB / 1.283 GB, free: 10.57 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.0002332/0.8416, allocations: 191.7 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.8417, allocations: 39.7 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.162e-05/0.8417, allocations: 39.69 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8417, allocations: 8 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8417, allocations: 0 / 1.284 GB, free: 10.29 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8417, allocations: 3.984 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.844, allocations: 0.7162 MB / 1.284 GB, free: 9.516 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.844, allocations: 4 kB / 1.284 GB, free: 9.512 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.844, allocations: 7.938 kB / 1.284 GB, free: 9.504 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.844, allocations: 0 / 1.284 GB, free: 9.504 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.8441, allocations: 19.97 kB / 1.284 GB, free: 9.484 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8441, allocations: 0 / 1.284 GB, free: 9.484 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8441, allocations: 0 / 1.284 GB, free: 9.484 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.8458, allocations: 480.7 kB / 1.285 GB, free: 9 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.8462, allocations: 133.5 kB / 1.285 GB, free: 8.871 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.8463, allocations: 11.98 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.8467, allocations: 31.97 kB / 1.285 GB, free: 8.828 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.8468, allocations: 7.984 kB / 1.285 GB, free: 8.82 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/0.8469, allocations: 71.91 kB / 1.285 GB, free: 8.75 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0004073/0.8473, allocations: 291.1 kB / 1.285 GB, free: 8.473 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.8473, allocations: 0 / 1.285 GB, free: 8.473 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0004597/0.8477, allocations: 67.98 kB / 1.285 GB, free: 8.406 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.0002153/0.848, allocations: 111.2 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.00132/0.8493, allocations: 414.4 kB / 1.286 GB, free: 7.855 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8493, allocations: 0 / 1.286 GB, free: 7.855 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007416/0.85, allocations: 105.9 kB / 1.286 GB, free: 7.754 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.8504, allocations: 33.34 kB / 1.286 GB, free: 7.719 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.8522, allocations: 0.5593 MB / 1.287 GB, free: 7.133 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.8526, allocations: 0.7747 MB / 1.287 GB, free: 6.332 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 7.127e-05/0.8527, allocations: 13.08 kB / 1.287 GB, free: 6.32 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.8528, allocations: 19.42 kB / 1.287 GB, free: 6.301 MB / 0.9825 GB
Notification: Performance of SimCode: time 9.82e-07/0.8528, allocations: 0 / 1.287 GB, free: 6.301 MB / 0.9825 GB
Notification: Performance of Templates: time 0.01023/0.863, allocations: 5.023 MB / 1.292 GB, free: 1.18 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.78937703371048]