Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001286/0.001286, 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.001438/0.001438, allocations: 212.1 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.754 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.317/3.317, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.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.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_latest_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.002154/0.002154, allocations: 68.17 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.38, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00261/0.3827, allocations: 1.534 MB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3839, allocations: 0.5344 MB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.3839, allocations: 4 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.972e-05/0.384, allocations: 7.938 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.3842, allocations: 35.56 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.3849, allocations: 313.5 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.3854, allocations: 479.5 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.3855, allocations: 7.984 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.3859, allocations: 279.7 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.3862, allocations: 139.6 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.721e-05/0.3863, allocations: 28 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.3864, allocations: 24 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3865, allocations: 115.7 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.3867, allocations: 159.2 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.3871, allocations: 434.3 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3871, allocations: 4 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3871, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3871, allocations: 0 / 1.368 GB, free: 9.531 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.001217/0.3883, allocations: 0.7873 MB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3884, allocations: 8.031 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.3885, allocations: 52.7 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.3889, allocations: 264.6 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.389, allocations: 16.36 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/0.3891, allocations: 32.36 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009327/0.39, allocations: 206 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.39, allocations: 192 / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.39, allocations: 7.938 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.39, allocations: 4 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/0.3907, allocations: 103.8 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3911, allocations: 281.1 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/0.3921, allocations: 170.6 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.3928, allocations: 96.78 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3929, allocations: 4 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.3939, allocations: 223.2 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3939, allocations: 3.938 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002387/0.3963, allocations: 495.2 kB / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.3964, allocations: 59.41 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.3968, allocations: 409.9 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.3969, allocations: 45.69 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.3969, allocations: 89.45 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.397, allocations: 47.67 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.3972, allocations: 125.5 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3973, allocations: 322.8 kB / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.3976, allocations: 191.3 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.398, allocations: 250.4 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.3983, allocations: 275.1 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3983, allocations: 4 kB / 1.372 GB, free: 4.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008395/0.3992, allocations: 0.5496 MB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.143e-05/0.3993, allocations: 83.38 kB / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3993, allocations: 0 / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3993, allocations: 11.88 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3994, allocations: 23.92 kB / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3994, allocations: 4 kB / 1.373 GB, free: 4.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.3999, allocations: 63.77 kB / 1.373 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-05/0.4, allocations: 64.05 kB / 1.373 GB, free: 3.918 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.000218/0.4002, allocations: 191.7 kB / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.4003, allocations: 39.77 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.34e-05/0.4003, allocations: 47.61 kB / 1.373 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4003, allocations: 0 / 1.373 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4003, allocations: 0 / 1.373 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4003, allocations: 0 / 1.373 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.4025, allocations: 0.6816 MB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4025, allocations: 3.938 kB / 1.374 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.4025, allocations: 7.984 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4025, allocations: 0 / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.4025, allocations: 15.98 kB / 1.374 GB, free: 2.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4025, allocations: 0 / 1.374 GB, free: 2.891 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4025, allocations: 3.938 kB / 1.374 GB, free: 2.887 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.4042, allocations: 486 kB / 1.374 GB, free: 2.398 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.4045, allocations: 141.5 kB / 1.374 GB, free: 2.258 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.4045, allocations: 12 kB / 1.375 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.405, allocations: 39.95 kB / 1.375 GB, free: 2.207 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.405, allocations: 7.984 kB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.4051, allocations: 51.98 kB / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003018/0.4054, allocations: 295.1 kB / 1.375 GB, free: 1.859 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 0 / 1.375 GB, free: 1.859 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003405/0.4057, allocations: 67.98 kB / 1.375 GB, free: 1.793 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.0001513/0.4059, allocations: 117 kB / 1.375 GB, free: 1.668 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.4071, allocations: 481.8 kB / 1.376 GB, free: 1.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4071, allocations: 0 / 1.376 GB, free: 1.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006863/0.4078, allocations: 111.8 kB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.4081, allocations: 34.14 kB / 1.376 GB, free: 1.023 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4095, allocations: 0.5484 MB / 1.376 GB, free: 460 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.4097, allocations: 159 kB / 1.376 GB, free: 280 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.56e-05/0.4097, allocations: 13.08 kB / 1.376 GB, free: 268 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.4097, allocations: 15.44 kB / 1.376 GB, free: 252 kB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4097, allocations: 4 kB / 1.376 GB, free: 248 kB / 1.061 GB Notification: Performance of Templates: time 0.00949/0.4192, allocations: 6.059 MB / 1.382 GB, free: 10.13 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.012121580541134]