Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7201/0.7201, allocations: 131 MB / 146.3 MB, free: 1.277 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.0009703/0.0009702, allocations: 187.8 kB / 176.4 MB, free: 4.855 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.394/1.394, allocations: 225.7 MB / 431.9 MB, free: 8.656 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.0008433/0.0008433, allocations: 94.75 kB / 0.5003 GB, free: 9.781 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002957, allocations: 12 kB / 0.5885 GB, free: 72.64 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 79.6 MB / 0.6663 GB, free: 8.879 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001892/0.1341, allocations: 1.159 MB / 0.6674 GB, free: 7.703 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1353, allocations: 0.731 MB / 0.6681 GB, free: 6.898 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.1353, allocations: 0 / 0.6681 GB, free: 6.898 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.1354, allocations: 7.875 kB / 0.6681 GB, free: 6.891 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1355, allocations: 15.91 kB / 0.6681 GB, free: 6.875 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.1363, allocations: 227.6 kB / 0.6683 GB, free: 6.652 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.1367, allocations: 279.5 kB / 0.6686 GB, free: 6.379 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.1367, allocations: 4.234 kB / 0.6686 GB, free: 6.375 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.1371, allocations: 203.5 kB / 0.6688 GB, free: 6.176 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.1373, allocations: 115.7 kB / 0.6689 GB, free: 6.062 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.1374, allocations: 8 kB / 0.6689 GB, free: 6.055 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-05/0.1374, allocations: 8 kB / 0.6689 GB, free: 6.047 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1376, allocations: 63.8 kB / 0.669 GB, free: 5.984 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1377, allocations: 133.2 kB / 0.6691 GB, free: 5.848 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.138, allocations: 243.4 kB / 0.6694 GB, free: 5.609 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.138, allocations: 0 / 0.6694 GB, free: 5.609 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.138, allocations: 0 / 0.6694 GB, free: 5.609 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.138, allocations: 0 / 0.6694 GB, free: 5.609 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.00095/0.139, allocations: 0.5639 MB / 0.6699 GB, free: 4.969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.139, allocations: 12.03 kB / 0.6699 GB, free: 4.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.1391, allocations: 28.73 kB / 0.6699 GB, free: 4.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1394, allocations: 244.7 kB / 0.6702 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.1394, allocations: 20.31 kB / 0.6702 GB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.1395, allocations: 16.38 kB / 0.6702 GB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.1398, allocations: 142.1 kB / 0.6703 GB, free: 4.469 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1398, allocations: 192 / 0.6703 GB, free: 4.469 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.1399, allocations: 11.94 kB / 0.6704 GB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1399, allocations: 0 / 0.6704 GB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.14, allocations: 43.97 kB / 0.6704 GB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1403, allocations: 293.4 kB / 0.6707 GB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.1406, allocations: 122.7 kB / 0.6708 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1407, allocations: 52.83 kB / 0.6708 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1408, allocations: 4 kB / 0.6708 GB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.1412, allocations: 218.9 kB / 0.6711 GB, free: 3.664 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.1412, allocations: 0 / 0.6711 GB, free: 3.664 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005472/0.1418, allocations: 257.2 kB / 0.6713 GB, free: 3.406 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1418, allocations: 63.3 kB / 0.6714 GB, free: 3.332 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.142, allocations: 224.1 kB / 0.6716 GB, free: 3.105 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.1421, allocations: 33.7 kB / 0.6716 GB, free: 3.066 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.1422, allocations: 93.14 kB / 0.6717 GB, free: 2.973 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.1422, allocations: 47.38 kB / 0.6717 GB, free: 2.926 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.1423, allocations: 11.98 kB / 0.6718 GB, free: 2.914 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1424, allocations: 322.8 kB / 0.6721 GB, free: 2.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.1426, allocations: 96.11 kB / 0.6722 GB, free: 2.496 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1429, allocations: 138.9 kB / 0.6723 GB, free: 2.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.1432, allocations: 235.9 kB / 0.6725 GB, free: 2.078 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1432, allocations: 0 / 0.6725 GB, free: 2.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007347/0.1439, allocations: 403.5 kB / 0.6729 GB, free: 1.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.541e-05/0.144, allocations: 79.56 kB / 0.673 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1441, allocations: 4 kB / 0.673 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1441, allocations: 0 / 0.673 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.1443, allocations: 35.86 kB / 0.673 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1443, allocations: 0 / 0.673 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.1448, allocations: 71.84 kB / 0.6731 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.1449, allocations: 39.98 kB / 0.6731 GB, free: 1.43 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.0001921/0.1451, allocations: 162.7 kB / 0.6733 GB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.1451, allocations: 19.75 kB / 0.6733 GB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.1452, allocations: 21.88 kB / 0.6733 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.1452, allocations: 11.92 kB / 0.6733 GB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1452, allocations: 3.984 kB / 0.6733 GB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1452, allocations: 4 kB / 0.6733 GB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007754/0.146, allocations: 0.5333 MB / 0.6739 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.146, allocations: 7.938 kB / 0.6739 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.1461, allocations: 4 kB / 0.6739 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1461, allocations: 3.984 kB / 0.6739 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.1461, allocations: 11.98 kB / 0.6739 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1461, allocations: 0 / 0.6739 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1461, allocations: 4 kB / 0.6739 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.1465, allocations: 308.1 kB / 0.6742 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.1467, allocations: 144.7 kB / 0.6743 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.1467, allocations: 8 kB / 0.6743 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.1469, allocations: 11.98 kB / 0.6743 GB, free: 92 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.147, allocations: 19.92 kB / 0.6744 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.147, allocations: 23.97 kB / 0.6744 GB, free: 48 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1472, allocations: 161.8 kB / 0.6745 GB, free: 15.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1472, allocations: 7.938 kB / 0.6745 GB, free: 15.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000287/0.1475, allocations: 47.98 kB / 0.6746 GB, free: 15.84 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.000168/0.1477, allocations: 111.2 kB / 0.6747 GB, free: 15.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.1482, allocations: 342.6 kB / 0.675 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1482, allocations: 0 / 0.675 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1484, allocations: 71.84 kB / 0.6751 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.1487, allocations: 38.31 kB / 0.6751 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.1494, allocations: 372.6 kB / 0.6755 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1498, allocations: 0.7204 MB / 0.6762 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.1499, allocations: 33.09 kB / 0.6762 GB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.15, allocations: 35.41 kB / 0.6762 GB, free: 14.05 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.15, allocations: 4 kB / 0.6762 GB, free: 14.05 MB / 458.7 MB Notification: Performance of Templates: time 0.007561/0.1576, allocations: 3.611 MB / 0.6798 GB, free: 10.45 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)