Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8139/0.8139, allocations: 143.8 MB / 159.1 MB, free: 6.523 MB / 122.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.001061/0.001061, allocations: 174.3 kB / 192 MB, free: 6.719 MB / 154.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.572/1.572, allocations: 225.7 MB / 450.4 MB, free: 4.938 MB / 330.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.0008509/0.0008509, allocations: 103.5 kB / 0.5211 GB, free: 1.602 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 274.7 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 18.06 kB / 0.6948 GB, free: 59.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.135, allocations: 82.45 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001798/0.1368, allocations: 1.185 MB / 0.7765 GB, free: 13.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1379, allocations: 0.7382 MB / 0.7772 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.138, allocations: 3.938 kB / 0.7772 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.298e-05/0.1381, allocations: 3.938 kB / 0.7772 GB, free: 12.33 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.972e-05/0.1382, allocations: 20.23 kB / 0.7772 GB, free: 12.31 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.1388, allocations: 223.7 kB / 0.7774 GB, free: 12.09 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.139, allocations: 283.9 kB / 0.7777 GB, free: 11.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.1391, allocations: 11.94 kB / 0.7777 GB, free: 11.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.1394, allocations: 226.3 kB / 0.7779 GB, free: 11.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.1396, allocations: 115.6 kB / 0.778 GB, free: 11.47 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.1397, allocations: 12 kB / 0.778 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-05/0.1398, allocations: 8 kB / 0.778 GB, free: 11.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1399, allocations: 79.77 kB / 0.7781 GB, free: 11.38 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.14, allocations: 149 kB / 0.7783 GB, free: 11.22 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1403, allocations: 279.3 kB / 0.7785 GB, free: 10.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1404, allocations: 0 / 0.7785 GB, free: 10.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1404, allocations: 4 kB / 0.7785 GB, free: 10.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1404, allocations: 0 / 0.7785 GB, free: 10.95 MB / 458.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.000973/0.1414, allocations: 0.6127 MB / 0.7791 GB, free: 10.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1414, allocations: 8.031 kB / 0.7791 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.1415, allocations: 35.7 kB / 0.7792 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1418, allocations: 266.2 kB / 0.7794 GB, free: 9.918 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.1419, allocations: 19.97 kB / 0.7794 GB, free: 9.898 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.1419, allocations: 16 kB / 0.7795 GB, free: 9.883 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1422, allocations: 145.5 kB / 0.7796 GB, free: 9.734 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1422, allocations: 3.938 kB / 0.7796 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1423, allocations: 0 / 0.7796 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1423, allocations: 0 / 0.7796 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1424, allocations: 47.97 kB / 0.7797 GB, free: 9.684 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.1427, allocations: 317.2 kB / 0.78 GB, free: 9.324 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.143, allocations: 134.6 kB / 0.7801 GB, free: 9.184 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1431, allocations: 56.83 kB / 0.7801 GB, free: 9.125 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1432, allocations: 4 kB / 0.7801 GB, free: 9.121 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.1436, allocations: 211.6 kB / 0.7803 GB, free: 8.902 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.1436, allocations: 0 / 0.7803 GB, free: 8.902 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005501/0.1441, allocations: 277 kB / 0.7806 GB, free: 8.625 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1442, allocations: 55.41 kB / 0.7807 GB, free: 8.559 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1444, allocations: 290.9 kB / 0.7809 GB, free: 8.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.1445, allocations: 41.69 kB / 0.781 GB, free: 8.223 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.1446, allocations: 97.08 kB / 0.7811 GB, free: 8.125 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.1446, allocations: 39.5 kB / 0.7811 GB, free: 8.086 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1447, allocations: 11.94 kB / 0.7811 GB, free: 8.074 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1448, allocations: 326.8 kB / 0.7814 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.145, allocations: 92.17 kB / 0.7815 GB, free: 7.652 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.1452, allocations: 143.3 kB / 0.7817 GB, free: 7.492 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.1456, allocations: 246.9 kB / 0.7819 GB, free: 7.219 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1456, allocations: 0 / 0.7819 GB, free: 7.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006881/0.1463, allocations: 424.5 kB / 0.7823 GB, free: 6.785 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/0.1463, allocations: 71.39 kB / 0.7824 GB, free: 6.703 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1464, allocations: 4 kB / 0.7824 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1464, allocations: 4 kB / 0.7824 GB, free: 6.695 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1466, allocations: 27.91 kB / 0.7824 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1466, allocations: 4 kB / 0.7824 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.1471, allocations: 75.98 kB / 0.7825 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.1472, allocations: 51.98 kB / 0.7825 GB, free: 6.539 MB / 458.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.0001683/0.1473, allocations: 175.9 kB / 0.7827 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.1474, allocations: 23.72 kB / 0.7827 GB, free: 6.336 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.1474, allocations: 30.25 kB / 0.7827 GB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1475, allocations: 4 kB / 0.7827 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1475, allocations: 0 / 0.7827 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1475, allocations: 0 / 0.7827 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000756/0.1482, allocations: 0.5644 MB / 0.7833 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1482, allocations: 0 / 0.7833 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.1483, allocations: 15.98 kB / 0.7833 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1483, allocations: 0 / 0.7833 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.1483, allocations: 15.92 kB / 0.7833 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1483, allocations: 7.938 kB / 0.7833 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1484, allocations: 0 / 0.7833 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1488, allocations: 319 kB / 0.7836 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.1489, allocations: 160.6 kB / 0.7838 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.149, allocations: 8 kB / 0.7838 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1492, allocations: 15.92 kB / 0.7838 GB, free: 5.117 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.1493, allocations: 19.98 kB / 0.7838 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.1493, allocations: 31.97 kB / 0.7839 GB, free: 5.066 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1495, allocations: 201.9 kB / 0.7841 GB, free: 4.863 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1495, allocations: 0 / 0.7841 GB, free: 4.863 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.1498, allocations: 51.98 kB / 0.7841 GB, free: 4.812 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.0001547/0.15, allocations: 116.6 kB / 0.7842 GB, free: 4.688 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004969/0.1505, allocations: 343.9 kB / 0.7845 GB, free: 4.328 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1505, allocations: 4.125 kB / 0.7846 GB, free: 4.324 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1506, allocations: 75.88 kB / 0.7846 GB, free: 4.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1509, allocations: 28.81 kB / 0.7847 GB, free: 4.219 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.1516, allocations: 463.4 kB / 0.7851 GB, free: 3.742 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.152, allocations: 0.7399 MB / 0.7858 GB, free: 2.977 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.1521, allocations: 41.42 kB / 0.7859 GB, free: 2.934 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1523, allocations: 31.42 kB / 0.7859 GB, free: 2.902 MB / 458.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1523, allocations: 0 / 0.7859 GB, free: 2.902 MB / 458.7 MB Notification: Performance of Templates: time 0.00707/0.1593, allocations: 3.983 MB / 0.7898 GB, free: 14.93 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)