Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 117 kB / 17.09 MB, free: 5.938 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.00127/0.00127, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7157/0.7157, allocations: 115.3 MB / 407.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 75.5 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002459/0.1334, allocations: 1.5 MB / 0.6342 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1347, allocations: 0.5408 MB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.1347, allocations: 0 / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.639e-05/0.1348, allocations: 11.86 kB / 0.6347 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.841e-05/0.1349, allocations: 27.86 kB / 0.6347 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.1357, allocations: 321.6 kB / 0.635 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.1362, allocations: 0.4955 MB / 0.6355 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.1362, allocations: 15.97 kB / 0.6355 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.1366, allocations: 283.6 kB / 0.6358 GB, free: 1.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1368, allocations: 139.5 kB / 0.6359 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.241e-05/0.1369, allocations: 24 kB / 0.636 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.137, allocations: 28 kB / 0.636 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1371, allocations: 123.6 kB / 0.6361 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.1373, allocations: 179.1 kB / 0.6363 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.1377, allocations: 426.6 kB / 0.6367 GB, free: 352 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1377, allocations: 0 / 0.6367 GB, free: 352 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1377, allocations: 0 / 0.6367 GB, free: 352 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.423e-06/0.1377, allocations: 0 / 0.6367 GB, free: 352 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.001133/0.1389, allocations: 0.8703 MB / 0.6375 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1389, allocations: 12.03 kB / 0.6375 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.139, allocations: 48.47 kB / 0.6376 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1393, allocations: 310.3 kB / 0.6379 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.1394, allocations: 16.38 kB / 0.6379 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.1395, allocations: 28.36 kB / 0.6379 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.1405, allocations: 213.9 kB / 0.6381 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1405, allocations: 192 / 0.6381 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.1405, allocations: 3.938 kB / 0.6381 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1406, allocations: 4 kB / 0.6381 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.1414, allocations: 99.92 kB / 0.6382 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1418, allocations: 389.2 kB / 0.6386 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1429, allocations: 178.5 kB / 0.6388 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007872/0.1437, allocations: 113.2 kB / 0.6389 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1437, allocations: 0 / 0.6389 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009787/0.1447, allocations: 235 kB / 0.6391 GB, free: 13.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1447, allocations: 0 / 0.6391 GB, free: 13.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002659/0.1474, allocations: 483.2 kB / 0.6396 GB, free: 13.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.1474, allocations: 67.33 kB / 0.6396 GB, free: 13.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.1478, allocations: 405.9 kB / 0.64 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.1479, allocations: 41.69 kB / 0.6401 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.148, allocations: 89.45 kB / 0.6401 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.148, allocations: 51.44 kB / 0.6402 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.1482, allocations: 133.2 kB / 0.6403 GB, free: 12.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1483, allocations: 318.8 kB / 0.6406 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.1486, allocations: 115.9 kB / 0.6407 GB, free: 11.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.1489, allocations: 174.4 kB / 0.6409 GB, free: 11.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.1492, allocations: 271.4 kB / 0.6412 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1492, allocations: 4 kB / 0.6412 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007489/0.15, allocations: 0.4888 MB / 0.6416 GB, free: 10.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/0.1501, allocations: 95.3 kB / 0.6417 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1501, allocations: 7.938 kB / 0.6417 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1501, allocations: 0 / 0.6417 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1503, allocations: 23.92 kB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1503, allocations: 4 kB / 0.6418 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.1508, allocations: 56.05 kB / 0.6418 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.1508, allocations: 63.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.0002186/0.1511, allocations: 199.5 kB / 0.6421 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.1511, allocations: 39.47 kB / 0.6421 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.1512, allocations: 39.75 kB / 0.6421 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1512, allocations: 4 kB / 0.6422 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1512, allocations: 3.984 kB / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1512, allocations: 0 / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.1534, allocations: 0.7481 MB / 0.6429 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1534, allocations: 0 / 0.6429 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.1534, allocations: 4 kB / 0.6429 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1535, allocations: 8 kB / 0.6429 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.1535, allocations: 19.97 kB / 0.6429 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1535, allocations: 0 / 0.6429 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1535, allocations: 0 / 0.6429 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.1553, allocations: 477.4 kB / 0.6434 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.1555, allocations: 200.5 kB / 0.6436 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/0.1556, allocations: 15.98 kB / 0.6436 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.1561, allocations: 27.97 kB / 0.6436 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.1561, allocations: 11.98 kB / 0.6436 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.1562, allocations: 51.98 kB / 0.6437 GB, free: 8.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.1565, allocations: 299 kB / 0.644 GB, free: 8.453 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1565, allocations: 4 kB / 0.644 GB, free: 8.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003487/0.1568, allocations: 67.98 kB / 0.644 GB, free: 8.383 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.0001436/0.157, allocations: 120.6 kB / 0.6441 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.1582, allocations: 438.8 kB / 0.6446 GB, free: 7.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1582, allocations: 0 / 0.6446 GB, free: 7.801 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007894/0.159, allocations: 119.9 kB / 0.6447 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1594, allocations: 31.36 kB / 0.6447 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1609, allocations: 0.5805 MB / 0.6453 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1612, allocations: 0.7745 MB / 0.646 GB, free: 6.238 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.1613, allocations: 23.42 kB / 0.646 GB, free: 6.215 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1613, allocations: 0 / 0.646 GB, free: 6.215 MB / 494.1 MB Notification: Performance of Templates: time 0.005332/0.1666, allocations: 3.664 MB / 0.6496 GB, free: 2.496 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)