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.001619/0.001619, 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.001549/0.001549, allocations: 217.2 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.253/3.253, allocations: 0.49 GB / 0.7958 GB, free: 33.51 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.002026/0.002026, allocations: 69.14 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3983, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00305/0.4013, allocations: 1.541 MB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.4027, allocations: 0.5461 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.4027, allocations: 7.875 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.4028, allocations: 7.938 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.403, allocations: 23.86 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.4038, allocations: 317.4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005782/0.4044, allocations: 483.5 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.4044, allocations: 15.92 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.4048, allocations: 283.7 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.4052, allocations: 155.3 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.804e-05/0.4053, allocations: 28 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.4053, allocations: 24 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.4055, allocations: 107.7 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.4057, allocations: 187 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.4062, allocations: 438.3 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4062, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4062, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.4062, allocations: 4 kB / 1.331 GB, free: 13.3 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.001331/0.4076, allocations: 0.7989 MB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4076, allocations: 8.031 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.4077, allocations: 48.7 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.4082, allocations: 264.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.4082, allocations: 16.38 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/0.4083, allocations: 36.36 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009147/0.4092, allocations: 210 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4092, allocations: 192 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.4092, allocations: 7.875 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4092, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.4099, allocations: 103.9 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.4104, allocations: 360.3 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009341/0.4113, allocations: 174.4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/0.412, allocations: 96.78 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4121, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009145/0.413, allocations: 225.3 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.413, allocations: 0 / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002359/0.4153, allocations: 489 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.4154, allocations: 63.39 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.4159, allocations: 413.9 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.4159, allocations: 45.62 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.416, allocations: 89.45 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.4161, allocations: 47.67 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.4163, allocations: 125.5 kB / 1.335 GB, free: 9.516 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4164, allocations: 326.8 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.4167, allocations: 115.9 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.417, allocations: 169.9 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.4174, allocations: 279.1 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4174, allocations: 0 / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008347/0.4182, allocations: 494.2 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.009e-05/0.4183, allocations: 91.31 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4183, allocations: 7.984 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4183, allocations: 0 / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.4185, allocations: 23.92 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4185, allocations: 4 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.419, allocations: 55.84 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.4191, allocations: 64.08 kB / 1.336 GB, free: 7.828 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.0002383/0.4193, allocations: 196.2 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.4194, allocations: 43.66 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.4194, allocations: 39.69 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4194, allocations: 4 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4194, allocations: 0 / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.4194, allocations: 3.984 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.4216, allocations: 0.7147 MB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4216, allocations: 0 / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.4216, allocations: 4 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4216, allocations: 4 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.4217, allocations: 19.97 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4217, allocations: 4 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4217, allocations: 0 / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.4233, allocations: 487.3 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.4236, allocations: 129.5 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.4237, allocations: 15.98 kB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.4242, allocations: 33.34 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.4242, allocations: 11.98 kB / 1.338 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.4243, allocations: 55.97 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003287/0.4246, allocations: 295.1 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4246, allocations: 0 / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003882/0.425, allocations: 71.98 kB / 1.338 GB, free: 5.652 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.0001866/0.4252, allocations: 119.2 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.4264, allocations: 417.1 kB / 1.339 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4264, allocations: 384 / 1.339 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.4271, allocations: 115.8 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.4275, allocations: 35.28 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.4291, allocations: 0.5877 MB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.4296, allocations: 0.7708 MB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.4296, allocations: 11.44 kB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4296, allocations: 0 / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of Templates: time 0.006464/0.4361, allocations: 3.673 MB / 1.344 GB, free: 15.79 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.68198589599342]