Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.751/0.751, allocations: 131 MB / 146.3 MB, free: 1.289 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.000939/0.0009391, allocations: 187.8 kB / 176.4 MB, free: 4.875 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.419/1.419, allocations: 225.7 MB / 431.9 MB, free: 8.812 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.0007992/0.0007993, allocations: 97.44 kB / 0.5003 GB, free: 9.914 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 8 kB / 0.5885 GB, free: 72.66 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 79.61 MB / 0.6663 GB, free: 8.902 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001493/0.1299, allocations: 1.159 MB / 0.6674 GB, free: 7.727 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.1309, allocations: 0.7348 MB / 0.6681 GB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.1309, allocations: 0 / 0.6681 GB, free: 6.918 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.1309, allocations: 7.875 kB / 0.6681 GB, free: 6.91 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.1311, allocations: 11.92 kB / 0.6681 GB, free: 6.898 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.1317, allocations: 227.6 kB / 0.6683 GB, free: 6.676 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.1319, allocations: 279.5 kB / 0.6686 GB, free: 6.402 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.132, allocations: 8.234 kB / 0.6686 GB, free: 6.395 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.1323, allocations: 207.5 kB / 0.6688 GB, free: 6.191 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1325, allocations: 111.7 kB / 0.6689 GB, free: 6.082 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.1326, allocations: 8 kB / 0.6689 GB, free: 6.074 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.855e-05/0.1326, allocations: 12 kB / 0.6689 GB, free: 6.062 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.1327, allocations: 55.8 kB / 0.669 GB, free: 6.008 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1329, allocations: 133.2 kB / 0.6691 GB, free: 5.871 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1332, allocations: 243.4 kB / 0.6694 GB, free: 5.633 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1332, allocations: 0 / 0.6694 GB, free: 5.633 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1332, allocations: 0 / 0.6694 GB, free: 5.633 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1332, allocations: 4 kB / 0.6694 GB, free: 5.629 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.0009853/0.1342, allocations: 0.5678 MB / 0.6699 GB, free: 4.984 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1342, allocations: 8.031 kB / 0.6699 GB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.1343, allocations: 24.75 kB / 0.6699 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.1346, allocations: 244.7 kB / 0.6702 GB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.1346, allocations: 20.31 kB / 0.6702 GB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.1347, allocations: 20.38 kB / 0.6702 GB, free: 4.633 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.135, allocations: 138.1 kB / 0.6703 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.135, allocations: 192 / 0.6703 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.135, allocations: 11.94 kB / 0.6704 GB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.135, allocations: 0 / 0.6704 GB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1352, allocations: 43.97 kB / 0.6704 GB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.1355, allocations: 285.5 kB / 0.6707 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.1357, allocations: 130.6 kB / 0.6708 GB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1358, allocations: 52.83 kB / 0.6708 GB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1359, allocations: 4 kB / 0.6709 GB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.1363, allocations: 207 kB / 0.671 GB, free: 3.699 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.1363, allocations: 0 / 0.671 GB, free: 3.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005336/0.1368, allocations: 257.7 kB / 0.6713 GB, free: 3.441 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.1369, allocations: 63.3 kB / 0.6714 GB, free: 3.367 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1371, allocations: 228.1 kB / 0.6716 GB, free: 3.137 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.1371, allocations: 37.7 kB / 0.6716 GB, free: 3.094 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.1372, allocations: 93.08 kB / 0.6717 GB, free: 3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.1373, allocations: 51.38 kB / 0.6717 GB, free: 2.949 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.1373, allocations: 11.94 kB / 0.6718 GB, free: 2.938 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1375, allocations: 318.8 kB / 0.6721 GB, free: 2.617 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.1377, allocations: 92.17 kB / 0.6721 GB, free: 2.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.1379, allocations: 143.5 kB / 0.6723 GB, free: 2.367 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.1382, allocations: 233.3 kB / 0.6725 GB, free: 2.105 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1382, allocations: 4 kB / 0.6725 GB, free: 2.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006179/0.1388, allocations: 400.5 kB / 0.6729 GB, free: 1.691 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.1389, allocations: 71.69 kB / 0.673 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-06/0.1389, allocations: 4 kB / 0.673 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1389, allocations: 4 kB / 0.673 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1391, allocations: 31.86 kB / 0.673 GB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1391, allocations: 192 / 0.673 GB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.1396, allocations: 75.84 kB / 0.6731 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.1397, allocations: 35.98 kB / 0.6731 GB, free: 1.461 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.0001703/0.1399, allocations: 163.3 kB / 0.6733 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.1399, allocations: 27.73 kB / 0.6733 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.14, allocations: 17.88 kB / 0.6733 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.14, allocations: 7.938 kB / 0.6733 GB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.14, allocations: 0 / 0.6733 GB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.14, allocations: 3.984 kB / 0.6733 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007257/0.1408, allocations: 0.5371 MB / 0.6738 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1408, allocations: 7.938 kB / 0.6739 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.1408, allocations: 8 kB / 0.6739 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1408, allocations: 4 kB / 0.6739 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.1409, allocations: 15.97 kB / 0.6739 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1409, allocations: 0 / 0.6739 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1409, allocations: 0 / 0.6739 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1413, allocations: 303.2 kB / 0.6742 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.1414, allocations: 144.7 kB / 0.6743 GB, free: 144 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.1415, allocations: 11.94 kB / 0.6743 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1417, allocations: 15.98 kB / 0.6743 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.1417, allocations: 15.98 kB / 0.6743 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.1418, allocations: 23.97 kB / 0.6744 GB, free: 76 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1419, allocations: 157.8 kB / 0.6745 GB, free: 15.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1419, allocations: 0 / 0.6745 GB, free: 15.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002788/0.1422, allocations: 48 kB / 0.6746 GB, free: 15.88 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.0001319/0.1423, allocations: 126 kB / 0.6747 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.1428, allocations: 338.6 kB / 0.675 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1429, allocations: 0 / 0.675 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.143, allocations: 75.83 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.0003094/0.1433, allocations: 32.52 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.0005674/0.1439, allocations: 371.8 kB / 0.6755 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1442, allocations: 0.7282 MB / 0.6762 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.1443, allocations: 25.09 kB / 0.6762 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.1444, allocations: 35.41 kB / 0.6762 GB, free: 14.08 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1444, allocations: 0 / 0.6762 GB, free: 14.08 MB / 458.7 MB Notification: Performance of Templates: time 0.006137/0.1506, allocations: 3.622 MB / 0.6798 GB, free: 10.48 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)