Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.0015, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 472.7 MB / 0.7452 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 62.27 kB / 0.9121 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3511, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002693/0.3539, allocations: 1.525 MB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3551, allocations: 0.5343 MB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.3552, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.492e-05/0.3553, allocations: 19.86 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3554, allocations: 31.78 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.3561, allocations: 306.4 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.3566, allocations: 0.4917 MB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.3567, allocations: 11.98 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.357, allocations: 271.6 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.3572, allocations: 139.6 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.654e-05/0.3573, allocations: 28 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.3574, allocations: 28 kB / 1.072 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3575, allocations: 115.7 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3577, allocations: 187 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.3582, allocations: 430.9 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3582, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3582, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3582, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 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.001145/0.3593, allocations: 0.8587 MB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3594, allocations: 8.031 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.3595, allocations: 52.47 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.3599, allocations: 318.2 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.3599, allocations: 12.36 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.36, allocations: 32.36 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.361, allocations: 206 kB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.361, allocations: 4.188 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.3611, allocations: 3.938 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3611, allocations: 7.984 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.3618, allocations: 107.9 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3623, allocations: 389.2 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.3633, allocations: 178.4 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.3641, allocations: 112.8 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.3641, allocations: 11.88 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009406/0.3651, allocations: 220.4 kB / 1.075 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3651, allocations: 0 / 1.075 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002486/0.3676, allocations: 489.8 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3677, allocations: 59.34 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.3681, allocations: 413.9 kB / 1.076 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.3681, allocations: 41.7 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.3682, allocations: 93.44 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.3683, allocations: 43.44 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.3685, allocations: 129.3 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3686, allocations: 318.8 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.3688, allocations: 123.9 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.3691, allocations: 176.2 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.3695, allocations: 279.3 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3695, allocations: 0 / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008145/0.3703, allocations: 488.7 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.489e-05/0.3704, allocations: 92.88 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3704, allocations: 7.984 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3705, allocations: 4 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.3706, allocations: 23.92 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3707, allocations: 4.188 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.3712, allocations: 63.73 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.51e-05/0.3713, allocations: 63.97 kB / 1.077 GB, free: 0.6367 MB / 0.8262 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.0002201/0.3715, allocations: 192 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.3716, allocations: 39.47 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.3716, allocations: 43.75 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3716, allocations: 7.984 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3716, allocations: 0 / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3717, allocations: 0 / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.3738, allocations: 0.7457 MB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3739, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.3739, allocations: 8 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3739, allocations: 3.984 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.374, allocations: 15.98 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.374, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.374, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.3757, allocations: 482.7 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.376, allocations: 204.5 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.376, allocations: 11.98 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.3765, allocations: 31.97 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.3766, allocations: 11.98 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.04e-05/0.3766, allocations: 55.92 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002806/0.3769, allocations: 295.1 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.903e-06/0.3769, allocations: 0 / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003512/0.3773, allocations: 71.92 kB / 1.08 GB, free: 14.35 MB / 0.8419 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.0001542/0.3775, allocations: 120.6 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.3787, allocations: 448.2 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3788, allocations: 0 / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.3796, allocations: 119.9 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.3799, allocations: 35.25 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3814, allocations: 0.5536 MB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3818, allocations: 0.7669 MB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.727e-05/0.3818, allocations: 17.08 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.3819, allocations: 19.42 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3819, allocations: 0 / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of Templates: time 0.008409/0.3903, allocations: 4.964 MB / 1.086 GB, free: 7.148 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches