Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001769/0.001769, 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.002107/0.002107, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.801 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.304/3.304, allocations: 0.5107 GB / 0.8158 GB, free: 17.91 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.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_latest_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_latest_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.002079/0.002079, allocations: 70.42 kB / 1.186 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3733, allocations: 181.9 MB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.0027/0.376, allocations: 1.528 MB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3773, allocations: 0.5326 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.3774, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.831e-05/0.3775, allocations: 11.88 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.3776, allocations: 23.64 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007744/0.3784, allocations: 319.4 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.3789, allocations: 483.5 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.379, allocations: 4 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003958/0.3794, allocations: 287.6 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.3796, allocations: 127.7 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.315e-05/0.3797, allocations: 28 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.3798, allocations: 24 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.3799, allocations: 119.6 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.3801, allocations: 159.3 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.3806, allocations: 430.4 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3806, allocations: 0 / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3806, allocations: 0 / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3806, allocations: 4 kB / 1.368 GB, free: 9.613 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001309/0.3819, allocations: 0.795 MB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.382, allocations: 8.031 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.3821, allocations: 52.7 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.3826, allocations: 260.7 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.3826, allocations: 16.36 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.3827, allocations: 36.31 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009244/0.3836, allocations: 212.7 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3836, allocations: 192 / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.3837, allocations: 7.938 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3837, allocations: 3.938 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.3844, allocations: 111.8 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.3848, allocations: 277.1 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/0.3857, allocations: 158.6 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006976/0.3864, allocations: 108.8 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.3865, allocations: 8 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008834/0.3874, allocations: 215.2 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.3874, allocations: 3.938 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002396/0.3898, allocations: 493 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3898, allocations: 55.41 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.3903, allocations: 413.9 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.3903, allocations: 41.7 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3904, allocations: 97.44 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.3905, allocations: 43.67 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.3907, allocations: 125.5 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3908, allocations: 322.8 kB / 1.371 GB, free: 5.605 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.3912, allocations: 195.3 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.3915, allocations: 246.3 kB / 1.372 GB, free: 5.129 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.3919, allocations: 279.1 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3919, allocations: 0 / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008825/0.3928, allocations: 0.5469 MB / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.74e-05/0.3928, allocations: 79.38 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3929, allocations: 4 kB / 1.373 GB, free: 4.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3929, allocations: 7.938 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.393, allocations: 20.17 kB / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.393, allocations: 11.94 kB / 1.373 GB, free: 4.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.3935, allocations: 55.84 kB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/0.3936, allocations: 63.97 kB / 1.373 GB, free: 3.996 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.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.0002247/0.3938, allocations: 183.8 kB / 1.373 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.3939, allocations: 43.75 kB / 1.373 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.3939, allocations: 51.61 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3939, allocations: 3.938 kB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3939, allocations: 0 / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3939, allocations: 0 / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.3961, allocations: 0.6759 MB / 1.374 GB, free: 3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3961, allocations: 7.938 kB / 1.374 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.3961, allocations: 7.938 kB / 1.374 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3961, allocations: 3.984 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.3961, allocations: 19.98 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3961, allocations: 3.938 kB / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3961, allocations: 0 / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.3978, allocations: 479.5 kB / 1.374 GB, free: 2.473 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.3981, allocations: 145.4 kB / 1.374 GB, free: 2.328 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.3982, allocations: 12 kB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.3986, allocations: 31.97 kB / 1.375 GB, free: 2.285 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.3987, allocations: 11.97 kB / 1.375 GB, free: 2.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/0.3988, allocations: 59.98 kB / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003263/0.3991, allocations: 295.1 kB / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3991, allocations: 0 / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003546/0.3994, allocations: 67.98 kB / 1.375 GB, free: 1.859 MB / 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.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.0001731/0.3996, allocations: 120.3 kB / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.4009, allocations: 472.1 kB / 1.376 GB, free: 1.234 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4009, allocations: 384 / 1.376 GB, free: 1.234 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.4016, allocations: 111.9 kB / 1.376 GB, free: 1.125 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.402, allocations: 40.08 kB / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.4034, allocations: 0.5442 MB / 1.376 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.4036, allocations: 159 kB / 1.376 GB, free: 352 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.114e-05/0.4036, allocations: 17.08 kB / 1.376 GB, free: 336 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.4037, allocations: 19.44 kB / 1.376 GB, free: 316 kB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.4037, allocations: 0 / 1.376 GB, free: 316 kB / 1.061 GB Notification: Performance of Templates: time 0.01027/0.4139, allocations: 6.063 MB / 1.382 GB, free: 10.19 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.050002997741103]