Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.667/2.667, allocations: 287.3 MB / 302.3 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 181.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 100.9 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004862, allocations: 11.89 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00174/0.2221, allocations: 1.183 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2231, allocations: 388.2 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.2232, allocations: 0 / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.271e-05/0.2233, allocations: 3.938 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2234, allocations: 19.97 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008395/0.2242, allocations: 214 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.2245, allocations: 143.8 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.2246, allocations: 11.97 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.2249, allocations: 163.6 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.2251, allocations: 127.7 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.066e-05/0.2252, allocations: 8 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.2253, allocations: 12 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.2254, allocations: 75.78 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.82e-05/0.2255, allocations: 69.58 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.2258, allocations: 207.8 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2258, allocations: 0 / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2258, allocations: 0 / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.2258, allocations: 0 / 0.9808 GB, free: 25.71 MB / 0.6198 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.001276/0.2271, allocations: 0.6161 MB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2272, allocations: 16.02 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.2273, allocations: 46.55 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.2274, allocations: 35.67 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.2277, allocations: 250.5 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.2278, allocations: 12 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.2279, allocations: 19.98 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.2283, allocations: 147.6 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2283, allocations: 0 / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.2284, allocations: 4 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2284, allocations: 4 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.2286, allocations: 47.97 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.229, allocations: 317.3 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.2294, allocations: 126.6 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2294, allocations: 4 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005888/0.23, allocations: 221.7 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.254e-06/0.23, allocations: 0 / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007908/0.2308, allocations: 269.2 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2309, allocations: 59.41 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.2312, allocations: 290.9 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.2313, allocations: 41.69 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.2314, allocations: 89.14 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/0.2315, allocations: 43.5 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.2315, allocations: 8 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.2316, allocations: 326.8 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.232, allocations: 92.17 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.2323, allocations: 154.3 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.2327, allocations: 144.1 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2327, allocations: 4 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00103/0.2337, allocations: 411.2 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.2338, allocations: 75.39 kB / 0.9845 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2338, allocations: 0 / 0.9845 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2339, allocations: 4 kB / 0.9845 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2341, allocations: 27.91 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2342, allocations: 4 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008909/0.2351, allocations: 79.86 kB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/0.2352, allocations: 63.86 kB / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.2355, allocations: 168 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.2355, allocations: 31.61 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.2356, allocations: 30.25 kB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2356, allocations: 4 kB / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.2356, allocations: 0 / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2357, allocations: 0 / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.2367, allocations: 0.563 MB / 0.9855 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2368, allocations: 3.984 kB / 0.9855 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.2369, allocations: 15.94 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.2369, allocations: 0 / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.2369, allocations: 11.98 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2369, allocations: 4 kB / 0.9855 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.237, allocations: 3.984 kB / 0.9855 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.2375, allocations: 323 kB / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.2378, allocations: 152.7 kB / 0.986 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.2379, allocations: 12 kB / 0.986 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.2382, allocations: 11.98 kB / 0.986 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.2383, allocations: 19.97 kB / 0.986 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.2384, allocations: 31.98 kB / 0.986 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002428/0.2386, allocations: 209.9 kB / 0.9862 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.01e-07/0.2387, allocations: 3.938 kB / 0.9862 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004828/0.2391, allocations: 44 kB / 0.9863 GB, free: 19.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008774/0.24, allocations: 0.8799 MB / 0.9871 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000775/0.2408, allocations: 345 kB / 0.9875 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.2409, allocations: 0 / 0.9875 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.2411, allocations: 71.91 kB / 0.9875 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2414, allocations: 20.88 kB / 0.9876 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.2429, allocations: 1.605 MB / 0.9891 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.2432, allocations: 0.7477 MB / 0.9898 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.2435, allocations: 37.42 kB / 0.9899 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.2437, allocations: 43.41 kB / 0.9899 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.423e-06/0.2437, allocations: 0 / 0.9899 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.2757, allocations: 4.934 MB / 0.9947 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/0.2761, allocations: 193.2 kB / 0.9949 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/2.733, allocations: 0 / 0.9949 GB, free: 10.77 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)