Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001377/0.001377, 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.001382/0.001382, allocations: 216 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.3/3.3, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.CalendarTimeMonthsMinus,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.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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [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.002033/0.002033, allocations: 62.44 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3991, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003245/0.4024, allocations: 1.552 MB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.4037, allocations: 0.5482 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.4038, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.4039, allocations: 15.8 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.404, allocations: 23.88 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.4049, allocations: 316.3 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000731/0.4056, allocations: 487.5 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.4057, allocations: 4 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.4061, allocations: 287.6 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.4064, allocations: 151.4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.333e-05/0.4065, allocations: 28 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/0.4066, allocations: 28 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.4067, allocations: 111.7 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.407, allocations: 187 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.4075, allocations: 438.3 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4075, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4075, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4075, allocations: 0 / 1.331 GB, free: 13.34 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.001308/0.4088, allocations: 0.7989 MB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4088, allocations: 8.031 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.409, allocations: 52.7 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.4095, allocations: 260.8 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.4095, allocations: 12.36 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.4096, allocations: 36.36 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.4105, allocations: 206 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4105, allocations: 192 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.4105, allocations: 7.922 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4105, allocations: 7.938 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006985/0.4112, allocations: 111.8 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.4117, allocations: 356.3 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009302/0.4126, allocations: 158.5 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/0.4133, allocations: 104.8 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.4133, allocations: 3.938 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009161/0.4142, allocations: 229.1 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.4142, allocations: 3.938 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002374/0.4166, allocations: 485 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.4167, allocations: 59.39 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.4171, allocations: 413.9 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/0.4172, allocations: 41.69 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.4173, allocations: 97.44 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-05/0.4174, allocations: 43.67 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.4176, allocations: 125.5 kB / 1.335 GB, free: 9.566 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4177, allocations: 326.8 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.418, allocations: 111.9 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.4183, allocations: 177.8 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.4186, allocations: 274.7 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4187, allocations: 3.938 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008205/0.4195, allocations: 494.2 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.91e-05/0.4196, allocations: 95.31 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.4196, allocations: 0 / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4196, allocations: 4 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.4198, allocations: 15.98 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.4198, allocations: 7.938 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.4202, allocations: 59.83 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4204, allocations: 68.02 kB / 1.336 GB, free: 7.871 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.0002392/0.4206, allocations: 184.3 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.4207, allocations: 47.66 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.4207, allocations: 47.67 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4207, allocations: 3.938 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4207, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4208, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.4229, allocations: 0.7149 MB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4229, allocations: 0 / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.4229, allocations: 11.92 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4229, allocations: 0 / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.423, allocations: 15.98 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.423, allocations: 4 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.423, allocations: 0 / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.4246, allocations: 487.4 kB / 1.338 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.425, allocations: 133.5 kB / 1.338 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.425, allocations: 8 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.4255, allocations: 35.95 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.4255, allocations: 11.98 kB / 1.338 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.4256, allocations: 55.98 kB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003222/0.4259, allocations: 295 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4259, allocations: 0 / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003777/0.4263, allocations: 75.98 kB / 1.338 GB, free: 5.695 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.0001811/0.4265, allocations: 120.8 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.4277, allocations: 409.3 kB / 1.339 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4277, allocations: 384 / 1.339 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.4285, allocations: 115.8 kB / 1.339 GB, free: 5.031 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.4288, allocations: 29.58 kB / 1.339 GB, free: 5.004 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.4303, allocations: 0.5877 MB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.4308, allocations: 0.7708 MB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.4308, allocations: 19.42 kB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4308, allocations: 0 / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of Templates: time 0.006665/0.4375, allocations: 3.683 MB / 1.344 GB, free: 15.83 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.696377078013029]