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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002297/0.002297, allocations: 213.1 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.197/3.197, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 71.34 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3533, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003113/0.3564, allocations: 1.542 MB / 1.356 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3578, allocations: 0.5462 MB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.3579, allocations: 0 / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.358, allocations: 11.86 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.3581, allocations: 31.58 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009348/0.3591, allocations: 317.2 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005816/0.3596, allocations: 495.4 kB / 1.357 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.3597, allocations: 4 kB / 1.357 GB, free: 5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.3601, allocations: 271.7 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.3604, allocations: 155.5 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/0.3605, allocations: 28 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-05/0.3606, allocations: 28 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.3607, allocations: 115.7 kB / 1.358 GB, free: 4.414 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.3609, allocations: 187 kB / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.3614, allocations: 430.4 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3614, allocations: 0 / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3614, allocations: 0 / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.3614, allocations: 0 / 1.358 GB, free: 3.809 MB / 1.045 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.001282/0.3627, allocations: 0.7989 MB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3627, allocations: 12.03 kB / 1.359 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3628, allocations: 48.7 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.3632, allocations: 256.8 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.3633, allocations: 28.3 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.3634, allocations: 24.36 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.3643, allocations: 209.1 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3643, allocations: 192 / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.3644, allocations: 7.938 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3644, allocations: 4 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.3651, allocations: 103.9 kB / 1.36 GB, free: 2.234 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.3655, allocations: 360.3 kB / 1.36 GB, free: 1.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/0.3665, allocations: 170.5 kB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/0.3672, allocations: 100.8 kB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3672, allocations: 7.984 kB / 1.36 GB, free: 1.555 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009273/0.3681, allocations: 225.1 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.3681, allocations: 0 / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002447/0.3706, allocations: 485 kB / 1.361 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3706, allocations: 71.31 kB / 1.361 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.3711, allocations: 409.9 kB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.3711, allocations: 41.69 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.3712, allocations: 97.44 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.3713, allocations: 39.69 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.3715, allocations: 133.5 kB / 1.362 GB, free: 32 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3716, allocations: 318.8 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3719, allocations: 119.9 kB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.3722, allocations: 173.8 kB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.3726, allocations: 283.4 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3726, allocations: 0 / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008246/0.3734, allocations: 494.3 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.836e-05/0.3735, allocations: 95.31 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3735, allocations: 0 / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3735, allocations: 4 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.3737, allocations: 27.86 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3737, allocations: 4 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.3742, allocations: 59.83 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.3743, allocations: 64.08 kB / 1.363 GB, free: 14.33 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.0002305/0.3745, allocations: 187.7 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.3746, allocations: 47.66 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.345e-05/0.3747, allocations: 43.67 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3747, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3747, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3747, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.3768, allocations: 0.7221 MB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3768, allocations: 0 / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.3769, allocations: 7.984 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3769, allocations: 0 / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.3769, allocations: 15.98 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3769, allocations: 4 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3769, allocations: 4 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.3785, allocations: 479.4 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.3788, allocations: 133.5 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.3789, allocations: 12 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.3793, allocations: 39.89 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.3794, allocations: 7.984 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.3795, allocations: 55.98 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003135/0.3798, allocations: 295.1 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3798, allocations: 4 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003534/0.3801, allocations: 67.98 kB / 1.365 GB, free: 12.16 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.0001587/0.3803, allocations: 115.2 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.3815, allocations: 408.5 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3815, allocations: 384 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.3822, allocations: 115.8 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3825, allocations: 29.58 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.384, allocations: 0.5838 MB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3844, allocations: 0.7708 MB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.3845, allocations: 27.36 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3845, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of Templates: time 0.005986/0.3905, allocations: 3.671 MB / 1.371 GB, free: 6.297 MB / 1.061 GB " [Timeout remaining time 300] 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.23356037598569]