Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8149/0.8149, allocations: 128.7 MB / 144.5 MB, free: 1.355 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.001411/0.001411, allocations: 186 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.669/1.669, allocations: 205 MB / 408.9 MB, free: 9.703 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.001129/0.001128, allocations: 101.9 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 53.44 kB / 0.558 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1937, allocations: 75.47 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00286/0.1967, allocations: 1.518 MB / 0.6332 GB, free: 31.49 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1977, allocations: 435.9 kB / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.1978, allocations: 0 / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.42e-05/0.1979, allocations: 3.938 kB / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.198, allocations: 11.92 kB / 0.6336 GB, free: 31.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.1986, allocations: 233.6 kB / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1989, allocations: 279.5 kB / 0.6341 GB, free: 30.55 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.006e-05/0.199, allocations: 8.219 kB / 0.6341 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1992, allocations: 203.5 kB / 0.6343 GB, free: 30.34 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1994, allocations: 107.7 kB / 0.6344 GB, free: 30.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.1995, allocations: 12 kB / 0.6344 GB, free: 30.22 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.1995, allocations: 8 kB / 0.6344 GB, free: 30.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1996, allocations: 59.8 kB / 0.6345 GB, free: 30.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1998, allocations: 107.5 kB / 0.6346 GB, free: 30.05 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.2001, allocations: 243.5 kB / 0.6348 GB, free: 29.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2001, allocations: 4 kB / 0.6348 GB, free: 29.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2001, allocations: 0 / 0.6348 GB, free: 29.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2001, allocations: 0 / 0.6348 GB, free: 29.81 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.001144/0.2012, allocations: 0.6418 MB / 0.6354 GB, free: 29.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.2013, allocations: 15.97 kB / 0.6354 GB, free: 29.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.2014, allocations: 20.75 kB / 0.6355 GB, free: 29.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.2018, allocations: 248.9 kB / 0.6357 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.2018, allocations: 12.38 kB / 0.6357 GB, free: 28.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.2019, allocations: 20.36 kB / 0.6357 GB, free: 28.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.2021, allocations: 138.1 kB / 0.6359 GB, free: 28.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2022, allocations: 192 / 0.6359 GB, free: 28.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.2022, allocations: 3.938 kB / 0.6359 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2022, allocations: 0 / 0.6359 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.2023, allocations: 45.09 kB / 0.6359 GB, free: 28.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.2026, allocations: 293.4 kB / 0.6362 GB, free: 28.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.2029, allocations: 126.7 kB / 0.6363 GB, free: 28.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.203, allocations: 56.83 kB / 0.6364 GB, free: 28.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.2031, allocations: 4 kB / 0.6364 GB, free: 28.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.2035, allocations: 204.9 kB / 0.6366 GB, free: 27.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.2035, allocations: 0 / 0.6366 GB, free: 27.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005372/0.204, allocations: 265.2 kB / 0.6368 GB, free: 27.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.2041, allocations: 59.41 kB / 0.6369 GB, free: 27.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.2043, allocations: 232 kB / 0.6371 GB, free: 27.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.2043, allocations: 37.64 kB / 0.6371 GB, free: 27.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.2044, allocations: 97.11 kB / 0.6372 GB, free: 27.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.2044, allocations: 39.55 kB / 0.6373 GB, free: 27.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.2046, allocations: 93.72 kB / 0.6373 GB, free: 26.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.2047, allocations: 326.8 kB / 0.6377 GB, free: 26.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.2048, allocations: 92.17 kB / 0.6377 GB, free: 26.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.205, allocations: 143.1 kB / 0.6379 GB, free: 26.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.2053, allocations: 240.5 kB / 0.6381 GB, free: 26.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2053, allocations: 0 / 0.6381 GB, free: 26.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00058/0.2059, allocations: 400.5 kB / 0.6385 GB, free: 25.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.206, allocations: 77.41 kB / 0.6386 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.206, allocations: 8.125 kB / 0.6386 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.206, allocations: 4 kB / 0.6386 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.2062, allocations: 31.86 kB / 0.6386 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.2062, allocations: 0 / 0.6386 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.2066, allocations: 67.73 kB / 0.6387 GB, free: 25.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.2067, allocations: 51.95 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.0001385/0.2069, allocations: 160 kB / 0.6389 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.2069, allocations: 23.78 kB / 0.6389 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.207, allocations: 21.88 kB / 0.6389 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.207, allocations: 3.938 kB / 0.6389 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.207, allocations: 4 kB / 0.6389 GB, free: 25.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.207, allocations: 3.984 kB / 0.6389 GB, free: 25.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.2077, allocations: 0.5294 MB / 0.6394 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2077, allocations: 7.938 kB / 0.6395 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.2077, allocations: 8 kB / 0.6395 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2077, allocations: 0 / 0.6395 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.2078, allocations: 19.97 kB / 0.6395 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2078, allocations: 0 / 0.6395 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2078, allocations: 0 / 0.6395 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.2085, allocations: 0.9159 MB / 0.6404 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2086, allocations: 140.8 kB / 0.6405 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.2086, allocations: 8 kB / 0.6405 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.2088, allocations: 7.984 kB / 0.6405 GB, free: 23.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.2089, allocations: 19.97 kB / 0.6405 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.2089, allocations: 23.98 kB / 0.6406 GB, free: 23.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.209, allocations: 165.6 kB / 0.6407 GB, free: 23.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.209, allocations: 0 / 0.6407 GB, free: 23.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003757/0.2094, allocations: 51.92 kB / 0.6408 GB, free: 23.22 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.0001517/0.2096, allocations: 127.1 kB / 0.6409 GB, free: 23.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.21, allocations: 332 kB / 0.6412 GB, free: 22.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.21, allocations: 4 kB / 0.6412 GB, free: 22.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2102, allocations: 67.95 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.0003136/0.2105, allocations: 24.98 kB / 0.6413 GB, free: 22.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.2113, allocations: 0.5198 MB / 0.6418 GB, free: 22.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2115, allocations: 0.7282 MB / 0.6425 GB, free: 21.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.997e-05/0.2116, allocations: 25.09 kB / 0.6425 GB, free: 21.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.2117, allocations: 43.41 kB / 0.6426 GB, free: 21.27 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2117, allocations: 0 / 0.6426 GB, free: 21.27 MB / 442.7 MB Notification: Performance of Templates: time 0.005942/0.2176, allocations: 3.772 MB / 0.6463 GB, free: 17.51 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)