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.001161/0.001161, allocations: 112.5 kB / 17.09 MB, free: 5.984 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.001151/0.001151, allocations: 193.6 kB / 18.02 MB, free: 5.07 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.318/1.318, 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.7684/0.7684, allocations: 122.9 MB / 414.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 66.31 kB / 0.5691 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 77.93 MB / 0.6452 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002518/0.1291, allocations: 1.516 MB / 0.6467 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1303, allocations: 0.5319 MB / 0.6472 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.1304, allocations: 4 kB / 0.6472 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.142e-05/0.1305, allocations: 11.88 kB / 0.6472 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.1307, allocations: 23.86 kB / 0.6472 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.1316, allocations: 314.8 kB / 0.6475 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.1322, allocations: 0.5072 MB / 0.648 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.1322, allocations: 8 kB / 0.648 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.1327, allocations: 275.6 kB / 0.6483 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.133, allocations: 143.5 kB / 0.6484 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.1331, allocations: 28 kB / 0.6484 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1332, allocations: 28 kB / 0.6485 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1334, allocations: 119.6 kB / 0.6486 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.1336, allocations: 179.1 kB / 0.6488 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.134, allocations: 426.7 kB / 0.6492 GB, free: 4.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.134, allocations: 0 / 0.6492 GB, free: 4.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1341, allocations: 0 / 0.6492 GB, free: 4.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1341, allocations: 0 / 0.6492 GB, free: 4.977 MB / 494.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.001242/0.1353, allocations: 0.8664 MB / 0.65 GB, free: 4.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1354, allocations: 8.625 kB / 0.65 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.1355, allocations: 52.47 kB / 0.6501 GB, free: 3.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.1359, allocations: 314.1 kB / 0.6504 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.136, allocations: 20.36 kB / 0.6504 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.1361, allocations: 28.36 kB / 0.6504 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1371, allocations: 206 kB / 0.6506 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1371, allocations: 4.172 kB / 0.6506 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.1372, allocations: 7.938 kB / 0.6506 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1372, allocations: 4 kB / 0.6506 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.138, allocations: 111.8 kB / 0.6507 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.1385, allocations: 385.3 kB / 0.6511 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.1396, allocations: 181.7 kB / 0.6513 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008108/0.1404, allocations: 108.8 kB / 0.6514 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1405, allocations: 4 kB / 0.6514 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009803/0.1415, allocations: 223.1 kB / 0.6516 GB, free: 2.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.1415, allocations: 3.938 kB / 0.6516 GB, free: 2.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002721/0.1442, allocations: 488.8 kB / 0.6521 GB, free: 1.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1443, allocations: 63.34 kB / 0.6521 GB, free: 1.719 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.1447, allocations: 409.8 kB / 0.6525 GB, free: 1.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.1447, allocations: 45.69 kB / 0.6526 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.1448, allocations: 93.44 kB / 0.6526 GB, free: 1.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.1449, allocations: 43.53 kB / 0.6527 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.1451, allocations: 129.3 kB / 0.6528 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1452, allocations: 322.8 kB / 0.6531 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.1454, allocations: 115.9 kB / 0.6532 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.1457, allocations: 161.9 kB / 0.6534 GB, free: 376 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.1461, allocations: 281.9 kB / 0.6536 GB, free: 60 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1461, allocations: 0 / 0.6536 GB, free: 60 kB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000804/0.1469, allocations: 490.8 kB / 0.6541 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.012e-05/0.147, allocations: 87.38 kB / 0.6542 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.147, allocations: 7.938 kB / 0.6542 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.147, allocations: 4 kB / 0.6542 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1472, allocations: 23.92 kB / 0.6542 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1472, allocations: 7.984 kB / 0.6542 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.1477, allocations: 59.95 kB / 0.6543 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.1478, allocations: 59.98 kB / 0.6544 GB, free: 15.3 MB / 0.4981 GB 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.0002087/0.1481, allocations: 188.8 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.1481, allocations: 31.62 kB / 0.6546 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.1482, allocations: 47.67 kB / 0.6546 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1482, allocations: 4 kB / 0.6546 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1482, allocations: 0 / 0.6546 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.1485, allocations: 208.4 kB / 0.6548 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.1486, allocations: 15.98 kB / 0.6548 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.1491, allocations: 27.97 kB / 0.6549 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.1491, allocations: 15.92 kB / 0.6549 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001831/0.1509, allocations: 427.2 kB / 0.6553 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001836/0.1528, allocations: 0.5343 MB / 0.6558 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007892/0.1536, allocations: 118.9 kB / 0.6559 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002758/0.1539, allocations: 295 kB / 0.6562 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of Backend: time 4.61e-07/0.1539, allocations: 4 kB / 0.6562 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008285/0.1547, allocations: 417 kB / 0.6566 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0009047/0.1556, allocations: 0.9315 MB / 0.6575 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.009052/0.1647, allocations: 5.018 MB / 0.6624 GB, free: 6.84 MB / 0.4981 GB 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)