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.002135/0.002135, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002278/0.002278, allocations: 209.3 kB / 22.99 MB, free: 4.984 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.274/3.274, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002004/0.002004, allocations: 64.2 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.432, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003627/0.4356, allocations: 1.528 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.4371, allocations: 0.5306 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.4372, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.4373, allocations: 3.938 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.4374, allocations: 31.78 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008692/0.4383, allocations: 313.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000604/0.4389, allocations: 487.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.4389, allocations: 8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.4393, allocations: 283.6 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.4396, allocations: 156.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.772e-05/0.4397, allocations: 27.94 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.4398, allocations: 28 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.4399, allocations: 119.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.4401, allocations: 155.3 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.4406, allocations: 426.4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.4406, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4406, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4406, allocations: 4 kB / 1.331 GB, free: 12.91 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.001288/0.4419, allocations: 0.7989 MB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.4419, allocations: 12.03 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.442, allocations: 52.7 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.4425, allocations: 256.7 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.4425, allocations: 20.36 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/0.4426, allocations: 28.36 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.4437, allocations: 210 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.4437, allocations: 192 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.4437, allocations: 7.938 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.4437, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008116/0.4445, allocations: 99.91 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.4449, allocations: 285 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.446, allocations: 170.5 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008025/0.4468, allocations: 100.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.4469, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.4479, allocations: 227.2 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.4479, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002898/0.4508, allocations: 494.8 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.4509, allocations: 63.39 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.4515, allocations: 413.9 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.679e-05/0.4516, allocations: 37.7 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4517, allocations: 97.44 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.4517, allocations: 39.69 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.452, allocations: 129.5 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4522, allocations: 322.8 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.4525, allocations: 191.3 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.4529, allocations: 245.2 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.4534, allocations: 274.4 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4534, allocations: 0 / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001034/0.4544, allocations: 0.5525 MB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.4545, allocations: 79.38 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4545, allocations: 0 / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.4546, allocations: 11.88 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.4548, allocations: 23.92 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4548, allocations: 7.922 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.4553, allocations: 64.03 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4554, allocations: 63.97 kB / 1.336 GB, free: 7.281 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.0002959/0.4557, allocations: 192.2 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.4558, allocations: 39.72 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.472e-05/0.4559, allocations: 47.61 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4559, allocations: 4 kB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.4559, allocations: 0 / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4559, allocations: 0 / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.4584, allocations: 0.6742 MB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4584, allocations: 3.938 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.4584, allocations: 7.984 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4584, allocations: 0 / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.4585, allocations: 15.98 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.4585, allocations: 12 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4585, allocations: 0 / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.4604, allocations: 489.6 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.4607, allocations: 137.5 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.4608, allocations: 11.94 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.4613, allocations: 35.95 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.4614, allocations: 11.98 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.4614, allocations: 51.98 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003508/0.4618, allocations: 295.1 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4618, allocations: 0 / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004442/0.4622, allocations: 71.98 kB / 1.338 GB, free: 5.148 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.0001902/0.4624, allocations: 116.7 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.4639, allocations: 477.9 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4639, allocations: 4 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007832/0.4646, allocations: 112.2 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.465, allocations: 33.58 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.4666, allocations: 0.5534 MB / 1.339 GB, free: 3.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.4668, allocations: 159 kB / 1.34 GB, free: 3.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.818e-05/0.4668, allocations: 17.08 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.4669, allocations: 11.44 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of SimCode: time 9.22e-07/0.4669, allocations: 0 / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of Templates: time 0.01105/0.4779, allocations: 6.081 MB / 1.346 GB, free: 13.45 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 -s cvode -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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.520726518006995]