Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7207/0.7207, allocations: 131 MB / 146.3 MB, free: 1.301 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.00116, allocations: 192.2 kB / 176.4 MB, free: 4.879 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.7 MB / 431.9 MB, free: 8.77 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007385/0.0007386, allocations: 94.77 kB / 0.5003 GB, free: 9.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003056, allocations: 8.688 kB / 0.5885 GB, free: 72.67 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 79.6 MB / 0.6663 GB, free: 8.902 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001917/0.1446, allocations: 1.156 MB / 0.6674 GB, free: 7.73 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1459, allocations: 0.7271 MB / 0.6681 GB, free: 6.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.146, allocations: 0 / 0.6681 GB, free: 6.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.146, allocations: 3.938 kB / 0.6681 GB, free: 6.926 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1462, allocations: 27.78 kB / 0.6681 GB, free: 6.898 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.1468, allocations: 223.6 kB / 0.6683 GB, free: 6.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.1471, allocations: 279.6 kB / 0.6686 GB, free: 6.406 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.1471, allocations: 4.234 kB / 0.6686 GB, free: 6.402 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.1474, allocations: 211.5 kB / 0.6688 GB, free: 6.195 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.1476, allocations: 107.7 kB / 0.6689 GB, free: 6.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.1477, allocations: 16 kB / 0.6689 GB, free: 6.074 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.1477, allocations: 8 kB / 0.6689 GB, free: 6.066 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.1478, allocations: 59.78 kB / 0.669 GB, free: 6.008 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.148, allocations: 129.2 kB / 0.6691 GB, free: 5.875 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1482, allocations: 247.4 kB / 0.6694 GB, free: 5.633 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1483, allocations: 0 / 0.6694 GB, free: 5.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1483, allocations: 0 / 0.6694 GB, free: 5.633 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1483, allocations: 0 / 0.6694 GB, free: 5.633 MB / 442.7 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.0009246/0.1492, allocations: 0.5639 MB / 0.6699 GB, free: 4.992 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1493, allocations: 12.03 kB / 0.6699 GB, free: 4.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.1493, allocations: 28.73 kB / 0.6699 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1496, allocations: 236.7 kB / 0.6702 GB, free: 4.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.1497, allocations: 24.3 kB / 0.6702 GB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.1498, allocations: 20.38 kB / 0.6702 GB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.15, allocations: 134.1 kB / 0.6703 GB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1501, allocations: 4.172 kB / 0.6703 GB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.1501, allocations: 7.938 kB / 0.6703 GB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1501, allocations: 4 kB / 0.6704 GB, free: 4.484 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1502, allocations: 43.97 kB / 0.6704 GB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.1505, allocations: 281.5 kB / 0.6707 GB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.1508, allocations: 134.6 kB / 0.6708 GB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1509, allocations: 52.83 kB / 0.6708 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.151, allocations: 4 kB / 0.6708 GB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004169/0.1514, allocations: 216.1 kB / 0.6711 GB, free: 3.695 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.1514, allocations: 4 kB / 0.6711 GB, free: 3.691 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005112/0.1519, allocations: 253.2 kB / 0.6713 GB, free: 3.438 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.152, allocations: 63.31 kB / 0.6714 GB, free: 3.363 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1522, allocations: 220.1 kB / 0.6716 GB, free: 3.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.1522, allocations: 41.69 kB / 0.6716 GB, free: 3.094 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.1523, allocations: 89.14 kB / 0.6717 GB, free: 3.004 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.1523, allocations: 51.39 kB / 0.6717 GB, free: 2.953 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1524, allocations: 8 kB / 0.6717 GB, free: 2.945 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1525, allocations: 322.8 kB / 0.6721 GB, free: 2.621 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.1527, allocations: 88.17 kB / 0.6721 GB, free: 2.535 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.1529, allocations: 149 kB / 0.6723 GB, free: 2.371 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.1532, allocations: 241.2 kB / 0.6725 GB, free: 2.102 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1532, allocations: 0 / 0.6725 GB, free: 2.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000639/0.1538, allocations: 407.1 kB / 0.6729 GB, free: 1.688 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/0.1539, allocations: 71.39 kB / 0.673 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1539, allocations: 0 / 0.673 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.154, allocations: 11.97 kB / 0.673 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.1541, allocations: 31.86 kB / 0.673 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1542, allocations: 4 kB / 0.673 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.1547, allocations: 68.05 kB / 0.6731 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.1547, allocations: 39.98 kB / 0.6731 GB, free: 1.453 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001636/0.1549, allocations: 160 kB / 0.6733 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.1549, allocations: 19.75 kB / 0.6733 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.155, allocations: 29.86 kB / 0.6733 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.155, allocations: 3.938 kB / 0.6733 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.155, allocations: 0 / 0.6733 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.155, allocations: 0 / 0.6733 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.1557, allocations: 0.5333 MB / 0.6738 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1557, allocations: 7.875 kB / 0.6738 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.1558, allocations: 8 kB / 0.6739 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1558, allocations: 4 kB / 0.6739 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1558, allocations: 7.984 kB / 0.6739 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1558, allocations: 7.984 kB / 0.6739 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1558, allocations: 4 kB / 0.6739 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.1562, allocations: 304.1 kB / 0.6742 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.1564, allocations: 140.7 kB / 0.6743 GB, free: 144 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.1564, allocations: 11.98 kB / 0.6743 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.1566, allocations: 11.98 kB / 0.6743 GB, free: 120 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.1567, allocations: 15.98 kB / 0.6743 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.1567, allocations: 27.98 kB / 0.6744 GB, free: 76 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1569, allocations: 165.8 kB / 0.6745 GB, free: 15.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1569, allocations: 0 / 0.6745 GB, free: 15.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.1572, allocations: 44 kB / 0.6746 GB, free: 15.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.1573, allocations: 119.2 kB / 0.6747 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.1578, allocations: 338.9 kB / 0.675 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1579, allocations: 4.062 kB / 0.675 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.158, allocations: 71.84 kB / 0.6751 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1583, allocations: 32.53 kB / 0.6751 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.1589, allocations: 368.6 kB / 0.6755 GB, free: 14.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1592, allocations: 0.7282 MB / 0.6762 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.1593, allocations: 33.06 kB / 0.6762 GB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.1594, allocations: 31.42 kB / 0.6762 GB, free: 14.08 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1595, allocations: 3.938 kB / 0.6762 GB, free: 14.08 MB / 458.7 MB Notification: Performance of Templates: time 0.00638/0.1658, allocations: 3.61 MB / 0.6798 GB, free: 10.49 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)