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.00123/0.00123, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001309/0.001309, allocations: 199 kB / 16.26 MB, free: 6.629 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 282.7 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 92.81 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1695, allocations: 86.98 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002705/0.1722, allocations: 1.538 MB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009171/0.1732, allocations: 423.9 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.1733, allocations: 4 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.1734, allocations: 7.922 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.1735, allocations: 16.3 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.1742, allocations: 230.4 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.1746, allocations: 327.9 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.1746, allocations: 16.23 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.175, allocations: 242.3 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.1752, allocations: 131.6 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.1752, allocations: 20 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.1753, allocations: 20 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1754, allocations: 83.72 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.1756, allocations: 131.4 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.1759, allocations: 303 kB / 0.6831 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1759, allocations: 4 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1759, allocations: 0 / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1759, allocations: 0 / 0.6831 GB, free: 13.48 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.001077/0.177, allocations: 0.7382 MB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1771, allocations: 12.02 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.1771, allocations: 38.56 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.1772, allocations: 35.62 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.1775, allocations: 262.3 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.1776, allocations: 23.92 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.1776, allocations: 12 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/0.1786, allocations: 201.4 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1786, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.1786, allocations: 7.984 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1786, allocations: 4 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.1793, allocations: 95.92 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.1797, allocations: 317.3 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/0.1807, allocations: 178.4 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/0.1814, allocations: 104.8 kB / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1814, allocations: 0 / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/0.1823, allocations: 225.4 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1823, allocations: 0 / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002368/0.1847, allocations: 453 kB / 0.6857 GB, free: 10.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.1847, allocations: 59.39 kB / 0.6858 GB, free: 10.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.185, allocations: 287 kB / 0.686 GB, free: 10.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.1851, allocations: 37.7 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.1852, allocations: 97.03 kB / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.1852, allocations: 35.56 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.1854, allocations: 101.5 kB / 0.6863 GB, free: 9.961 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1856, allocations: 322.8 kB / 0.6866 GB, free: 9.637 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1858, allocations: 83.89 kB / 0.6867 GB, free: 9.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.186, allocations: 135.1 kB / 0.6868 GB, free: 9.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.1864, allocations: 242.4 kB / 0.687 GB, free: 9.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1864, allocations: 0 / 0.687 GB, free: 9.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006974/0.1871, allocations: 400.6 kB / 0.6874 GB, free: 8.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/0.1872, allocations: 75.39 kB / 0.6875 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1872, allocations: 4 kB / 0.6875 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1872, allocations: 3.938 kB / 0.6875 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1874, allocations: 23.92 kB / 0.6875 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1874, allocations: 7.984 kB / 0.6875 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.1879, allocations: 56 kB / 0.6876 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.1879, allocations: 43.98 kB / 0.6876 GB, free: 8.5 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.0001873/0.1881, allocations: 172.6 kB / 0.6878 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.1882, allocations: 27.66 kB / 0.6878 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.1882, allocations: 26.3 kB / 0.6878 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1882, allocations: 4 kB / 0.6879 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1883, allocations: 0 / 0.6879 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1883, allocations: 4 kB / 0.6879 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.1903, allocations: 0.6911 MB / 0.6885 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1903, allocations: 0 / 0.6885 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.1903, allocations: 11.94 kB / 0.6885 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1903, allocations: 0 / 0.6885 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.1904, allocations: 23.97 kB / 0.6886 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1904, allocations: 0 / 0.6886 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1904, allocations: 0 / 0.6886 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.192, allocations: 452.5 kB / 0.689 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.1922, allocations: 152.7 kB / 0.6891 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.1923, allocations: 23.92 kB / 0.6892 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.1927, allocations: 31.97 kB / 0.6892 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.1927, allocations: 7.984 kB / 0.6892 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.1928, allocations: 39.98 kB / 0.6892 GB, free: 6.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.193, allocations: 213.9 kB / 0.6894 GB, free: 6.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.193, allocations: 0 / 0.6894 GB, free: 6.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.1933, allocations: 48 kB / 0.6895 GB, free: 6.496 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.001918/0.1952, allocations: 1 MB / 0.6905 GB, free: 5.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.1963, allocations: 388.5 kB / 0.6908 GB, free: 5.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1963, allocations: 0 / 0.6908 GB, free: 5.066 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.1971, allocations: 115.9 kB / 0.6909 GB, free: 4.953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1974, allocations: 28.09 kB / 0.691 GB, free: 4.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.2006, allocations: 2.424 MB / 0.6933 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2009, allocations: 0.7435 MB / 0.6941 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.085e-05/0.201, allocations: 9.094 kB / 0.6941 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.201, allocations: 23.42 kB / 0.6941 GB, free: 1.578 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.201, allocations: 4 kB / 0.6941 GB, free: 1.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.2147, allocations: 4.796 MB / 0.6988 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.215, allocations: 217.9 kB / 0.699 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.956, allocations: 0 / 0.699 GB, free: 12.69 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)