Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.00161/0.00161, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001911/0.001911, allocations: 220 kB / 22.99 MB, free: 4.91 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.236/3.236, allocations: 0.4892 GB / 0.7951 GB, free: 35.6 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [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.002052/0.002052, allocations: 74.12 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003405/0.3748, allocations: 1.521 MB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3762, allocations: 0.5228 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.3763, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.3764, allocations: 7.875 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.3765, allocations: 35.84 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.3776, allocations: 307.7 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.3783, allocations: 495.4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.3783, allocations: 11.98 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.3788, allocations: 275.6 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.3792, allocations: 139.6 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.3794, allocations: 28 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3795, allocations: 28 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3796, allocations: 119.6 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.3798, allocations: 155.3 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.3803, allocations: 434.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3803, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3803, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.3804, allocations: 0 / 1.33 GB, free: 13.82 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.001464/0.3818, allocations: 0.7911 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3819, allocations: 12.03 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.382, allocations: 56.69 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.3825, allocations: 252.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.3825, allocations: 20.3 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.3826, allocations: 32.3 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000943/0.3836, allocations: 206 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3836, allocations: 192 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.3836, allocations: 11.92 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3836, allocations: 8 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006913/0.3843, allocations: 95.92 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.3847, allocations: 277.1 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009835/0.3857, allocations: 170.4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/0.3864, allocations: 108.7 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3864, allocations: 4 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009127/0.3873, allocations: 221.6 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3873, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00241/0.3897, allocations: 485 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.3898, allocations: 67.38 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.3902, allocations: 417.8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.3903, allocations: 41.69 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.3904, allocations: 89.45 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.3904, allocations: 43.69 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.3906, allocations: 121.5 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3908, allocations: 326.8 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.3911, allocations: 191.3 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.3914, allocations: 243.9 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.3918, allocations: 280.3 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3918, allocations: 4 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008564/0.3927, allocations: 0.5471 MB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.3928, allocations: 87.41 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3928, allocations: 7.922 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.3928, allocations: 7.938 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3929, allocations: 23.92 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.393, allocations: 3.984 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.3934, allocations: 59.84 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.174e-05/0.3935, allocations: 55.98 kB / 1.335 GB, free: 8.207 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.0002377/0.3937, allocations: 200.2 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.3938, allocations: 39.72 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.3939, allocations: 47.61 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3939, allocations: 0 / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3939, allocations: 0 / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3939, allocations: 4 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.396, allocations: 0.6765 MB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.396, allocations: 3.938 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.3961, allocations: 7.984 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3961, allocations: 0 / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.3961, allocations: 27.91 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3961, allocations: 0 / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3961, allocations: 0 / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.3978, allocations: 483.4 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.3981, allocations: 133.5 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.3981, allocations: 12 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.3986, allocations: 31.95 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.3986, allocations: 11.98 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/0.3987, allocations: 59.97 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003152/0.399, allocations: 295.1 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.399, allocations: 0 / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003454/0.3993, allocations: 60 kB / 1.337 GB, free: 6.082 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.000163/0.3995, allocations: 124.9 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.4008, allocations: 483.6 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4008, allocations: 0 / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.4015, allocations: 111.8 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.4018, allocations: 33.58 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4033, allocations: 0.5901 MB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.4035, allocations: 170.8 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.4036, allocations: 19.42 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4036, allocations: 4 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of Templates: time 0.006127/0.4097, allocations: 3.68 MB / 1.342 GB, free: 0.7305 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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: 11.455033847130835]