Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001593/0.001593, allocations: 111.5 kB / 17.08 MB, free: 5.75 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.001995/0.001995, allocations: 192.2 kB / 20.03 MB, free: 2.883 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.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 491.4 MB / 0.7708 GB, free: 1.809 MB / 0.6075 GB " [Timeout remaining time 176] 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 55.91 kB / 1.106 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3554, allocations: 164.3 MB / 1.266 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003082/0.3586, allocations: 1.525 MB / 1.268 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.36, allocations: 0.5576 MB / 1.268 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.3601, allocations: 0 / 1.268 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3602, allocations: 7.938 kB / 1.268 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.3603, allocations: 23.8 kB / 1.268 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008906/0.3612, allocations: 311.4 kB / 1.268 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006879/0.3619, allocations: 0.4994 MB / 1.269 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.362, allocations: 11.98 kB / 1.269 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.3625, allocations: 267.6 kB / 1.269 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.3628, allocations: 143.6 kB / 1.269 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.363, allocations: 28 kB / 1.269 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3631, allocations: 28 kB / 1.269 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3632, allocations: 115.7 kB / 1.269 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.3635, allocations: 187 kB / 1.27 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005138/0.364, allocations: 422.4 kB / 1.27 GB, free: 10.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.364, allocations: 0 / 1.27 GB, free: 10.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.343e-06/0.364, allocations: 0 / 1.27 GB, free: 10.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.364, allocations: 0 / 1.27 GB, free: 10.32 MB / 1.061 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.001408/0.3654, allocations: 0.8742 MB / 1.271 GB, free: 9.355 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3655, allocations: 16.03 kB / 1.271 GB, free: 9.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.3656, allocations: 48.7 kB / 1.271 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.366, allocations: 326.5 kB / 1.271 GB, free: 8.938 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.3661, allocations: 20.36 kB / 1.271 GB, free: 8.918 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.3662, allocations: 24.36 kB / 1.271 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009729/0.3672, allocations: 209.2 kB / 1.272 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3672, allocations: 192 / 1.272 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.3672, allocations: 11.94 kB / 1.272 GB, free: 8.676 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3672, allocations: 11.92 kB / 1.272 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.368, allocations: 99.91 kB / 1.272 GB, free: 8.566 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.3685, allocations: 385.3 kB / 1.272 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3695, allocations: 178.4 kB / 1.272 GB, free: 7.957 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.3703, allocations: 108.8 kB / 1.272 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3703, allocations: 0 / 1.272 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009847/0.3713, allocations: 223.2 kB / 1.273 GB, free: 7.617 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.384e-06/0.3713, allocations: 0 / 1.273 GB, free: 7.617 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002684/0.374, allocations: 499.3 kB / 1.273 GB, free: 7.125 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.3741, allocations: 59.39 kB / 1.273 GB, free: 7.055 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004904/0.3746, allocations: 409.9 kB / 1.273 GB, free: 6.645 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/0.3747, allocations: 45.62 kB / 1.273 GB, free: 6.594 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.3748, allocations: 97.44 kB / 1.274 GB, free: 6.496 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.3749, allocations: 47.67 kB / 1.274 GB, free: 6.449 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.3751, allocations: 121.5 kB / 1.274 GB, free: 6.324 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3753, allocations: 326.8 kB / 1.274 GB, free: 5.996 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3755, allocations: 111.9 kB / 1.274 GB, free: 5.887 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.3759, allocations: 170.7 kB / 1.274 GB, free: 5.699 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/0.3763, allocations: 282.9 kB / 1.275 GB, free: 5.391 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3763, allocations: 11.94 kB / 1.275 GB, free: 5.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000879/0.3772, allocations: 484.7 kB / 1.275 GB, free: 4.887 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.685e-05/0.3773, allocations: 93.03 kB / 1.275 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3773, allocations: 4 kB / 1.275 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3774, allocations: 0 / 1.275 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.3775, allocations: 23.92 kB / 1.275 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3776, allocations: 4 kB / 1.275 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.378, allocations: 64.02 kB / 1.275 GB, free: 4.691 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/0.3782, allocations: 55.98 kB / 1.275 GB, free: 4.637 MB / 1.061 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.0002578/0.3784, allocations: 196 kB / 1.275 GB, free: 4.438 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.3785, allocations: 39.7 kB / 1.276 GB, free: 4.398 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.103e-05/0.3786, allocations: 43.73 kB / 1.276 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3786, allocations: 8 kB / 1.276 GB, free: 4.348 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3786, allocations: 0 / 1.276 GB, free: 4.348 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3786, allocations: 0 / 1.276 GB, free: 4.348 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.3808, allocations: 0.7365 MB / 1.276 GB, free: 3.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3808, allocations: 4 kB / 1.276 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.3809, allocations: 7.984 kB / 1.276 GB, free: 3.539 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.3809, allocations: 4 kB / 1.276 GB, free: 3.535 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.3809, allocations: 27.97 kB / 1.276 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3809, allocations: 0 / 1.276 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.381, allocations: 0 / 1.276 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.3827, allocations: 477.1 kB / 1.277 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.383, allocations: 208.6 kB / 1.277 GB, free: 2.805 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.3831, allocations: 19.98 kB / 1.277 GB, free: 2.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.3835, allocations: 23.97 kB / 1.277 GB, free: 2.762 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.3836, allocations: 11.98 kB / 1.277 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/0.3836, allocations: 63.97 kB / 1.277 GB, free: 2.688 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003286/0.384, allocations: 295.1 kB / 1.277 GB, free: 2.398 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.81e-07/0.384, allocations: 0 / 1.277 GB, free: 2.398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003746/0.3844, allocations: 60 kB / 1.277 GB, free: 2.34 MB / 1.061 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.0001556/0.3845, allocations: 116 kB / 1.278 GB, free: 2.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.3859, allocations: 450.4 kB / 1.278 GB, free: 1.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3859, allocations: 0 / 1.278 GB, free: 1.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.3866, allocations: 119.8 kB / 1.278 GB, free: 1.633 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.387, allocations: 37.12 kB / 1.278 GB, free: 1.602 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.3886, allocations: 0.5923 MB / 1.279 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.389, allocations: 0.7669 MB / 1.279 GB, free: 188 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.3891, allocations: 11.44 kB / 1.279 GB, free: 176 kB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3891, allocations: 0 / 1.279 GB, free: 176 kB / 1.061 GB Notification: Performance of Templates: time 0.6449/1.034, allocations: 3.671 MB / 1.283 GB, free: 48.28 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 11.567157128942199]