Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 104.5 kB / 16.4 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 185.7 kB / 17.33 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7444/0.7444, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 66.36 kB / 0.5576 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1811, allocations: 76.18 MB / 0.632 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002913/0.1841, allocations: 1.506 MB / 0.6335 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1855, allocations: 0.5344 MB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.1855, allocations: 4 kB / 0.634 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1857, allocations: 3.938 kB / 0.634 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1858, allocations: 31.8 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/0.1866, allocations: 309.9 kB / 0.6344 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.1872, allocations: 0.5033 MB / 0.6349 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.251e-05/0.1873, allocations: 8 kB / 0.6349 GB, free: 1.516 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.1877, allocations: 279.6 kB / 0.6351 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.188, allocations: 147.5 kB / 0.6353 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/0.1881, allocations: 24 kB / 0.6353 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-05/0.1882, allocations: 28 kB / 0.6353 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.1883, allocations: 115.6 kB / 0.6354 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.1885, allocations: 183.1 kB / 0.6356 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.189, allocations: 426.7 kB / 0.636 GB, free: 344 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.189, allocations: 0 / 0.636 GB, free: 344 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.189, allocations: 0 / 0.636 GB, free: 344 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.189, allocations: 0 / 0.636 GB, free: 344 kB / 478.1 MB 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.001315/0.1904, allocations: 0.8703 MB / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1904, allocations: 12.03 kB / 0.6369 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1906, allocations: 48.47 kB / 0.6369 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.1909, allocations: 310.2 kB / 0.6372 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.191, allocations: 16.36 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.1911, allocations: 32.36 kB / 0.6373 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1921, allocations: 210 kB / 0.6375 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1921, allocations: 192 / 0.6375 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1922, allocations: 3.938 kB / 0.6375 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1922, allocations: 4 kB / 0.6375 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.193, allocations: 106.5 kB / 0.6376 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1935, allocations: 385.2 kB / 0.6379 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1946, allocations: 182.4 kB / 0.6381 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/0.1954, allocations: 112.8 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1955, allocations: 3.938 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.1965, allocations: 225.5 kB / 0.6384 GB, free: 13.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.1965, allocations: 0 / 0.6384 GB, free: 13.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00268/0.1992, allocations: 488.8 kB / 0.6389 GB, free: 13.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.1993, allocations: 67.34 kB / 0.639 GB, free: 13.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.1998, allocations: 405.9 kB / 0.6394 GB, free: 12.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/0.1998, allocations: 45.69 kB / 0.6394 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.1999, allocations: 89.44 kB / 0.6395 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.2, allocations: 47.44 kB / 0.6395 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.2002, allocations: 129.2 kB / 0.6397 GB, free: 12.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2003, allocations: 322.8 kB / 0.64 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.2006, allocations: 115.9 kB / 0.6401 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.2009, allocations: 170.4 kB / 0.6402 GB, free: 11.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.2013, allocations: 283.3 kB / 0.6405 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2013, allocations: 4 kB / 0.6405 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008225/0.2022, allocations: 489.3 kB / 0.641 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/0.2023, allocations: 92.72 kB / 0.6411 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2023, allocations: 0 / 0.6411 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.2023, allocations: 7.984 kB / 0.6411 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.2025, allocations: 32.11 kB / 0.6411 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2025, allocations: 3.984 kB / 0.6411 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.2031, allocations: 55.86 kB / 0.6412 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/0.2031, allocations: 55.98 kB / 0.6412 GB, free: 10.66 MB / 494.1 MB 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.0002755/0.2034, allocations: 195.5 kB / 0.6414 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.2035, allocations: 43.47 kB / 0.6414 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.2036, allocations: 43.73 kB / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2036, allocations: 0 / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2036, allocations: 4 kB / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2036, allocations: 0 / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.2059, allocations: 0.7503 MB / 0.6422 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2059, allocations: 3.984 kB / 0.6422 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.206, allocations: 4 kB / 0.6422 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.206, allocations: 4 kB / 0.6422 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.206, allocations: 15.97 kB / 0.6423 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.206, allocations: 4 kB / 0.6423 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.206, allocations: 0 / 0.6423 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.208, allocations: 475.1 kB / 0.6427 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.2082, allocations: 204.5 kB / 0.6429 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.2083, allocations: 8 kB / 0.6429 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.2088, allocations: 35.97 kB / 0.6429 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.2089, allocations: 7.984 kB / 0.643 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.2089, allocations: 59.97 kB / 0.643 GB, free: 8.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003371/0.2093, allocations: 303 kB / 0.6433 GB, free: 8.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2093, allocations: 0 / 0.6433 GB, free: 8.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.2097, allocations: 63.98 kB / 0.6434 GB, free: 8.375 MB / 494.1 MB 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.0001611/0.2099, allocations: 115.1 kB / 0.6435 GB, free: 8.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.2112, allocations: 449 kB / 0.6439 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2112, allocations: 0 / 0.6439 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000858/0.2121, allocations: 124.2 kB / 0.644 GB, free: 7.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.2125, allocations: 29.48 kB / 0.644 GB, free: 7.641 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.2141, allocations: 0.5398 MB / 0.6446 GB, free: 7.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.2145, allocations: 0.7745 MB / 0.6453 GB, free: 6.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.765e-05/0.2146, allocations: 13.09 kB / 0.6453 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.2146, allocations: 19.42 kB / 0.6454 GB, free: 6.234 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2146, allocations: 0 / 0.6454 GB, free: 6.234 MB / 494.1 MB Notification: Performance of Templates: time 0.008962/0.2236, allocations: 4.934 MB / 0.6502 GB, free: 1.207 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)