Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.001707/0.001707, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001619/0.001619, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 7.812 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.585/3.585, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.002134/0.002134, allocations: 73.52 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4662, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.004382/0.4706, allocations: 1.739 MB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.4725, allocations: 0.6082 MB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.4726, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.4727, allocations: 11.86 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.473, allocations: 39.56 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.4742, allocations: 373.6 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009116/0.4751, allocations: 0.5931 MB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.4752, allocations: 25.23 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.4757, allocations: 323.5 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.476, allocations: 145.2 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.4761, allocations: 40 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.4762, allocations: 40 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.4764, allocations: 127.6 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.4766, allocations: 183.2 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006454/0.4772, allocations: 0.5996 MB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4772, allocations: 0 / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4772, allocations: 0 / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.4772, allocations: 3.938 kB / 1.369 GB, free: 8.766 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.001382/0.4786, allocations: 0.8339 MB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4787, allocations: 8.031 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.4788, allocations: 56.66 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.4793, allocations: 284.7 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.4793, allocations: 24.36 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/0.4794, allocations: 28.38 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009925/0.4804, allocations: 233.9 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4804, allocations: 192 / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.4804, allocations: 11.92 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4804, allocations: 7.875 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007447/0.4812, allocations: 115.9 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.4825, allocations: 0.5313 MB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.4835, allocations: 174.4 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.4842, allocations: 108.8 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.4842, allocations: 4 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009636/0.4852, allocations: 230.3 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.4852, allocations: 4 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.00256/0.4878, allocations: 0.4894 MB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.4878, allocations: 67.38 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.4883, allocations: 441.9 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.4884, allocations: 41.69 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4885, allocations: 101.4 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.4886, allocations: 43.64 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.4888, allocations: 141.5 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4889, allocations: 326.8 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.4893, allocations: 215.3 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.4897, allocations: 277.7 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.4901, allocations: 290.8 kB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4901, allocations: 4 kB / 1.374 GB, free: 3.453 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009679/0.4911, allocations: 0.5956 MB / 1.374 GB, free: 2.828 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.636e-05/0.4912, allocations: 87.38 kB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4912, allocations: 8.188 kB / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4912, allocations: 4 kB / 1.374 GB, free: 2.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.4914, allocations: 23.91 kB / 1.374 GB, free: 2.695 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4914, allocations: 4 kB / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.4919, allocations: 55.84 kB / 1.374 GB, free: 2.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/0.492, allocations: 63.98 kB / 1.374 GB, free: 2.574 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.0002644/0.4922, allocations: 220.3 kB / 1.375 GB, free: 2.352 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.4923, allocations: 39.77 kB / 1.375 GB, free: 2.312 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.4924, allocations: 39.73 kB / 1.375 GB, free: 2.277 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4924, allocations: 0 / 1.375 GB, free: 2.277 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4924, allocations: 0 / 1.375 GB, free: 2.277 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4924, allocations: 3.984 kB / 1.375 GB, free: 2.273 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.4946, allocations: 0.7205 MB / 1.375 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4946, allocations: 4 kB / 1.375 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.4947, allocations: 7.984 kB / 1.375 GB, free: 1.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.4947, allocations: 3.984 kB / 1.375 GB, free: 1.496 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.4947, allocations: 19.98 kB / 1.375 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4947, allocations: 0 / 1.375 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4947, allocations: 0 / 1.375 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.4965, allocations: 0.494 MB / 1.376 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.4969, allocations: 173.5 kB / 1.376 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.695e-05/0.4969, allocations: 23.98 kB / 1.376 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.4974, allocations: 23.97 kB / 1.376 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.4974, allocations: 11.92 kB / 1.376 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.4975, allocations: 67.97 kB / 1.376 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003618/0.4979, allocations: 315.1 kB / 1.376 GB, free: 376 kB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4979, allocations: 4 kB / 1.376 GB, free: 372 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004042/0.4983, allocations: 75.88 kB / 1.376 GB, free: 296 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.0001985/0.4985, allocations: 124.1 kB / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.4999, allocations: 0.498 MB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4999, allocations: 0 / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007762/0.5007, allocations: 119.8 kB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.5011, allocations: 32.03 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.5028, allocations: 0.5984 MB / 1.378 GB, free: 14.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.503, allocations: 182.9 kB / 1.378 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.771e-05/0.5031, allocations: 13.42 kB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.5031, allocations: 19.44 kB / 1.378 GB, free: 14.62 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/0.5031, allocations: 3.938 kB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of Templates: time 0.01246/0.5156, allocations: 6.601 MB / 1.384 GB, free: 7.961 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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: 10.054994916543365]