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.001283/0.001282, allocations: 114.8 kB / 17.08 MB, free: 5.828 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.001234/0.001234, allocations: 196.7 kB / 18.01 MB, free: 4.965 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.436/1.436, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.713/0.713, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.33 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 76.18 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002428/0.1419, allocations: 1.511 MB / 0.6342 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1431, allocations: 0.5306 MB / 0.6347 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.1432, allocations: 4 kB / 0.6347 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.921e-05/0.1433, allocations: 3.938 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1434, allocations: 31.78 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.1442, allocations: 306.3 kB / 0.635 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.1447, allocations: 0.5111 MB / 0.6355 GB, free: 1.547 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.1447, allocations: 8 kB / 0.6355 GB, free: 1.539 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.1451, allocations: 271.6 kB / 0.6358 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.1454, allocations: 147.4 kB / 0.6359 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.1455, allocations: 28 kB / 0.636 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.1456, allocations: 28 kB / 0.636 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.1457, allocations: 119.6 kB / 0.6361 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1459, allocations: 183.1 kB / 0.6363 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.1463, allocations: 414.7 kB / 0.6367 GB, free: 380 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1463, allocations: 0 / 0.6367 GB, free: 380 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1463, allocations: 0 / 0.6367 GB, free: 380 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1463, allocations: 4 kB / 0.6367 GB, free: 376 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.001136/0.1475, allocations: 0.8725 MB / 0.6375 GB, free: 15.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1475, allocations: 8.031 kB / 0.6375 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.1477, allocations: 56.41 kB / 0.6376 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.148, allocations: 314.2 kB / 0.6379 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.1481, allocations: 16.36 kB / 0.6379 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.1481, allocations: 24.38 kB / 0.6379 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/0.1491, allocations: 210 kB / 0.6381 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1491, allocations: 192 / 0.6381 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.1491, allocations: 7.938 kB / 0.6381 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1491, allocations: 4 kB / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.1498, allocations: 103.9 kB / 0.6382 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.1503, allocations: 381.2 kB / 0.6386 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009764/0.1513, allocations: 186.4 kB / 0.6388 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007095/0.152, allocations: 109.2 kB / 0.6389 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.152, allocations: 0 / 0.6389 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008777/0.1529, allocations: 231.1 kB / 0.6391 GB, free: 13.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.1529, allocations: 0 / 0.6391 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002436/0.1553, allocations: 491.8 kB / 0.6396 GB, free: 13.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.1554, allocations: 67.31 kB / 0.6396 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.1559, allocations: 409.9 kB / 0.64 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.156, allocations: 41.69 kB / 0.6401 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.1561, allocations: 97.44 kB / 0.6402 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.1561, allocations: 35.47 kB / 0.6402 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.1563, allocations: 133.2 kB / 0.6403 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1565, allocations: 318.8 kB / 0.6406 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.1567, allocations: 123.9 kB / 0.6407 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.157, allocations: 170.4 kB / 0.6409 GB, free: 11.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.1574, allocations: 277.2 kB / 0.6412 GB, free: 11.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1574, allocations: 0 / 0.6412 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000817/0.1583, allocations: 498.6 kB / 0.6416 GB, free: 10.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/0.1584, allocations: 87.31 kB / 0.6417 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1584, allocations: 4 kB / 0.6417 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1584, allocations: 0 / 0.6417 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.1586, allocations: 27.92 kB / 0.6418 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1586, allocations: 4 kB / 0.6418 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.1591, allocations: 60.03 kB / 0.6418 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/0.1591, allocations: 59.97 kB / 0.6419 GB, free: 10.69 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.0002285/0.1594, allocations: 195.5 kB / 0.6421 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.1594, allocations: 43.47 kB / 0.6421 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.1595, allocations: 39.73 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1595, allocations: 4 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1595, allocations: 0 / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1595, allocations: 4 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.1617, allocations: 0.7481 MB / 0.6429 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1617, allocations: 3.938 kB / 0.6429 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.1617, allocations: 11.98 kB / 0.6429 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1617, allocations: 0 / 0.6429 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.1618, allocations: 19.98 kB / 0.6429 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1618, allocations: 0 / 0.6429 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1618, allocations: 3.984 kB / 0.6429 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.1635, allocations: 481.5 kB / 0.6434 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.1637, allocations: 192.5 kB / 0.6436 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.1638, allocations: 15.98 kB / 0.6436 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.1643, allocations: 31.97 kB / 0.6436 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1643, allocations: 11.97 kB / 0.6436 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/0.1644, allocations: 59.97 kB / 0.6437 GB, free: 8.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002867/0.1647, allocations: 299.1 kB / 0.644 GB, free: 8.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1647, allocations: 0 / 0.644 GB, free: 8.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.1651, allocations: 60 kB / 0.644 GB, free: 8.402 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.0001514/0.1652, allocations: 123.1 kB / 0.6441 GB, free: 8.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.1666, allocations: 442.5 kB / 0.6446 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.1666, allocations: 4 kB / 0.6446 GB, free: 7.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007248/0.1673, allocations: 115.9 kB / 0.6447 GB, free: 7.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1677, allocations: 27.67 kB / 0.6447 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.1692, allocations: 0.5826 MB / 0.6453 GB, free: 7.055 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1696, allocations: 0.7823 MB / 0.646 GB, free: 6.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.1697, allocations: 15.44 kB / 0.646 GB, free: 6.23 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1697, allocations: 0 / 0.646 GB, free: 6.23 MB / 494.1 MB Notification: Performance of Templates: time 0.006364/0.1761, allocations: 3.646 MB / 0.6496 GB, free: 2.531 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)