Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001854/0.001854, allocations: 103 kB / 16.45 MB, free: 6.449 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.001829/0.001829, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.568/1.568, allocations: 230.5 MB / 252.8 MB, free: 9.129 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.609/3.609, allocations: 0.4899 GB / 0.7915 GB, free: 33.36 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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.002097/0.002097, allocations: 70.41 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4008, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003122/0.4039, allocations: 1.749 MB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.4053, allocations: 0.6344 MB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.4054, allocations: 0 / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.4055, allocations: 11.81 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.4056, allocations: 35.78 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008719/0.4065, allocations: 370.2 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006773/0.4071, allocations: 0.593 MB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4073, allocations: 25.05 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.4077, allocations: 319.5 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.408, allocations: 155.4 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.4081, allocations: 40 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.4082, allocations: 44 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.4083, allocations: 127.6 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.4086, allocations: 219 kB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.4092, allocations: 0.5956 MB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4092, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4092, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.4093, allocations: 0 / 1.326 GB, free: 13.88 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001497/0.4108, allocations: 0.9248 MB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4108, allocations: 8.031 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.4109, allocations: 56.66 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.4114, allocations: 338.5 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.4114, allocations: 24.36 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.4115, allocations: 40.36 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.4127, allocations: 233.9 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4127, allocations: 192 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.4127, allocations: 7.938 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4127, allocations: 7.938 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.4136, allocations: 117.3 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.415, allocations: 0.6642 MB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.4162, allocations: 174.5 kB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008353/0.417, allocations: 104.8 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.4171, allocations: 3.984 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.4181, allocations: 231.3 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.4181, allocations: 3.938 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002834/0.421, allocations: 0.4959 MB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.421, allocations: 55.41 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.4215, allocations: 441.9 kB / 1.33 GB, free: 9.758 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.676e-05/0.4216, allocations: 41.69 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4217, allocations: 105.4 kB / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.4218, allocations: 47.72 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.422, allocations: 137.4 kB / 1.33 GB, free: 9.418 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4222, allocations: 326.8 kB / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.4225, allocations: 139.9 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.4229, allocations: 189.9 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.4233, allocations: 298.9 kB / 1.331 GB, free: 8.422 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4233, allocations: 0 / 1.331 GB, free: 8.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009541/0.4243, allocations: 0.5202 MB / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.4244, allocations: 99.31 kB / 1.332 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4244, allocations: 4 kB / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4244, allocations: 0 / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.4246, allocations: 23.97 kB / 1.332 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.4246, allocations: 7.938 kB / 1.332 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.4251, allocations: 60.03 kB / 1.332 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4252, allocations: 59.98 kB / 1.332 GB, free: 7.621 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002901/0.4255, allocations: 217 kB / 1.332 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.4256, allocations: 47.72 kB / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.4257, allocations: 39.73 kB / 1.332 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4257, allocations: 4 kB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4257, allocations: 0 / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.4257, allocations: 7.984 kB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.4282, allocations: 0.7795 MB / 1.333 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4282, allocations: 0 / 1.333 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.4282, allocations: 11.92 kB / 1.333 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4282, allocations: 4 kB / 1.333 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.4283, allocations: 19.98 kB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4283, allocations: 7.922 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4283, allocations: 4 kB / 1.333 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.4302, allocations: 482 kB / 1.333 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.4305, allocations: 252.5 kB / 1.334 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.4306, allocations: 16 kB / 1.334 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.4311, allocations: 36.52 kB / 1.334 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.4312, allocations: 8 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.4313, allocations: 55.97 kB / 1.334 GB, free: 5.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004026/0.4317, allocations: 323.1 kB / 1.334 GB, free: 5.238 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4317, allocations: 0 / 1.334 GB, free: 5.238 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000445/0.4321, allocations: 67.98 kB / 1.334 GB, free: 5.172 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002266/0.4323, allocations: 127.2 kB / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.4338, allocations: 446.5 kB / 1.335 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4338, allocations: 0 / 1.335 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008234/0.4346, allocations: 111.9 kB / 1.335 GB, free: 4.465 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.435, allocations: 45.45 kB / 1.335 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.4368, allocations: 0.6059 MB / 1.335 GB, free: 3.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.4372, allocations: 0.7901 MB / 1.336 GB, free: 2.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.77e-05/0.4373, allocations: 13.42 kB / 1.336 GB, free: 2.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.4373, allocations: 15.44 kB / 1.336 GB, free: 2.941 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/0.4374, allocations: 0 / 1.336 GB, free: 2.941 MB / 1.029 GB Notification: Performance of Templates: time 0.01062/0.448, allocations: 5.442 MB / 1.342 GB, free: 13.41 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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: 9.906876344699413]