Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7702/0.7702, allocations: 128.7 MB / 144.5 MB, free: 1.359 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.001154/0.001154, allocations: 181.7 kB / 174.2 MB, free: 5.93 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.558/1.558, allocations: 205 MB / 408.9 MB, free: 9.695 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.0009179/0.0009178, allocations: 102.3 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 50.27 kB / 0.558 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1815, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002743/0.1843, allocations: 1.52 MB / 0.6332 GB, free: 31.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1854, allocations: 430.8 kB / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.1854, allocations: 4 kB / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.1855, allocations: 0 / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1857, allocations: 19.84 kB / 0.6336 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.1863, allocations: 223.3 kB / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1865, allocations: 283.5 kB / 0.6341 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.1866, allocations: 8.234 kB / 0.6341 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.1868, allocations: 199.5 kB / 0.6343 GB, free: 30.34 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.187, allocations: 111.7 kB / 0.6344 GB, free: 30.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.1871, allocations: 16 kB / 0.6344 GB, free: 30.21 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.1871, allocations: 8 kB / 0.6344 GB, free: 30.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.1872, allocations: 59.8 kB / 0.6345 GB, free: 30.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1873, allocations: 99.48 kB / 0.6345 GB, free: 30.05 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1876, allocations: 247.5 kB / 0.6348 GB, free: 29.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1876, allocations: 4 kB / 0.6348 GB, free: 29.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1876, allocations: 0 / 0.6348 GB, free: 29.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1876, allocations: 0 / 0.6348 GB, free: 29.8 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.0009708/0.1886, allocations: 0.6379 MB / 0.6354 GB, free: 29.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1886, allocations: 12.03 kB / 0.6354 GB, free: 29.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.108e-05/0.1887, allocations: 24.75 kB / 0.6354 GB, free: 29.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.189, allocations: 241 kB / 0.6357 GB, free: 28.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.189, allocations: 16.38 kB / 0.6357 GB, free: 28.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.189, allocations: 24.36 kB / 0.6357 GB, free: 28.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1893, allocations: 134 kB / 0.6358 GB, free: 28.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.1893, allocations: 4.188 kB / 0.6358 GB, free: 28.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.1894, allocations: 7.938 kB / 0.6359 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1894, allocations: 0 / 0.6359 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1895, allocations: 43.97 kB / 0.6359 GB, free: 28.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.1898, allocations: 297.3 kB / 0.6362 GB, free: 28.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.19, allocations: 126.7 kB / 0.6363 GB, free: 28.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.871e-05/0.1901, allocations: 52.83 kB / 0.6364 GB, free: 28.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1901, allocations: 4 kB / 0.6364 GB, free: 28.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/0.1905, allocations: 209.1 kB / 0.6366 GB, free: 27.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.1905, allocations: 3.938 kB / 0.6366 GB, free: 27.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004906/0.191, allocations: 261.2 kB / 0.6368 GB, free: 27.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1911, allocations: 55.41 kB / 0.6369 GB, free: 27.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1912, allocations: 228 kB / 0.6371 GB, free: 27.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.1913, allocations: 37.7 kB / 0.6371 GB, free: 27.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.1913, allocations: 89.14 kB / 0.6372 GB, free: 27.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.1914, allocations: 47.52 kB / 0.6372 GB, free: 27.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1915, allocations: 97.72 kB / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.1916, allocations: 322.8 kB / 0.6376 GB, free: 26.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.1918, allocations: 96.17 kB / 0.6377 GB, free: 26.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.192, allocations: 147 kB / 0.6379 GB, free: 26.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.1922, allocations: 233.3 kB / 0.6381 GB, free: 26.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1922, allocations: 0 / 0.6381 GB, free: 26.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000554/0.1928, allocations: 408 kB / 0.6385 GB, free: 25.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.1928, allocations: 73.73 kB / 0.6386 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1929, allocations: 11.92 kB / 0.6386 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1929, allocations: 0 / 0.6386 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.193, allocations: 27.92 kB / 0.6386 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1931, allocations: 7.938 kB / 0.6386 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.1936, allocations: 67.77 kB / 0.6387 GB, free: 25.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.1936, allocations: 43.98 kB / 0.6387 GB, free: 25.46 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.0001297/0.1938, allocations: 160 kB / 0.6389 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1938, allocations: 15.81 kB / 0.6389 GB, free: 25.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.1939, allocations: 25.86 kB / 0.6389 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1939, allocations: 7.875 kB / 0.6389 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1939, allocations: 0 / 0.6389 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1939, allocations: 7.984 kB / 0.6389 GB, free: 25.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.1945, allocations: 0.5333 MB / 0.6394 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1945, allocations: 7.938 kB / 0.6394 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.1946, allocations: 7.938 kB / 0.6395 GB, free: 24.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1946, allocations: 0 / 0.6395 GB, free: 24.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.1946, allocations: 11.97 kB / 0.6395 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1946, allocations: 4 kB / 0.6395 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1946, allocations: 7.984 kB / 0.6395 GB, free: 24.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.1952, allocations: 0.9201 MB / 0.6404 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1953, allocations: 136.8 kB / 0.6405 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.1954, allocations: 8 kB / 0.6405 GB, free: 23.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1956, allocations: 11.98 kB / 0.6405 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.1956, allocations: 15.97 kB / 0.6405 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.1957, allocations: 27.98 kB / 0.6406 GB, free: 23.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.801e-05/0.1958, allocations: 161.6 kB / 0.6407 GB, free: 23.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1958, allocations: 4 kB / 0.6407 GB, free: 23.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003812/0.1962, allocations: 51.92 kB / 0.6408 GB, free: 23.21 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.0001368/0.1963, allocations: 123.2 kB / 0.6409 GB, free: 23.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004427/0.1968, allocations: 326.6 kB / 0.6412 GB, free: 22.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1968, allocations: 0 / 0.6412 GB, free: 22.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1969, allocations: 77.14 kB / 0.6413 GB, free: 22.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1972, allocations: 31.86 kB / 0.6413 GB, free: 22.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.1979, allocations: 0.5132 MB / 0.6418 GB, free: 22.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.1981, allocations: 0.7321 MB / 0.6425 GB, free: 21.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.1982, allocations: 33.08 kB / 0.6426 GB, free: 21.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.1983, allocations: 35.41 kB / 0.6426 GB, free: 21.25 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1983, allocations: 0 / 0.6426 GB, free: 21.25 MB / 442.7 MB Notification: Performance of Templates: time 0.005983/0.2043, allocations: 3.768 MB / 0.6463 GB, free: 17.5 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)