Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001885/0.001885, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002306/0.002306, allocations: 163.2 kB / 22.46 MB, free: 5.375 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.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.695/2.695, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.077e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002773/0.002804, allocations: 1.517 MB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.004185, allocations: 0.5365 MB / 0.9529 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.004239, allocations: 4 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.004342, allocations: 11.86 kB / 0.953 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.004475, allocations: 31.78 kB / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.00536, allocations: 322 kB / 0.9533 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.00593, allocations: 487.4 kB / 0.9538 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.005979, allocations: 11.98 kB / 0.9538 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.006488, allocations: 351.6 kB / 0.9541 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.006778, allocations: 131.7 kB / 0.9542 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.006883, allocations: 28 kB / 0.9543 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.193e-05/0.006975, allocations: 24 kB / 0.9543 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.007121, allocations: 119.7 kB / 0.9544 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.007298, allocations: 127.7 kB / 0.9545 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.007841, allocations: 470.7 kB / 0.955 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.007844, allocations: 0 / 0.955 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.51e-07/0.007845, allocations: 0 / 0.955 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.007851, allocations: 0 / 0.955 GB, free: 7.469 MB / 0.8575 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.001334/0.009184, allocations: 0.7989 MB / 0.9557 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.009234, allocations: 12.02 kB / 0.9558 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.009364, allocations: 52.7 kB / 0.9558 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.009754, allocations: 260 kB / 0.9561 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.009803, allocations: 20.3 kB / 0.9561 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.00989, allocations: 28.36 kB / 0.9561 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.01096, allocations: 230.9 kB / 0.9563 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.01097, allocations: 4.125 kB / 0.9563 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.01101, allocations: 8.359 kB / 0.9563 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.01102, allocations: 384 / 0.9563 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008322/0.01185, allocations: 111.9 kB / 0.9564 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.01227, allocations: 281.1 kB / 0.9567 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.01341, allocations: 182.5 kB / 0.9569 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/0.01424, allocations: 116.8 kB / 0.957 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.01426, allocations: 0 / 0.957 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.01532, allocations: 247 kB / 0.9572 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.01532, allocations: 0 / 0.9572 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002827/0.01814, allocations: 0.5142 MB / 0.9577 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.01821, allocations: 63.39 kB / 0.9578 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.01871, allocations: 413.8 kB / 0.9582 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.01879, allocations: 41.69 kB / 0.9582 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01889, allocations: 93.45 kB / 0.9583 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.01895, allocations: 51.61 kB / 0.9584 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.01916, allocations: 121.5 kB / 0.9585 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.01931, allocations: 326.8 kB / 0.9588 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.01965, allocations: 195.3 kB / 0.959 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.02002, allocations: 249.2 kB / 0.9592 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.02045, allocations: 267.2 kB / 0.9595 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02045, allocations: 0 / 0.9595 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009364/0.02138, allocations: 0.5625 MB / 0.96 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/0.02147, allocations: 79.38 kB / 0.9601 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.02148, allocations: 4 kB / 0.9601 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.0215, allocations: 4 kB / 0.9601 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.02167, allocations: 19.92 kB / 0.9601 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.02169, allocations: 11.92 kB / 0.9601 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.0222, allocations: 68.03 kB / 0.9602 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/0.02229, allocations: 59.98 kB / 0.9603 GB, free: 1.727 MB / 0.8575 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.000246/0.02254, allocations: 195.7 kB / 0.9604 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.0226, allocations: 43.72 kB / 0.9605 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/0.02268, allocations: 43.67 kB / 0.9605 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.02268, allocations: 0 / 0.9605 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.02269, allocations: 3.938 kB / 0.9605 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.02269, allocations: 3.938 kB / 0.9605 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.02509, allocations: 0.7051 MB / 0.9612 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.0251, allocations: 0 / 0.9612 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.02515, allocations: 15.92 kB / 0.9612 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.02515, allocations: 7.938 kB / 0.9612 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.02519, allocations: 23.91 kB / 0.9613 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.0252, allocations: 3.984 kB / 0.9613 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.0252, allocations: 8 kB / 0.9613 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.02712, allocations: 0.4947 MB / 0.9618 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.02742, allocations: 133.5 kB / 0.9619 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.0275, allocations: 15.94 kB / 0.9619 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.02802, allocations: 39.95 kB / 0.9619 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.02807, allocations: 7.984 kB / 0.9619 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.278e-05/0.02815, allocations: 63.97 kB / 0.962 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003415/0.02849, allocations: 295.1 kB / 0.9623 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.02849, allocations: 0 / 0.9623 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003932/0.02888, allocations: 64 kB / 0.9624 GB, free: 15.51 MB / 0.8731 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.0001886/0.02907, allocations: 126.3 kB / 0.9625 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.03052, allocations: 497.8 kB / 0.9629 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.03052, allocations: 0 / 0.9629 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008442/0.03136, allocations: 119.9 kB / 0.9631 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.03178, allocations: 34.02 kB / 0.9631 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.03339, allocations: 0.558 MB / 0.9636 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.03358, allocations: 167 kB / 0.9638 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.071e-05/0.03365, allocations: 17.14 kB / 0.9638 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.0337, allocations: 16.5 kB / 0.9638 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.0337, allocations: 0 / 0.9638 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.01049/0.04419, allocations: 5.87 MB / 0.9696 GB, free: 8 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: 7.92831714078784]