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.001002/0.001002, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001082/0.001082, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.00199, allocations: 274.7 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9492/0.9492, allocations: 169.2 MB / 0.4977 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001898, allocations: 94.38 kB / 0.5946 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1881, allocations: 86.98 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002967/0.1911, allocations: 1.542 MB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000963/0.1921, allocations: 455.8 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.1922, allocations: 0 / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1923, allocations: 3.938 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.1924, allocations: 20.28 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.193, allocations: 222.4 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.1933, allocations: 311.8 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.1934, allocations: 16.25 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.1936, allocations: 214.3 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1938, allocations: 127.6 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.1939, allocations: 8 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.194, allocations: 12 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1941, allocations: 79.7 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1942, allocations: 123.4 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.1945, allocations: 291 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1945, allocations: 0 / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1946, allocations: 4 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1946, allocations: 0 / 0.6828 GB, free: 13.7 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.00105/0.1956, allocations: 0.7422 MB / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1957, allocations: 8.031 kB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.1957, allocations: 42.55 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.1958, allocations: 35.62 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1961, allocations: 258.3 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.1962, allocations: 12 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.1963, allocations: 20 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/0.1972, allocations: 205.4 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1972, allocations: 0 / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.1973, allocations: 0 / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1973, allocations: 8 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007224/0.198, allocations: 106.7 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.1984, allocations: 317.3 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.1994, allocations: 166.4 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/0.2001, allocations: 113.1 kB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.2001, allocations: 8 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009392/0.201, allocations: 215 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.2011, allocations: 4 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002353/0.2034, allocations: 449 kB / 0.6854 GB, free: 10.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.2035, allocations: 59.41 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.2038, allocations: 287 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.2038, allocations: 41.69 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.2039, allocations: 93.05 kB / 0.6859 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.204, allocations: 35.55 kB / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.2041, allocations: 97.48 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2043, allocations: 326.8 kB / 0.6863 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2045, allocations: 83.88 kB / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.2047, allocations: 131.1 kB / 0.6866 GB, free: 9.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.205, allocations: 246.8 kB / 0.6868 GB, free: 9.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.205, allocations: 0 / 0.6868 GB, free: 9.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006396/0.2057, allocations: 398.7 kB / 0.6872 GB, free: 8.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.995e-05/0.2058, allocations: 75.58 kB / 0.6872 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.2058, allocations: 7.984 kB / 0.6872 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2058, allocations: 7.875 kB / 0.6873 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.206, allocations: 23.98 kB / 0.6873 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.206, allocations: 4 kB / 0.6873 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.2065, allocations: 59.73 kB / 0.6873 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/0.2065, allocations: 43.92 kB / 0.6874 GB, free: 8.707 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.000194/0.2067, allocations: 168 kB / 0.6875 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.2068, allocations: 31.64 kB / 0.6876 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.2069, allocations: 26.3 kB / 0.6876 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2069, allocations: 4 kB / 0.6876 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2069, allocations: 0 / 0.6876 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2069, allocations: 0 / 0.6876 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.2089, allocations: 0.6972 MB / 0.6883 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2089, allocations: 0 / 0.6883 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.209, allocations: 7.984 kB / 0.6883 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.209, allocations: 4 kB / 0.6883 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.209, allocations: 11.98 kB / 0.6883 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.209, allocations: 7.938 kB / 0.6883 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.209, allocations: 3.984 kB / 0.6883 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.2107, allocations: 442.9 kB / 0.6887 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.2109, allocations: 164.7 kB / 0.6889 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.2109, allocations: 11.94 kB / 0.6889 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/0.2114, allocations: 39.91 kB / 0.6889 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.2114, allocations: 7.984 kB / 0.689 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.2115, allocations: 39.97 kB / 0.689 GB, free: 6.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.2117, allocations: 213.9 kB / 0.6892 GB, free: 6.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2117, allocations: 4 kB / 0.6892 GB, free: 6.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003472/0.2121, allocations: 48 kB / 0.6892 GB, free: 6.695 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.001966/0.214, allocations: 1 MB / 0.6902 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.2152, allocations: 374.5 kB / 0.6906 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2152, allocations: 0 / 0.6906 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.2159, allocations: 118.3 kB / 0.6907 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.2163, allocations: 26.3 kB / 0.6907 GB, free: 5.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.2201, allocations: 2.42 MB / 0.6931 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.2206, allocations: 0.7471 MB / 0.6938 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.2207, allocations: 13.08 kB / 0.6938 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.2207, allocations: 19.44 kB / 0.6938 GB, free: 1.793 MB / 494.1 MB Notification: Performance of SimCode: time 2.164e-06/0.2208, allocations: 0 / 0.6938 GB, free: 1.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.2392, allocations: 4.658 MB / 0.6984 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.2395, allocations: 225.5 kB / 0.6986 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.063, allocations: 4.062 kB / 0.6986 GB, free: 13.04 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)