Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001064, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 283 kB / 290.7 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9115/0.9115, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 100.1 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1435, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002366/0.1459, allocations: 1.473 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1469, allocations: 433.5 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.147, allocations: 0 / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.1471, allocations: 7.922 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1472, allocations: 24.19 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/0.148, allocations: 250.6 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.1484, allocations: 321.9 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.542e-05/0.1485, allocations: 17.05 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.1487, allocations: 199.6 kB / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.149, allocations: 120 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.1491, allocations: 16 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.275e-05/0.1491, allocations: 20 kB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1493, allocations: 79.78 kB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1494, allocations: 123.4 kB / 0.6833 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1497, allocations: 291.1 kB / 0.6835 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1497, allocations: 3.938 kB / 0.6835 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1497, allocations: 0 / 0.6835 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1498, allocations: 0 / 0.6835 GB, free: 13.26 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.0009822/0.1507, allocations: 0.7385 MB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1508, allocations: 8.031 kB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.1508, allocations: 38.75 kB / 0.6843 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.1509, allocations: 40.55 kB / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1512, allocations: 271.5 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.1512, allocations: 16.12 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.1513, allocations: 12 kB / 0.6846 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.1522, allocations: 205.4 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1522, allocations: 0 / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.1523, allocations: 4 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1523, allocations: 4 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.153, allocations: 91.92 kB / 0.6849 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.1533, allocations: 321.4 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.1543, allocations: 175.8 kB / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/0.1551, allocations: 108.8 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1551, allocations: 7.984 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009169/0.156, allocations: 203.1 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.156, allocations: 0 / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002428/0.1585, allocations: 455.3 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1585, allocations: 67.33 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1588, allocations: 290.9 kB / 0.6865 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.1589, allocations: 41.69 kB / 0.6865 GB, free: 9.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1589, allocations: 93.05 kB / 0.6866 GB, free: 9.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.159, allocations: 39.55 kB / 0.6866 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.1591, allocations: 93.48 kB / 0.6867 GB, free: 9.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1592, allocations: 322.8 kB / 0.687 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1594, allocations: 87.88 kB / 0.6871 GB, free: 9.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.1597, allocations: 134.6 kB / 0.6872 GB, free: 9.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.16, allocations: 246.7 kB / 0.6875 GB, free: 8.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.16, allocations: 0 / 0.6875 GB, free: 8.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006509/0.1607, allocations: 390.5 kB / 0.6879 GB, free: 8.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.1608, allocations: 79.33 kB / 0.6879 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1608, allocations: 7.984 kB / 0.6879 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1608, allocations: 192 / 0.6879 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.161, allocations: 31.91 kB / 0.688 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.161, allocations: 4 kB / 0.688 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.1615, allocations: 59.73 kB / 0.688 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.1615, allocations: 43.98 kB / 0.6881 GB, free: 8.27 MB / 494.1 MB 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.0001931/0.1617, allocations: 172.6 kB / 0.6882 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.1618, allocations: 27.72 kB / 0.6883 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.1619, allocations: 26.3 kB / 0.6883 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.1619, allocations: 4 kB / 0.6883 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.1619, allocations: 0 / 0.6883 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.1619, allocations: 3.984 kB / 0.6883 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.164, allocations: 0.6894 MB / 0.689 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.164, allocations: 0 / 0.689 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.1641, allocations: 7.984 kB / 0.689 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1641, allocations: 0 / 0.689 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.1641, allocations: 19.98 kB / 0.689 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1641, allocations: 0 / 0.689 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1641, allocations: 0 / 0.689 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.1658, allocations: 453 kB / 0.6894 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.166, allocations: 156.7 kB / 0.6896 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/0.1661, allocations: 15.98 kB / 0.6896 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.1665, allocations: 31.97 kB / 0.6896 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1666, allocations: 11.92 kB / 0.6896 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.1666, allocations: 43.97 kB / 0.6897 GB, free: 6.523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.1668, allocations: 205.9 kB / 0.6899 GB, free: 6.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1668, allocations: 4 kB / 0.6899 GB, free: 6.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.1672, allocations: 47.98 kB / 0.6899 GB, free: 6.273 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.001975/0.1692, allocations: 0.9938 MB / 0.6909 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1703, allocations: 392.2 kB / 0.6913 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1703, allocations: 4 kB / 0.6913 GB, free: 4.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.171, allocations: 108.3 kB / 0.6914 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1714, allocations: 39.2 kB / 0.6914 GB, free: 4.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.1747, allocations: 2.353 MB / 0.6937 GB, free: 2.219 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.175, allocations: 0.7396 MB / 0.6944 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.856e-05/0.1751, allocations: 21.22 kB / 0.6945 GB, free: 1.434 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.1751, allocations: 23.44 kB / 0.6945 GB, free: 1.41 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1751, allocations: 0 / 0.6945 GB, free: 1.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.1984, allocations: 4.798 MB / 0.6992 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.175, allocations: 12.78 kB / 0.6992 GB, free: 12.73 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)