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.001151/0.001151, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002748, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001155/0.001155, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002645, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.042/1.042, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09188/1.134, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.472/2.472, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.28/2.752, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.146e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001842/0.001854, allocations: 1.612 MB / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.002755, allocations: 0.5576 MB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.002801, allocations: 3.938 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.823e-05/0.002849, allocations: 3.938 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/0.00293, allocations: 31.78 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.003398, allocations: 332.7 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.003778, allocations: 495.4 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.966e-05/0.003808, allocations: 4 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.004121, allocations: 379.6 kB / 0.8216 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.004298, allocations: 141.7 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.00434, allocations: 24 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.933e-05/0.004379, allocations: 28 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.004456, allocations: 107.8 kB / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.004543, allocations: 99.75 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.004789, allocations: 327 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.004803, allocations: 4 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004803, allocations: 0 / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.004819, allocations: 0 / 0.8223 GB, free: 14.82 MB / 0.8073 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.0007876/0.005606, allocations: 0.8205 MB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.005635, allocations: 12.62 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.005706, allocations: 44.88 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.005911, allocations: 244 kB / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.005939, allocations: 12.36 kB / 0.8234 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.005982, allocations: 32.36 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.006262, allocations: 182.7 kB / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.006269, allocations: 192 / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.006285, allocations: 4.375 kB / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.006292, allocations: 4.375 kB / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.006361, allocations: 39.92 kB / 0.8236 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.006503, allocations: 116.9 kB / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.006641, allocations: 90.48 kB / 0.8238 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.006704, allocations: 48.84 kB / 0.8239 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.006724, allocations: 4 kB / 0.8239 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.006876, allocations: 151.2 kB / 0.824 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.006877, allocations: 0 / 0.824 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002842/0.007161, allocations: 205.5 kB / 0.8242 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.007192, allocations: 59.39 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.007351, allocations: 327.3 kB / 0.8246 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.007383, allocations: 41.69 kB / 0.8246 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.007421, allocations: 93.42 kB / 0.8247 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.007451, allocations: 39.72 kB / 0.8248 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.007553, allocations: 113.4 kB / 0.8249 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.007621, allocations: 330.7 kB / 0.8252 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.00775, allocations: 151.3 kB / 0.8253 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.007882, allocations: 209.2 kB / 0.8255 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.008038, allocations: 248.6 kB / 0.8258 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.00804, allocations: 0 / 0.8258 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003014/0.008342, allocations: 432.2 kB / 0.8262 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.008396, allocations: 83.38 kB / 0.8262 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.0084, allocations: 0 / 0.8262 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.00841, allocations: 4 kB / 0.8263 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.008529, allocations: 39.95 kB / 0.8263 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.008533, allocations: 7.938 kB / 0.8263 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.008679, allocations: 39.92 kB / 0.8263 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.008724, allocations: 55.92 kB / 0.8264 GB, free: 10.29 MB / 0.8073 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 9.596e-05/0.00882, allocations: 146.5 kB / 0.8265 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.008852, allocations: 31.97 kB / 0.8266 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.008887, allocations: 31.69 kB / 0.8266 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.008889, allocations: 4 kB / 0.8266 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.008891, allocations: 3.984 kB / 0.8266 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008895, allocations: 0 / 0.8266 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.009262, allocations: 381 kB / 0.827 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009263, allocations: 0 / 0.827 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.009286, allocations: 7.938 kB / 0.827 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.009407, allocations: 127.4 kB / 0.8271 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.00941, allocations: 4 kB / 0.8271 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.009425, allocations: 3.984 kB / 0.8271 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.009428, allocations: 7.922 kB / 0.8271 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.00943, allocations: 8 kB / 0.8271 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.009627, allocations: 231.9 kB / 0.8273 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.009667, allocations: 8 kB / 0.8273 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.009825, allocations: 35.97 kB / 0.8274 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.009845, allocations: 11.92 kB / 0.8274 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.009881, allocations: 47.97 kB / 0.8274 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.319e-05/0.009964, allocations: 136.7 kB / 0.8276 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009964, allocations: 0 / 0.8276 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001746/0.01014, allocations: 71.92 kB / 0.8276 GB, free: 8.961 MB / 0.8073 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 8.324e-05/0.01022, allocations: 96.41 kB / 0.8277 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.0106, allocations: 397.7 kB / 0.8281 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.01061, allocations: 7.984 kB / 0.8281 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.01068, allocations: 61.2 kB / 0.8282 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.01087, allocations: 73.58 kB / 0.8282 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.01169, allocations: 460.1 kB / 0.8287 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.01174, allocations: 88.12 kB / 0.8288 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.01177, allocations: 13.14 kB / 0.8288 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.01192, allocations: 119.3 kB / 0.8289 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of SimCode: time 6.92e-07/0.01192, allocations: 0 / 0.8289 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of Templates: time 0.005967/0.01788, allocations: 5.363 MB / 0.8341 GB, free: 2.16 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.486885407008231]