Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.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.001301/0.001301, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001415/0.001415, allocations: 212.9 kB / 22.99 MB, free: 4.957 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.256/3.256, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.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.002107/0.002107, allocations: 68.27 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4355, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003147/0.4387, allocations: 1.525 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.4401, allocations: 0.519 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.4401, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.4402, allocations: 11.88 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.4404, allocations: 27.84 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.4412, allocations: 314.2 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000594/0.4418, allocations: 495.4 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.4419, allocations: 7.984 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.4423, allocations: 275.7 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.4426, allocations: 159.5 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.4427, allocations: 28 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.4428, allocations: 28 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.4429, allocations: 115.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.4431, allocations: 159.2 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.4436, allocations: 434.4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4436, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4436, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.4436, allocations: 0 / 1.331 GB, free: 12.96 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.001448/0.4451, allocations: 0.795 MB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4451, allocations: 8.031 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.4453, allocations: 56.69 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.4457, allocations: 256.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.4458, allocations: 16.36 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4459, allocations: 28.36 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.447, allocations: 209.9 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.447, allocations: 192 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-05/0.4471, allocations: 15.92 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-06/0.4471, allocations: 4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00085/0.4479, allocations: 95.92 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.4484, allocations: 277.1 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.4496, allocations: 170.4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008296/0.4504, allocations: 100.8 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.4504, allocations: 4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.4516, allocations: 223.1 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.4516, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002907/0.4545, allocations: 490.7 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.4546, allocations: 67.38 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.4551, allocations: 413.9 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.4552, allocations: 41.69 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.4553, allocations: 89.45 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.4554, allocations: 47.62 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.4556, allocations: 121.5 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.4558, allocations: 330.8 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.4561, allocations: 191.3 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.4565, allocations: 245.2 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.4569, allocations: 267.7 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4569, allocations: 4 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009512/0.4579, allocations: 0.5548 MB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.458, allocations: 83.38 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.458, allocations: 0 / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.458, allocations: 7.938 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.4582, allocations: 23.86 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.4582, allocations: 7.984 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.4587, allocations: 59.84 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.4588, allocations: 55.98 kB / 1.336 GB, free: 7.348 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.0002676/0.4591, allocations: 196.3 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.4592, allocations: 43.72 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.4592, allocations: 43.61 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4592, allocations: 0 / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4593, allocations: 4 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4593, allocations: 0 / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.4618, allocations: 0.6842 MB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.4618, allocations: 3.938 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.4618, allocations: 7.984 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4618, allocations: 0 / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.4619, allocations: 23.97 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4619, allocations: 0 / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4619, allocations: 0 / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.4639, allocations: 483.5 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.4642, allocations: 137.5 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.4643, allocations: 12 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/0.4648, allocations: 35.95 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.4649, allocations: 11.92 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.589e-05/0.465, allocations: 59.97 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000377/0.4653, allocations: 295.1 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4653, allocations: 0 / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004687/0.4658, allocations: 60 kB / 1.338 GB, free: 5.215 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.0002421/0.4661, allocations: 124.7 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.4676, allocations: 481.8 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4676, allocations: 0 / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.4684, allocations: 110.4 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.4688, allocations: 32.67 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.4706, allocations: 0.5513 MB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.4708, allocations: 167 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.059e-05/0.4709, allocations: 9.078 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.4709, allocations: 15.44 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/0.4709, allocations: 4 kB / 1.34 GB, free: 3.652 MB / 1.029 GB Notification: Performance of Templates: time 0.01141/0.4823, allocations: 6.083 MB / 1.346 GB, free: 13.51 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.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.571550380002009]