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.001292/0.001292, allocations: 102.1 kB / 19.7 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.001572/0.001572, allocations: 221.5 kB / 23.01 MB, free: 4.609 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.255/3.255, allocations: 0.49 GB / 0.7958 GB, free: 33.28 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.001991/0.001991, allocations: 63.38 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3897, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003028/0.3928, allocations: 1.551 MB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3941, allocations: 0.5481 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.3942, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.3943, allocations: 11.86 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.3944, allocations: 23.86 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.3952, allocations: 314.9 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.3958, allocations: 491.4 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.3958, allocations: 11.98 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.3962, allocations: 279.7 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.3965, allocations: 147.4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.3966, allocations: 28 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.952e-05/0.3966, allocations: 24 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3968, allocations: 119.6 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.397, allocations: 187 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.3975, allocations: 426.4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.3975, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3975, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3975, allocations: 4 kB / 1.331 GB, free: 13.35 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.001316/0.3988, allocations: 0.8027 MB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3988, allocations: 8.031 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.399, allocations: 56.7 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.3994, allocations: 252.8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.3994, allocations: 16.36 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.3995, allocations: 32.36 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.4004, allocations: 217.9 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4004, allocations: 4.125 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.4004, allocations: 7.922 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.4004, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/0.4011, allocations: 91.92 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.4016, allocations: 364.3 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009523/0.4025, allocations: 158.5 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.4032, allocations: 112.8 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4032, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000907/0.4041, allocations: 223.1 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.4041, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002343/0.4065, allocations: 485 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.4065, allocations: 59.41 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.407, allocations: 413.9 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.407, allocations: 41.7 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.4071, allocations: 89.44 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.4072, allocations: 47.67 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.4074, allocations: 129.4 kB / 1.335 GB, free: 9.574 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4075, allocations: 322.8 kB / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.4078, allocations: 119.9 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.408, allocations: 169.9 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.4084, allocations: 274.8 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4084, allocations: 7.938 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008037/0.4092, allocations: 490.2 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.946e-05/0.4093, allocations: 87.31 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.4093, allocations: 8.188 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4094, allocations: 0 / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.4095, allocations: 31.91 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.4095, allocations: 8 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.41, allocations: 55.84 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/0.4101, allocations: 55.98 kB / 1.336 GB, free: 7.887 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.0002442/0.4103, allocations: 204.2 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.4104, allocations: 47.66 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.4105, allocations: 35.69 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4105, allocations: 4 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.4105, allocations: 0 / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4105, allocations: 0 / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.4126, allocations: 0.7234 MB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4126, allocations: 0 / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.4126, allocations: 4 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4126, allocations: 0 / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.4127, allocations: 23.97 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4127, allocations: 0 / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4127, allocations: 7.875 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.4143, allocations: 483.4 kB / 1.338 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.4146, allocations: 121.6 kB / 1.338 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/0.4147, allocations: 15.98 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.4151, allocations: 31.97 kB / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.4151, allocations: 11.92 kB / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.4152, allocations: 59.97 kB / 1.338 GB, free: 6.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003189/0.4155, allocations: 295.1 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4155, allocations: 0 / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004092/0.4159, allocations: 64 kB / 1.338 GB, free: 5.711 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.0001911/0.4161, allocations: 120.9 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.4174, allocations: 414.4 kB / 1.339 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4174, allocations: 0 / 1.339 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00071/0.4181, allocations: 116.3 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.4184, allocations: 25.58 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.4199, allocations: 0.5916 MB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.4204, allocations: 0.7745 MB / 1.34 GB, free: 3.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.4204, allocations: 11.44 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4204, allocations: 8 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of Templates: time 0.006232/0.4266, allocations: 3.687 MB / 1.344 GB, free: 15.83 MB / 1.045 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.55788678501267]