Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008245, allocations: 93.34 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 186.5 kB / 16.92 MB, free: 6.887 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7936/0.7936, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8.234 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1866, allocations: 77.54 MB / 0.56 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002203/0.1889, allocations: 1.232 MB / 0.5612 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1904, allocations: 0.585 MB / 0.5617 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.656e-05/0.1905, allocations: 8 kB / 0.5617 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1907, allocations: 3.938 kB / 0.5617 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.1908, allocations: 27.91 kB / 0.5618 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.1917, allocations: 274.6 kB / 0.562 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006723/0.1924, allocations: 451.4 kB / 0.5625 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.406e-05/0.1925, allocations: 7.984 kB / 0.5625 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.193, allocations: 311 kB / 0.5628 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.1934, allocations: 159.4 kB / 0.5629 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.1935, allocations: 12 kB / 0.5629 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-05/0.1935, allocations: 16 kB / 0.5629 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1937, allocations: 115.5 kB / 0.5631 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.1939, allocations: 204.7 kB / 0.5632 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.1944, allocations: 414.6 kB / 0.5636 GB, free: 5.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1944, allocations: 0 / 0.5636 GB, free: 5.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.1944, allocations: 0 / 0.5636 GB, free: 5.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.1944, allocations: 3.938 kB / 0.5636 GB, free: 5.25 MB / 430.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.001157/0.1956, allocations: 0.7498 MB / 0.5644 GB, free: 4.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1956, allocations: 12.03 kB / 0.5644 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1958, allocations: 48.47 kB / 0.5644 GB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.1962, allocations: 314.2 kB / 0.5647 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.1962, allocations: 20.36 kB / 0.5648 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.1963, allocations: 24.38 kB / 0.5648 GB, free: 3.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1974, allocations: 226 kB / 0.565 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1974, allocations: 192 / 0.565 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.1974, allocations: 3.938 kB / 0.565 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1975, allocations: 0 / 0.565 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008007/0.1983, allocations: 123.9 kB / 0.5651 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.1987, allocations: 385.2 kB / 0.5655 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.1999, allocations: 198.5 kB / 0.5657 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.2007, allocations: 120.8 kB / 0.5658 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2008, allocations: 3.938 kB / 0.5658 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.2018, allocations: 240.9 kB / 0.566 GB, free: 2.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.515e-06/0.2018, allocations: 0 / 0.566 GB, free: 2.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002704/0.2045, allocations: 0.5008 MB / 0.5665 GB, free: 2.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.2046, allocations: 67.39 kB / 0.5666 GB, free: 2.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.2051, allocations: 405.9 kB / 0.567 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/0.2052, allocations: 45.69 kB / 0.567 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.2053, allocations: 93.44 kB / 0.5671 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.2054, allocations: 43.45 kB / 0.5671 GB, free: 1.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.2054, allocations: 37.69 kB / 0.5672 GB, free: 1.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.2056, allocations: 326.8 kB / 0.5675 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.2059, allocations: 115.9 kB / 0.5676 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.2062, allocations: 173.8 kB / 0.5678 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.2066, allocations: 275.4 kB / 0.568 GB, free: 472 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2066, allocations: 0 / 0.568 GB, free: 472 kB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008687/0.2075, allocations: 496.6 kB / 0.5685 GB, free: 15.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.2076, allocations: 91.31 kB / 0.5686 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2076, allocations: 0 / 0.5686 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2077, allocations: 4 kB / 0.5686 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2078, allocations: 23.97 kB / 0.5686 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2079, allocations: 3.938 kB / 0.5686 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.2084, allocations: 75.38 kB / 0.5687 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.2085, allocations: 59.98 kB / 0.5687 GB, free: 15.7 MB / 446.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.0002359/0.2087, allocations: 192 kB / 0.5689 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.2088, allocations: 39.47 kB / 0.569 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.2089, allocations: 47.69 kB / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2089, allocations: 0 / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2089, allocations: 0 / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2089, allocations: 7.984 kB / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.2113, allocations: 0.7613 MB / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2113, allocations: 0 / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.2113, allocations: 7.938 kB / 0.5698 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2113, allocations: 7.938 kB / 0.5698 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.2114, allocations: 19.97 kB / 0.5698 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2114, allocations: 4 kB / 0.5698 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2114, allocations: 4 kB / 0.5698 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.2133, allocations: 496.4 kB / 0.5703 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.2136, allocations: 200.5 kB / 0.5705 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.2137, allocations: 12 kB / 0.5705 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.2143, allocations: 39.95 kB / 0.5705 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.2143, allocations: 7.984 kB / 0.5705 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/0.2144, allocations: 63.91 kB / 0.5706 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003907/0.2148, allocations: 291.1 kB / 0.5709 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2148, allocations: 0 / 0.5709 GB, free: 13.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004557/0.2153, allocations: 75.98 kB / 0.5709 GB, free: 13.35 MB / 446.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.000218/0.2155, allocations: 119.1 kB / 0.571 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.2169, allocations: 446.5 kB / 0.5715 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2169, allocations: 0 / 0.5715 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.2177, allocations: 128.2 kB / 0.5716 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.2181, allocations: 38.73 kB / 0.5716 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.2199, allocations: 0.6756 MB / 0.5723 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.2204, allocations: 0.7711 MB / 0.573 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.365e-05/0.2205, allocations: 13.09 kB / 0.5731 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.2206, allocations: 19.42 kB / 0.5731 GB, free: 11.07 MB / 446.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2206, allocations: 3.938 kB / 0.5731 GB, free: 11.07 MB / 446.1 MB Notification: Performance of Templates: time 0.01019/0.2308, allocations: 4.908 MB / 0.5779 GB, free: 6.082 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)