Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 116.7 kB / 17.08 MB, free: 6.012 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.001271/0.001271, allocations: 195 kB / 18.02 MB, free: 5.094 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7146/0.7146, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.11 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.123, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002637/0.1257, allocations: 1.501 MB / 0.6342 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.127, allocations: 0.5517 MB / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.1271, allocations: 0 / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.1273, allocations: 3.938 kB / 0.6347 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.1274, allocations: 31.78 kB / 0.6347 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.1283, allocations: 306.8 kB / 0.635 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.1289, allocations: 0.5072 MB / 0.6355 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.129, allocations: 12 kB / 0.6355 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.1294, allocations: 279.5 kB / 0.6358 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.1297, allocations: 143.5 kB / 0.6359 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.1298, allocations: 28 kB / 0.636 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.13, allocations: 28 kB / 0.636 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1301, allocations: 119.6 kB / 0.6361 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1303, allocations: 179.1 kB / 0.6363 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.1307, allocations: 422.6 kB / 0.6367 GB, free: 344 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1307, allocations: 4 kB / 0.6367 GB, free: 340 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1307, allocations: 0 / 0.6367 GB, free: 340 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1307, allocations: 0 / 0.6367 GB, free: 340 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.001293/0.132, allocations: 0.8664 MB / 0.6375 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1321, allocations: 8.031 kB / 0.6375 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.1322, allocations: 52.47 kB / 0.6376 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.1326, allocations: 310.2 kB / 0.6379 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.1327, allocations: 20.36 kB / 0.6379 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.1327, allocations: 24.38 kB / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1338, allocations: 214 kB / 0.6381 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1339, allocations: 192 / 0.6381 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1339, allocations: 7.938 kB / 0.6381 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1339, allocations: 0 / 0.6381 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.1347, allocations: 99.92 kB / 0.6382 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.1352, allocations: 393.2 kB / 0.6386 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.1363, allocations: 182.4 kB / 0.6388 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007944/0.1371, allocations: 109.2 kB / 0.6389 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1372, allocations: 4 kB / 0.6389 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009925/0.1382, allocations: 227.1 kB / 0.6391 GB, free: 13.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.1382, allocations: 0 / 0.6391 GB, free: 13.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002649/0.1408, allocations: 488.8 kB / 0.6396 GB, free: 13.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1409, allocations: 63.33 kB / 0.6396 GB, free: 13.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.1413, allocations: 409.9 kB / 0.64 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.1414, allocations: 41.69 kB / 0.6401 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1415, allocations: 93.45 kB / 0.6402 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.1416, allocations: 43.44 kB / 0.6402 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.1417, allocations: 129.2 kB / 0.6403 GB, free: 12.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1419, allocations: 326.8 kB / 0.6406 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1421, allocations: 115.9 kB / 0.6407 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.1424, allocations: 175.1 kB / 0.6409 GB, free: 11.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1428, allocations: 275.1 kB / 0.6412 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1428, allocations: 0 / 0.6412 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007768/0.1436, allocations: 496.6 kB / 0.6417 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.75e-05/0.1437, allocations: 93.53 kB / 0.6417 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1437, allocations: 11.94 kB / 0.6418 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1437, allocations: 4 kB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.1439, allocations: 19.92 kB / 0.6418 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1439, allocations: 4 kB / 0.6418 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.1444, allocations: 55.86 kB / 0.6418 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/0.1445, allocations: 59.97 kB / 0.6419 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.0002136/0.1447, allocations: 196 kB / 0.6421 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.1448, allocations: 43.47 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.1449, allocations: 39.73 kB / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1449, allocations: 0 / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1449, allocations: 0 / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1449, allocations: 0 / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.1472, allocations: 0.7545 MB / 0.6429 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1472, allocations: 0 / 0.6429 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.1472, allocations: 7.984 kB / 0.6429 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1473, allocations: 0 / 0.6429 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.1473, allocations: 19.98 kB / 0.6429 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1473, allocations: 0 / 0.6429 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1473, allocations: 0 / 0.6429 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.1491, allocations: 483.1 kB / 0.6434 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.1494, allocations: 196.5 kB / 0.6436 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.923e-05/0.1495, allocations: 19.98 kB / 0.6436 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.15, allocations: 27.97 kB / 0.6436 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.15, allocations: 7.984 kB / 0.6436 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/0.1501, allocations: 55.98 kB / 0.6437 GB, free: 8.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.1504, allocations: 295.1 kB / 0.644 GB, free: 8.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1504, allocations: 0 / 0.644 GB, free: 8.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.1508, allocations: 67.98 kB / 0.644 GB, free: 8.379 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.0001551/0.1509, allocations: 131.7 kB / 0.6441 GB, free: 8.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.1522, allocations: 436.7 kB / 0.6446 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1522, allocations: 0 / 0.6446 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008152/0.1531, allocations: 124.2 kB / 0.6447 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.0003907/0.1535, allocations: 36.52 kB / 0.6447 GB, free: 7.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.155, allocations: 0.5766 MB / 0.6453 GB, free: 7.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1554, allocations: 0.7745 MB / 0.646 GB, free: 6.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.1554, allocations: 19.42 kB / 0.6461 GB, free: 6.203 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1554, allocations: 4 kB / 0.6461 GB, free: 6.199 MB / 494.1 MB Notification: Performance of Templates: time 0.006055/0.1615, allocations: 3.662 MB / 0.6496 GB, free: 2.484 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)