Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.002285/0.002285, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00293/0.00293, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.635/1.635, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.631/3.631, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.002062/0.002062, allocations: 72.33 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4597, allocations: 181.9 MB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003337/0.463, allocations: 1.723 MB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.4646, allocations: 0.6102 MB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.4647, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.4648, allocations: 11.86 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.465, allocations: 35.56 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.466, allocations: 369.5 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006998/0.4667, allocations: 0.6009 MB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.4668, allocations: 29.17 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.4673, allocations: 315.6 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.4676, allocations: 151.4 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.4677, allocations: 40 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.4678, allocations: 40 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.468, allocations: 135.5 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.4682, allocations: 179.2 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.4688, allocations: 0.5996 MB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4688, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4688, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4688, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 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.001376/0.4702, allocations: 0.83 MB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4702, allocations: 8.031 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.4704, allocations: 60.64 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.4709, allocations: 284.6 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.4709, allocations: 24.38 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.471, allocations: 32.36 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/0.472, allocations: 228 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.472, allocations: 192 / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.472, allocations: 15.92 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.472, allocations: 3.984 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/0.4728, allocations: 119.9 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.4741, allocations: 0.5313 MB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.4751, allocations: 170.4 kB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006934/0.4758, allocations: 112.8 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.4759, allocations: 4 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009807/0.4768, allocations: 223.2 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.4768, allocations: 4 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.00252/0.4794, allocations: 0.4917 MB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.4794, allocations: 71.27 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.48, allocations: 437.9 kB / 1.372 GB, free: 4.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.4801, allocations: 41.7 kB / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.4802, allocations: 101.4 kB / 1.372 GB, free: 4.691 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.4803, allocations: 43.67 kB / 1.372 GB, free: 4.648 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.4805, allocations: 133.5 kB / 1.372 GB, free: 4.512 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.4807, allocations: 326.8 kB / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.4811, allocations: 223.3 kB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.4815, allocations: 278.8 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.482, allocations: 295.6 kB / 1.373 GB, free: 3.328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.482, allocations: 0 / 1.373 GB, free: 3.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001071/0.4831, allocations: 0.5938 MB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.4832, allocations: 85.28 kB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.4832, allocations: 8 kB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.4832, allocations: 3.938 kB / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.4834, allocations: 31.91 kB / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.4834, allocations: 4 kB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.4839, allocations: 59.78 kB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.489e-05/0.484, allocations: 55.98 kB / 1.374 GB, free: 2.449 MB / 1.061 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.0003271/0.4843, allocations: 224.3 kB / 1.375 GB, free: 2.223 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.4844, allocations: 43.73 kB / 1.375 GB, free: 2.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/0.4845, allocations: 39.73 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.4845, allocations: 4 kB / 1.375 GB, free: 2.141 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4845, allocations: 0 / 1.375 GB, free: 2.141 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4845, allocations: 0 / 1.375 GB, free: 2.141 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.4867, allocations: 0.7167 MB / 1.375 GB, free: 1.383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4867, allocations: 8 kB / 1.375 GB, free: 1.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.4868, allocations: 4 kB / 1.375 GB, free: 1.371 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4868, allocations: 0 / 1.375 GB, free: 1.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.4868, allocations: 19.97 kB / 1.375 GB, free: 1.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4868, allocations: 0 / 1.375 GB, free: 1.352 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4868, allocations: 0 / 1.375 GB, free: 1.352 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4886, allocations: 0.494 MB / 1.376 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.4889, allocations: 173.5 kB / 1.376 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.489, allocations: 19.92 kB / 1.376 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.4895, allocations: 31.97 kB / 1.376 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.4895, allocations: 11.92 kB / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/0.4896, allocations: 63.97 kB / 1.376 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000397/0.49, allocations: 315.1 kB / 1.376 GB, free: 248 kB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.49, allocations: 0 / 1.376 GB, free: 248 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004046/0.4904, allocations: 79.88 kB / 1.376 GB, free: 168 kB / 1.061 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.0002312/0.4906, allocations: 124.2 kB / 1.377 GB, free: 32 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.4921, allocations: 0.5018 MB / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4921, allocations: 0 / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.4928, allocations: 115.9 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.4932, allocations: 36.94 kB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.4948, allocations: 0.5969 MB / 1.378 GB, free: 14.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.4951, allocations: 186.9 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.013e-05/0.4951, allocations: 9.438 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.4952, allocations: 23.42 kB / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of SimCode: time 2.71e-07/0.4952, allocations: 0 / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of Templates: time 0.01157/0.5068, allocations: 6.591 MB / 1.384 GB, free: 7.836 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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: 10.135750267654657]