Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001183/0.001183, 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.001395/0.001395, allocations: 192.8 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002297/0.002297, allocations: 282.8 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8957/0.8957, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 96.7 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1559, allocations: 86.97 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002397/0.1583, allocations: 1.484 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008552/0.1592, allocations: 427.8 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.1592, allocations: 0.7188 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.893e-05/0.1593, allocations: 3.938 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.143e-05/0.1594, allocations: 30.08 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.16, allocations: 254.3 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.1603, allocations: 319.5 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.1604, allocations: 12.27 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.1606, allocations: 203.6 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1608, allocations: 108 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.084e-05/0.1609, allocations: 20 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.088e-05/0.1609, allocations: 20 kB / 0.6831 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.161, allocations: 83.77 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1612, allocations: 123.4 kB / 0.6833 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.1614, allocations: 295 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1615, allocations: 4 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1615, allocations: 0 / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1615, allocations: 0 / 0.6835 GB, free: 13.25 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.00092/0.1624, allocations: 0.7364 MB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1624, allocations: 8.031 kB / 0.6843 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.1625, allocations: 42.73 kB / 0.6843 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.1626, allocations: 36.56 kB / 0.6843 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1629, allocations: 263.5 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.1629, allocations: 24.11 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.163, allocations: 16 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008963/0.1639, allocations: 201.5 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1639, allocations: 0 / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1639, allocations: 3.984 kB / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1639, allocations: 0 / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/0.1646, allocations: 91.92 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1649, allocations: 317.4 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.1659, allocations: 182.3 kB / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.1666, allocations: 104.8 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1666, allocations: 7.984 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000846/0.1675, allocations: 217.2 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.1675, allocations: 0 / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002303/0.1698, allocations: 445 kB / 0.6861 GB, free: 10.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1699, allocations: 71.2 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.1702, allocations: 291 kB / 0.6865 GB, free: 10 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.1702, allocations: 41.7 kB / 0.6865 GB, free: 9.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.1703, allocations: 97.02 kB / 0.6866 GB, free: 9.859 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.1703, allocations: 31.56 kB / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.1705, allocations: 101.5 kB / 0.6867 GB, free: 9.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1706, allocations: 326.8 kB / 0.6871 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1708, allocations: 79.89 kB / 0.6871 GB, free: 9.316 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.171, allocations: 138.6 kB / 0.6873 GB, free: 9.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.1713, allocations: 249.1 kB / 0.6875 GB, free: 8.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1713, allocations: 0 / 0.6875 GB, free: 8.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006014/0.1719, allocations: 390.5 kB / 0.6879 GB, free: 8.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.172, allocations: 71.39 kB / 0.6879 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.172, allocations: 4 kB / 0.6879 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.172, allocations: 0 / 0.6879 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1722, allocations: 27.92 kB / 0.688 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1722, allocations: 12.17 kB / 0.688 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.1727, allocations: 51.75 kB / 0.688 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.1727, allocations: 43.98 kB / 0.6881 GB, free: 8.266 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.0001739/0.1729, allocations: 172.6 kB / 0.6882 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.173, allocations: 23.72 kB / 0.6883 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.173, allocations: 30.3 kB / 0.6883 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.173, allocations: 4 kB / 0.6883 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.173, allocations: 4 kB / 0.6883 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.173, allocations: 0 / 0.6883 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.175, allocations: 0.6951 MB / 0.689 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.175, allocations: 0 / 0.689 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.175, allocations: 4 kB / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.175, allocations: 0 / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.1751, allocations: 23.97 kB / 0.689 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1751, allocations: 0 / 0.689 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1751, allocations: 0 / 0.689 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.1767, allocations: 452.5 kB / 0.6894 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1768, allocations: 156.7 kB / 0.6896 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.1769, allocations: 12 kB / 0.6896 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.1773, allocations: 35.95 kB / 0.6896 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1774, allocations: 15.92 kB / 0.6896 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.1774, allocations: 35.98 kB / 0.6897 GB, free: 6.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.1776, allocations: 209.9 kB / 0.6899 GB, free: 6.316 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1776, allocations: 0 / 0.6899 GB, free: 6.316 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.1779, allocations: 52 kB / 0.6899 GB, free: 6.266 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.001929/0.1799, allocations: 1.002 MB / 0.6909 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1811, allocations: 383.8 kB / 0.6913 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.1811, allocations: 4 kB / 0.6913 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.1819, allocations: 119.8 kB / 0.6914 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.1823, allocations: 30.02 kB / 0.6914 GB, free: 4.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.186, allocations: 2.356 MB / 0.6937 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1863, allocations: 0.7435 MB / 0.6944 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.1863, allocations: 13.25 kB / 0.6945 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.1864, allocations: 23.42 kB / 0.6945 GB, free: 1.402 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1864, allocations: 0 / 0.6945 GB, free: 1.402 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.2088, allocations: 4.814 MB / 0.6992 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.209, allocations: 8.797 kB / 0.6992 GB, free: 12.73 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)