Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7484/0.7484, allocations: 128.7 MB / 144.5 MB, free: 1.379 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 184.8 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 105.7 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 55.27 kB / 0.558 GB, free: 97.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1893, allocations: 75.48 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002692/0.192, allocations: 1.518 MB / 0.6332 GB, free: 31.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.193, allocations: 427.9 kB / 0.6336 GB, free: 31.1 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.1931, allocations: 4 kB / 0.6336 GB, free: 31.09 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.827e-05/0.1932, allocations: 7.938 kB / 0.6336 GB, free: 31.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1934, allocations: 15.91 kB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.194, allocations: 218.5 kB / 0.6338 GB, free: 30.86 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.1942, allocations: 283.5 kB / 0.6341 GB, free: 30.58 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.885e-05/0.1943, allocations: 8.234 kB / 0.6341 GB, free: 30.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.1946, allocations: 199.5 kB / 0.6343 GB, free: 30.38 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.1948, allocations: 107.7 kB / 0.6344 GB, free: 30.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.1948, allocations: 12 kB / 0.6344 GB, free: 30.26 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.082e-05/0.1949, allocations: 8 kB / 0.6344 GB, free: 30.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.195, allocations: 67.73 kB / 0.6345 GB, free: 30.19 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1951, allocations: 99.48 kB / 0.6345 GB, free: 30.09 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.1953, allocations: 243.5 kB / 0.6348 GB, free: 29.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1954, allocations: 8 kB / 0.6348 GB, free: 29.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1954, allocations: 0 / 0.6348 GB, free: 29.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1954, allocations: 0 / 0.6348 GB, free: 29.84 MB / 442.7 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.00105/0.1964, allocations: 0.6418 MB / 0.6354 GB, free: 29.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1965, allocations: 11.97 kB / 0.6354 GB, free: 29.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/0.1966, allocations: 24.75 kB / 0.6355 GB, free: 29.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1969, allocations: 240.9 kB / 0.6357 GB, free: 28.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.1969, allocations: 12.38 kB / 0.6357 GB, free: 28.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.1969, allocations: 28.36 kB / 0.6357 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.1972, allocations: 134.1 kB / 0.6358 GB, free: 28.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1972, allocations: 4.188 kB / 0.6359 GB, free: 28.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.1972, allocations: 3.938 kB / 0.6359 GB, free: 28.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1973, allocations: 0 / 0.6359 GB, free: 28.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.1974, allocations: 43.97 kB / 0.6359 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.1977, allocations: 297.3 kB / 0.6362 GB, free: 28.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.198, allocations: 130.6 kB / 0.6363 GB, free: 28.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1981, allocations: 56.83 kB / 0.6364 GB, free: 28.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1981, allocations: 0 / 0.6364 GB, free: 28.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.1985, allocations: 213.4 kB / 0.6366 GB, free: 27.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.1985, allocations: 0 / 0.6366 GB, free: 27.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004946/0.199, allocations: 261.2 kB / 0.6368 GB, free: 27.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1991, allocations: 59.41 kB / 0.6369 GB, free: 27.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1992, allocations: 228 kB / 0.6371 GB, free: 27.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.1993, allocations: 41.64 kB / 0.6371 GB, free: 27.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.1993, allocations: 89.14 kB / 0.6372 GB, free: 27.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.1994, allocations: 47.52 kB / 0.6373 GB, free: 27.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.1995, allocations: 93.72 kB / 0.6373 GB, free: 26.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.1996, allocations: 326.8 kB / 0.6377 GB, free: 26.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1998, allocations: 92.17 kB / 0.6377 GB, free: 26.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.2, allocations: 143.1 kB / 0.6379 GB, free: 26.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.2002, allocations: 240.7 kB / 0.6381 GB, free: 26.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2003, allocations: 0 / 0.6381 GB, free: 26.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005421/0.2008, allocations: 400.5 kB / 0.6385 GB, free: 25.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/0.2009, allocations: 73.73 kB / 0.6386 GB, free: 25.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2009, allocations: 7.984 kB / 0.6386 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2009, allocations: 0 / 0.6386 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2011, allocations: 36.05 kB / 0.6386 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.2011, allocations: 4 kB / 0.6386 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.2016, allocations: 67.67 kB / 0.6387 GB, free: 25.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.2017, allocations: 43.97 kB / 0.6387 GB, free: 25.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (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,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001421/0.2018, allocations: 160 kB / 0.6389 GB, free: 25.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.2018, allocations: 19.81 kB / 0.6389 GB, free: 25.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.2019, allocations: 25.86 kB / 0.6389 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2019, allocations: 3.938 kB / 0.6389 GB, free: 25.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2019, allocations: 4 kB / 0.6389 GB, free: 25.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2019, allocations: 3.984 kB / 0.6389 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.2026, allocations: 0.5333 MB / 0.6394 GB, free: 24.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2026, allocations: 7.938 kB / 0.6395 GB, free: 24.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.2026, allocations: 4 kB / 0.6395 GB, free: 24.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2026, allocations: 4 kB / 0.6395 GB, free: 24.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.2027, allocations: 15.97 kB / 0.6395 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2027, allocations: 0 / 0.6395 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2027, allocations: 0 / 0.6395 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.2033, allocations: 0.9164 MB / 0.6404 GB, free: 23.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2034, allocations: 140.8 kB / 0.6405 GB, free: 23.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.2035, allocations: 8 kB / 0.6405 GB, free: 23.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.2037, allocations: 15.98 kB / 0.6405 GB, free: 23.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.2037, allocations: 15.97 kB / 0.6405 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.2038, allocations: 23.98 kB / 0.6406 GB, free: 23.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.2039, allocations: 165.6 kB / 0.6407 GB, free: 23.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.2039, allocations: 0 / 0.6407 GB, free: 23.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003749/0.2043, allocations: 55.86 kB / 0.6408 GB, free: 23.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001564/0.2044, allocations: 131.2 kB / 0.6409 GB, free: 23.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.2049, allocations: 326.6 kB / 0.6412 GB, free: 22.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.2049, allocations: 4 kB / 0.6412 GB, free: 22.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.205, allocations: 73.34 kB / 0.6413 GB, free: 22.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2054, allocations: 24.59 kB / 0.6413 GB, free: 22.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006846/0.2061, allocations: 0.5198 MB / 0.6418 GB, free: 22.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.2063, allocations: 0.7321 MB / 0.6425 GB, free: 21.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.2064, allocations: 25.09 kB / 0.6426 GB, free: 21.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.2065, allocations: 35.41 kB / 0.6426 GB, free: 21.29 MB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2065, allocations: 4 kB / 0.6426 GB, free: 21.29 MB / 442.7 MB Notification: Performance of Templates: time 0.005969/0.2125, allocations: 3.766 MB / 0.6463 GB, free: 17.54 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)