Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00203/0.00203, allocations: 110 kB / 18.84 MB, free: 3.008 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.002303/0.002303, allocations: 184 kB / 22.1 MB, free: 4.621 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.495/1.495, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.215/3.215, allocations: 495.8 MB / 0.783 GB, free: 33.57 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.CalendarTimeMonthsPlus,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.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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 66.09 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003514/0.3343, allocations: 1.542 MB / 1.308 GB, free: 348 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001481/0.3358, allocations: 0.5432 MB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.3358, allocations: 0 / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.3359, allocations: 7.875 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.3361, allocations: 27.84 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008178/0.3369, allocations: 326.5 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005789/0.3375, allocations: 487.4 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.3375, allocations: 11.98 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.3379, allocations: 271.7 kB / 1.31 GB, free: 14.69 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.3382, allocations: 151.7 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 9.457e-05/0.3383, allocations: 28 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.509e-05/0.3384, allocations: 31.94 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.3386, allocations: 111.7 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.3388, allocations: 187 kB / 1.31 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.3393, allocations: 430.3 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3393, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.413e-06/0.3393, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.502e-06/0.3393, allocations: 0 / 1.311 GB, free: 13.77 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.001332/0.3406, allocations: 0.799 MB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3407, allocations: 16.03 kB / 1.312 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.3408, allocations: 48.7 kB / 1.312 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.3412, allocations: 260.7 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.3412, allocations: 16.38 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.3413, allocations: 24.36 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3424, allocations: 221.5 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3424, allocations: 4.125 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.3424, allocations: 11.94 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3424, allocations: 0 / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007918/0.3432, allocations: 95.92 kB / 1.312 GB, free: 12.19 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.3437, allocations: 360.3 kB / 1.313 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.3448, allocations: 162.5 kB / 1.313 GB, free: 11.63 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/0.3456, allocations: 104.8 kB / 1.313 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.3456, allocations: 7.984 kB / 1.313 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.3466, allocations: 223.1 kB / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.3466, allocations: 0 / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.002741/0.3494, allocations: 498.8 kB / 1.313 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.3494, allocations: 59.39 kB / 1.314 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.3499, allocations: 409.9 kB / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.35, allocations: 41.69 kB / 1.314 GB, free: 10.26 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.3501, allocations: 97.45 kB / 1.314 GB, free: 10.16 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.3501, allocations: 39.69 kB / 1.314 GB, free: 10.12 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.3504, allocations: 125.5 kB / 1.314 GB, free: 9.996 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001537/0.3505, allocations: 322.8 kB / 1.315 GB, free: 9.672 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.3508, allocations: 119.9 kB / 1.315 GB, free: 9.555 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.3511, allocations: 185.8 kB / 1.315 GB, free: 9.352 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.3515, allocations: 271.2 kB / 1.315 GB, free: 9.055 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3515, allocations: 4 kB / 1.315 GB, free: 9.051 MB / 1.014 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008842/0.3524, allocations: 490.5 kB / 1.316 GB, free: 8.555 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 9.63e-05/0.3525, allocations: 99.3 kB / 1.316 GB, free: 8.445 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3525, allocations: 0 / 1.316 GB, free: 8.445 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3525, allocations: 4 kB / 1.316 GB, free: 8.441 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.3527, allocations: 19.92 kB / 1.316 GB, free: 8.422 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3527, allocations: 4 kB / 1.316 GB, free: 8.418 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.3532, allocations: 67.97 kB / 1.316 GB, free: 8.352 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/0.3533, allocations: 59.98 kB / 1.316 GB, free: 8.293 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.000278/0.3536, allocations: 195.7 kB / 1.316 GB, free: 8.09 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.3537, allocations: 39.7 kB / 1.316 GB, free: 8.051 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.3537, allocations: 43.69 kB / 1.316 GB, free: 8.012 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3537, allocations: 4 kB / 1.316 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3537, allocations: 0 / 1.316 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3537, allocations: 3.984 kB / 1.316 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.3561, allocations: 0.7168 MB / 1.317 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.3561, allocations: 8 kB / 1.317 GB, free: 7.227 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.3562, allocations: 11.94 kB / 1.317 GB, free: 7.215 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3562, allocations: 0 / 1.317 GB, free: 7.215 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.3562, allocations: 19.97 kB / 1.317 GB, free: 7.195 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3562, allocations: 4 kB / 1.317 GB, free: 7.191 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3562, allocations: 0 / 1.317 GB, free: 7.191 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.3581, allocations: 485.2 kB / 1.317 GB, free: 6.703 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.3584, allocations: 137.5 kB / 1.317 GB, free: 6.566 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/0.3585, allocations: 12 kB / 1.317 GB, free: 6.555 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.359, allocations: 27.97 kB / 1.317 GB, free: 6.527 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.359, allocations: 7.984 kB / 1.317 GB, free: 6.52 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.3591, allocations: 63.97 kB / 1.318 GB, free: 6.457 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0003531/0.3595, allocations: 295.1 kB / 1.318 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.3595, allocations: 0 / 1.318 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000414/0.3599, allocations: 67.92 kB / 1.318 GB, free: 6.105 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.0001949/0.3601, allocations: 116.8 kB / 1.318 GB, free: 5.98 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.001413/0.3615, allocations: 406.4 kB / 1.318 GB, free: 5.559 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3615, allocations: 3.938 kB / 1.318 GB, free: 5.555 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007932/0.3623, allocations: 111.3 kB / 1.318 GB, free: 5.449 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.3627, allocations: 34.75 kB / 1.318 GB, free: 5.418 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.3643, allocations: 0.5594 MB / 1.319 GB, free: 4.832 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.3647, allocations: 0.7708 MB / 1.32 GB, free: 4.035 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.623e-05/0.3648, allocations: 13.08 kB / 1.32 GB, free: 4.02 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.3648, allocations: 19.44 kB / 1.32 GB, free: 4.004 MB / 1.014 GB
Notification: Performance of SimCode: time 5.11e-07/0.3648, allocations: 0 / 1.32 GB, free: 4.004 MB / 1.014 GB
Notification: Performance of Templates: time 0.009845/0.3747, allocations: 5.019 MB / 1.325 GB, free: 14.89 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.147300598211586]