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.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.001694/0.001694, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002179/0.002179, allocations: 217.4 kB / 23.04 MB, free: 4.844 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.173/3.173, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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: 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.002027/0.002027, allocations: 61.38 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002863/0.3479, allocations: 1.525 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3492, allocations: 0.5318 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.3493, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.706e-05/0.3494, allocations: 3.938 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.3495, allocations: 35.78 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.3503, allocations: 312.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000554/0.3508, allocations: 491.4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.3509, allocations: 11.94 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.3513, allocations: 279.6 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.3516, allocations: 139.6 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.553e-05/0.3517, allocations: 28 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.3517, allocations: 32 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.3519, allocations: 111.7 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.3521, allocations: 159.3 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.3526, allocations: 426.4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3526, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3526, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3526, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 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.001269/0.3538, allocations: 0.7989 MB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3539, allocations: 12.03 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.354, allocations: 52.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.3544, allocations: 268.6 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.3544, allocations: 20.34 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.3545, allocations: 24.38 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009394/0.3554, allocations: 230 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3555, allocations: 192 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3555, allocations: 7.938 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3555, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000743/0.3562, allocations: 119.9 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3566, allocations: 281 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/0.3576, allocations: 178.5 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/0.3583, allocations: 124.8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.3583, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009229/0.3593, allocations: 231.5 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.175e-06/0.3593, allocations: 4 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002479/0.3617, allocations: 0.5262 MB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.3618, allocations: 71.39 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.3623, allocations: 413.9 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.3623, allocations: 37.7 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.3624, allocations: 93.44 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.3625, allocations: 47.62 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.3627, allocations: 129.5 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3628, allocations: 322.8 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.3632, allocations: 191.3 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.3635, allocations: 249.2 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.3639, allocations: 274.8 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3639, allocations: 0 / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008869/0.3648, allocations: 0.5563 MB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.272e-05/0.3649, allocations: 83.31 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.3649, allocations: 8.188 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.365, allocations: 7.938 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3651, allocations: 19.92 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3651, allocations: 4 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.3656, allocations: 67.83 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/0.3657, allocations: 67.97 kB / 1.336 GB, free: 7.117 MB / 1.029 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.0002425/0.3659, allocations: 196.2 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.366, allocations: 39.72 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.867e-05/0.3661, allocations: 47.61 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3661, allocations: 3.938 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3661, allocations: 4 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3661, allocations: 3.984 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.3682, allocations: 0.7051 MB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3682, allocations: 7.938 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.3683, allocations: 4 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3683, allocations: 3.984 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.3683, allocations: 19.98 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3683, allocations: 0 / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3683, allocations: 0 / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.37, allocations: 0.5169 MB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.3703, allocations: 141.5 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.3703, allocations: 8 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.3708, allocations: 35.97 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.3708, allocations: 15.97 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/0.3709, allocations: 55.98 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003228/0.3712, allocations: 295.1 kB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3712, allocations: 0 / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003966/0.3716, allocations: 67.98 kB / 1.338 GB, free: 4.898 MB / 1.029 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.0001711/0.3718, allocations: 124.5 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.3731, allocations: 489.9 kB / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3731, allocations: 0 / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.3738, allocations: 134.4 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3742, allocations: 31.95 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3757, allocations: 0.5959 MB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.3759, allocations: 171 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.3759, allocations: 15.42 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.3759, allocations: 0 / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of Templates: time 0.006219/0.3822, allocations: 3.699 MB / 1.344 GB, free: 15.51 MB / 1.045 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/jenkins1/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] "" 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.373104779049754]