Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_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.001122/0.001122, allocations: 109.4 kB / 15.69 MB, free: 128 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.001201/0.001201, allocations: 188.4 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 67.02 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2164, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002866/0.2193, allocations: 1.491 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.2203, allocations: 423.3 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.2204, allocations: 11.94 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2205, allocations: 7.875 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.2206, allocations: 24.22 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.2214, allocations: 250.8 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000463/0.2219, allocations: 327.5 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.222, allocations: 11.98 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.2223, allocations: 187.8 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.2225, allocations: 116 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.2226, allocations: 20 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.2227, allocations: 20 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2228, allocations: 87.77 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.2229, allocations: 119.4 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.2233, allocations: 299.3 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2233, allocations: 0 / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2233, allocations: 0 / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.2233, allocations: 0 / 0.7869 GB, free: 9.879 MB / 0.6075 GB 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.2244, allocations: 0.7383 MB / 0.7876 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2244, allocations: 12.03 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.2245, allocations: 42.73 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.2246, allocations: 32.66 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.2249, allocations: 263.6 kB / 0.788 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.2249, allocations: 16.12 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.225, allocations: 23.98 kB / 0.788 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.2259, allocations: 197.4 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.2259, allocations: 0 / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.2259, allocations: 4 kB / 0.7882 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2259, allocations: 4 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.2266, allocations: 99.91 kB / 0.7883 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.2269, allocations: 313.3 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009178/0.2279, allocations: 178.4 kB / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/0.2285, allocations: 104.8 kB / 0.7889 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.2286, allocations: 8 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000864/0.2294, allocations: 215.1 kB / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.2294, allocations: 0 / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002296/0.2317, allocations: 444.3 kB / 0.7895 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.2318, allocations: 59.41 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.2321, allocations: 298.9 kB / 0.7898 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.2322, allocations: 33.7 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.2322, allocations: 93.14 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.2323, allocations: 39.53 kB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.2324, allocations: 101.4 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.2325, allocations: 326.8 kB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.2327, allocations: 83.88 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2329, allocations: 144.7 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.2332, allocations: 233.2 kB / 0.7908 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.2333, allocations: 8 kB / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006144/0.2339, allocations: 391.6 kB / 0.7912 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/0.234, allocations: 71.39 kB / 0.7913 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.234, allocations: 4 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.234, allocations: 0 / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.2342, allocations: 27.91 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2342, allocations: 4 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.2346, allocations: 59.98 kB / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.2347, allocations: 43.98 kB / 0.7914 GB, free: 4.895 MB / 0.6075 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.0001807/0.2349, allocations: 167.9 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.2349, allocations: 23.72 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.235, allocations: 26.3 kB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.235, allocations: 4 kB / 0.7916 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.235, allocations: 4 kB / 0.7916 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.235, allocations: 3.984 kB / 0.7916 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.2369, allocations: 0.6857 MB / 0.7923 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.237, allocations: 0 / 0.7923 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.237, allocations: 8 kB / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.237, allocations: 3.938 kB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.2371, allocations: 19.97 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2371, allocations: 4 kB / 0.7923 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2371, allocations: 0 / 0.7923 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.2386, allocations: 446.2 kB / 0.7928 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.2388, allocations: 164.6 kB / 0.7929 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.2389, allocations: 15.98 kB / 0.7929 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.2393, allocations: 27.97 kB / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.2394, allocations: 15.92 kB / 0.793 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.2394, allocations: 39.98 kB / 0.793 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001779/0.2396, allocations: 213.9 kB / 0.7932 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2396, allocations: 0 / 0.7932 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003486/0.24, allocations: 51.98 kB / 0.7933 GB, free: 2.898 MB / 0.6075 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.001937/0.2419, allocations: 0.9854 MB / 0.7942 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.243, allocations: 378.6 kB / 0.7946 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.243, allocations: 0 / 0.7946 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006856/0.2437, allocations: 127.8 kB / 0.7947 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.2441, allocations: 34.95 kB / 0.7948 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.2476, allocations: 2.372 MB / 0.7971 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2479, allocations: 0.7474 MB / 0.7978 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.072e-05/0.248, allocations: 9.094 kB / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.2481, allocations: 19.42 kB / 0.7978 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.2481, allocations: 0 / 0.7978 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.2704, allocations: 4.785 MB / 0.8025 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.803, allocations: 3.859 kB / 0.8025 GB, free: 9.359 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)