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.001274/0.001274, allocations: 108 kB / 15.61 MB, free: 152 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.001469/0.001469, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002373/0.002373, allocations: 282.8 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 96.84 kB / 0.6065 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1614, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002762/0.1642, allocations: 1.516 MB / 0.6951 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1654, allocations: 0.5422 MB / 0.6956 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.1654, allocations: 0 / 0.6956 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.963e-05/0.1655, allocations: 11.81 kB / 0.6956 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.511e-05/0.1657, allocations: 27.84 kB / 0.6956 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.1664, allocations: 314.6 kB / 0.6959 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000553/0.167, allocations: 0.5033 MB / 0.6964 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.1671, allocations: 7.984 kB / 0.6964 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.1675, allocations: 267.7 kB / 0.6967 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.1678, allocations: 139.6 kB / 0.6968 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1679, allocations: 28 kB / 0.6969 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.168, allocations: 24 kB / 0.6969 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1681, allocations: 119.6 kB / 0.697 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.1683, allocations: 191 kB / 0.6972 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.1688, allocations: 419 kB / 0.6976 GB, free: 148 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1688, allocations: 0 / 0.6976 GB, free: 148 kB / 494.1 MB Notification: Performance of FrontEnd: time 5.912e-06/0.1688, allocations: 0 / 0.6976 GB, free: 148 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1688, allocations: 7.938 kB / 0.6976 GB, free: 140 kB / 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.001272/0.1701, allocations: 0.8625 MB / 0.6984 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1701, allocations: 8.031 kB / 0.6984 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/0.1702, allocations: 50.73 kB / 0.6985 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1703, allocations: 48.47 kB / 0.6985 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.1707, allocations: 306.3 kB / 0.6988 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.1707, allocations: 20.36 kB / 0.6988 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.1708, allocations: 28.36 kB / 0.6989 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1719, allocations: 209.9 kB / 0.6991 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1719, allocations: 3.938 kB / 0.6991 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.1719, allocations: 11.98 kB / 0.6991 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1719, allocations: 0 / 0.6991 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.1728, allocations: 103.9 kB / 0.6992 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.1733, allocations: 385.2 kB / 0.6995 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1744, allocations: 174.5 kB / 0.6997 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007897/0.1752, allocations: 114.9 kB / 0.6998 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.1753, allocations: 7.984 kB / 0.6998 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.1763, allocations: 227 kB / 0.7 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.1763, allocations: 0 / 0.7 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002708/0.179, allocations: 486.5 kB / 0.7005 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.1791, allocations: 59.41 kB / 0.7006 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.1795, allocations: 413.8 kB / 0.701 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.1796, allocations: 41.7 kB / 0.701 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1798, allocations: 101.4 kB / 0.7011 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1798, allocations: 31.61 kB / 0.7011 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.18, allocations: 129.3 kB / 0.7012 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1802, allocations: 322.8 kB / 0.7016 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.1805, allocations: 119.9 kB / 0.7017 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.1808, allocations: 184.5 kB / 0.7018 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.1812, allocations: 271.9 kB / 0.7021 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1813, allocations: 8 kB / 0.7021 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008625/0.1821, allocations: 492.5 kB / 0.7026 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/0.1822, allocations: 101 kB / 0.7027 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1822, allocations: 0 / 0.7027 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1823, allocations: 4 kB / 0.7027 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1824, allocations: 19.92 kB / 0.7027 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1824, allocations: 4 kB / 0.7027 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.1829, allocations: 60.05 kB / 0.7028 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.1831, allocations: 63.97 kB / 0.7028 GB, free: 10.42 MB / 0.4981 GB 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.0002511/0.1833, allocations: 195.8 kB / 0.703 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.1834, allocations: 47.45 kB / 0.7031 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.007e-05/0.1835, allocations: 43.73 kB / 0.7031 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.1835, allocations: 4 kB / 0.7031 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1835, allocations: 0 / 0.7031 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1835, allocations: 0 / 0.7031 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.1859, allocations: 0.7452 MB / 0.7038 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1859, allocations: 0 / 0.7038 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.1859, allocations: 7.984 kB / 0.7038 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1859, allocations: 0 / 0.7038 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.186, allocations: 23.98 kB / 0.7039 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.186, allocations: 0 / 0.7039 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.186, allocations: 4 kB / 0.7039 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.1879, allocations: 471.6 kB / 0.7043 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.1882, allocations: 200.4 kB / 0.7045 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.611e-05/0.1883, allocations: 15.98 kB / 0.7045 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.1888, allocations: 27.97 kB / 0.7045 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1888, allocations: 11.98 kB / 0.7046 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.1889, allocations: 63.92 kB / 0.7046 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003144/0.1892, allocations: 291.1 kB / 0.7049 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1892, allocations: 0 / 0.7049 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003907/0.1896, allocations: 67.98 kB / 0.705 GB, free: 8.133 MB / 0.4981 GB 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.002244/0.1919, allocations: 1.019 MB / 0.706 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.1933, allocations: 446.4 kB / 0.7064 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1933, allocations: 4 kB / 0.7064 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000783/0.1941, allocations: 121.4 kB / 0.7065 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1945, allocations: 25.48 kB / 0.7065 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.1989, allocations: 2.789 MB / 0.7093 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.1994, allocations: 0.7708 MB / 0.71 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.517e-05/0.1995, allocations: 9.078 kB / 0.71 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.1996, allocations: 27.42 kB / 0.71 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.1996, allocations: 0 / 0.71 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.2311, allocations: 6.146 MB / 0.716 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.88, allocations: 12.42 kB / 0.7161 GB, free: 12.57 MB / 0.5137 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)