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.000963/0.000963, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004824/0.004824, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002062, allocations: 274.7 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9574/0.9574, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 13.53 kB / 0.5988 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1452, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.001435/0.1467, allocations: 1.2 MB / 0.6864 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008788/0.1476, allocations: 443.7 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.1477, allocations: 0 / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.241e-05/0.1477, allocations: 3.938 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.1478, allocations: 22.92 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.1484, allocations: 226.4 kB / 0.6871 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.1487, allocations: 303.8 kB / 0.6874 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.1488, allocations: 8.766 kB / 0.6874 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.149, allocations: 218.8 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.1492, allocations: 129.2 kB / 0.6877 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.1493, allocations: 12 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.1494, allocations: 8 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.1494, allocations: 79.72 kB / 0.6878 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1496, allocations: 150 kB / 0.6879 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.1499, allocations: 283 kB / 0.6882 GB, free: 11.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1499, allocations: 7.938 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1499, allocations: 1.188 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1499, allocations: 0 / 0.6882 GB, free: 11.91 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.0008831/0.1508, allocations: 0.6546 MB / 0.6889 GB, free: 11.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1508, allocations: 15.91 kB / 0.6889 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.1509, allocations: 42.55 kB / 0.6889 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.151, allocations: 32.34 kB / 0.6889 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1512, allocations: 254.3 kB / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.1513, allocations: 16.97 kB / 0.6892 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.1514, allocations: 19.98 kB / 0.6892 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009289/0.1523, allocations: 216.4 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1523, allocations: 2.531 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.1523, allocations: 0 / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1524, allocations: 4 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.1531, allocations: 105.9 kB / 0.6895 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.1535, allocations: 325.2 kB / 0.6898 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1545, allocations: 185.4 kB / 0.69 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007451/0.1552, allocations: 126.8 kB / 0.6901 GB, free: 9.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1553, allocations: 384 / 0.6901 GB, free: 9.758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009094/0.1562, allocations: 227.1 kB / 0.6904 GB, free: 9.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1562, allocations: 0 / 0.6904 GB, free: 9.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002444/0.1586, allocations: 483 kB / 0.6908 GB, free: 9.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1587, allocations: 59.41 kB / 0.6909 GB, free: 8.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.159, allocations: 294.9 kB / 0.6912 GB, free: 8.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.159, allocations: 37.69 kB / 0.6912 GB, free: 8.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.1591, allocations: 89.12 kB / 0.6913 GB, free: 8.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.1591, allocations: 39.55 kB / 0.6913 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.1592, allocations: 33.7 kB / 0.6913 GB, free: 8.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1593, allocations: 330.8 kB / 0.6917 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.1595, allocations: 79.94 kB / 0.6917 GB, free: 8.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.1597, allocations: 139.7 kB / 0.6919 GB, free: 7.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.16, allocations: 243.2 kB / 0.6921 GB, free: 7.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.16, allocations: 0 / 0.6921 GB, free: 7.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006216/0.1607, allocations: 396.5 kB / 0.6925 GB, free: 7.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.1607, allocations: 71.58 kB / 0.6925 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1607, allocations: 8 kB / 0.6926 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1608, allocations: 0 / 0.6926 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1609, allocations: 27.97 kB / 0.6926 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.161, allocations: 11.88 kB / 0.6926 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.1614, allocations: 67.8 kB / 0.6927 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.1615, allocations: 35.98 kB / 0.6927 GB, free: 6.996 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.0001793/0.1617, allocations: 168.7 kB / 0.6929 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.1617, allocations: 31.59 kB / 0.6929 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.1618, allocations: 26.3 kB / 0.6929 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1618, allocations: 4 kB / 0.6929 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1618, allocations: 0 / 0.6929 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1618, allocations: 3.984 kB / 0.6929 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.1638, allocations: 0.7207 MB / 0.6936 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1639, allocations: 0 / 0.6936 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.1639, allocations: 7.938 kB / 0.6936 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1639, allocations: 0 / 0.6936 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.1639, allocations: 15.97 kB / 0.6936 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1639, allocations: 4 kB / 0.6936 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.164, allocations: 4 kB / 0.6936 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.1656, allocations: 472.9 kB / 0.6941 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.1658, allocations: 156.7 kB / 0.6942 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.1658, allocations: 11.98 kB / 0.6943 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.1663, allocations: 39.97 kB / 0.6943 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1663, allocations: 15.92 kB / 0.6943 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.1664, allocations: 39.97 kB / 0.6944 GB, free: 5.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.1666, allocations: 205.9 kB / 0.6945 GB, free: 4.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1666, allocations: 0 / 0.6945 GB, free: 4.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.1669, allocations: 55.98 kB / 0.6946 GB, free: 4.938 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.001895/0.1688, allocations: 1.009 MB / 0.6956 GB, free: 3.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1699, allocations: 395.1 kB / 0.696 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1699, allocations: 0 / 0.696 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007298/0.1707, allocations: 137.5 kB / 0.6961 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.171, allocations: 24.58 kB / 0.6961 GB, free: 3.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.1742, allocations: 2.43 MB / 0.6985 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1745, allocations: 0.7434 MB / 0.6992 GB, free: 12 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.1745, allocations: 13.08 kB / 0.6992 GB, free: 0 / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.1746, allocations: 27.5 kB / 0.6993 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of SimCode: time 1.703e-06/0.1746, allocations: 0 / 0.6993 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.1888, allocations: 4.558 MB / 0.7037 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.1891, allocations: 216.1 kB / 0.7039 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.85, allocations: 6.812 kB / 0.7039 GB, free: 11.33 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)