Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_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.001142/0.001142, allocations: 108 kB / 15.6 MB, free: 132 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.00135/0.00135, allocations: 194 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.647/1.647, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001738/0.001739, allocations: 63.78 kB / 0.6716 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2221, allocations: 114.5 MB / 0.7835 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003136/0.2253, allocations: 1.495 MB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2263, allocations: 423.3 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.2264, allocations: 4 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.2266, allocations: 11.86 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.2267, allocations: 24.22 kB / 0.7854 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.2275, allocations: 249.9 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004/0.2279, allocations: 327.5 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.228, allocations: 7.984 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.2283, allocations: 195.7 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.2286, allocations: 112 kB / 0.7862 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.185e-05/0.2287, allocations: 20 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.256e-05/0.2288, allocations: 16 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.2289, allocations: 79.78 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.229, allocations: 131.4 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.2293, allocations: 299.3 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2293, allocations: 0 / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2293, allocations: 0 / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2293, allocations: 0 / 0.7867 GB, free: 10.14 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.001089/0.2304, allocations: 0.7422 MB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.2305, allocations: 12.03 kB / 0.7875 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.273e-05/0.2306, allocations: 38.73 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.88e-05/0.2307, allocations: 36.66 kB / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.231, allocations: 263.6 kB / 0.7878 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.231, allocations: 16.12 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.2311, allocations: 19.98 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000933/0.232, allocations: 197.5 kB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.232, allocations: 0 / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2321, allocations: 0 / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2321, allocations: 8 kB / 0.788 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/0.2328, allocations: 98.61 kB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.2332, allocations: 321.3 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.2342, allocations: 178.3 kB / 0.7886 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007198/0.235, allocations: 104.8 kB / 0.7887 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.235, allocations: 4 kB / 0.7887 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.2361, allocations: 215.1 kB / 0.7889 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.2361, allocations: 0 / 0.7889 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002549/0.2387, allocations: 451.9 kB / 0.7893 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.2387, allocations: 59.41 kB / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.239, allocations: 290.9 kB / 0.7897 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.239, allocations: 41.69 kB / 0.7897 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.2391, allocations: 85.14 kB / 0.7898 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.2392, allocations: 47.53 kB / 0.7898 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.2393, allocations: 97.39 kB / 0.7899 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2394, allocations: 326.8 kB / 0.7902 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2396, allocations: 79.94 kB / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.2399, allocations: 137.2 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.2402, allocations: 247.9 kB / 0.7907 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2402, allocations: 0 / 0.7907 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006537/0.2409, allocations: 396.6 kB / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.107e-05/0.2409, allocations: 75.38 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2409, allocations: 4 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.241, allocations: 4 kB / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.2411, allocations: 23.92 kB / 0.7912 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.2411, allocations: 4 kB / 0.7912 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.2416, allocations: 59.98 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.2417, allocations: 39.98 kB / 0.7913 GB, free: 5.148 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.0001737/0.2419, allocations: 171.9 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.2419, allocations: 27.7 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.242, allocations: 30.3 kB / 0.7915 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.242, allocations: 0 / 0.7915 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.242, allocations: 0 / 0.7915 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.242, allocations: 4 kB / 0.7915 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.244, allocations: 0.6855 MB / 0.7922 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.244, allocations: 0 / 0.7922 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.2441, allocations: 15.98 kB / 0.7922 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.2441, allocations: 8 kB / 0.7922 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.2441, allocations: 11.98 kB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2441, allocations: 3.984 kB / 0.7922 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2441, allocations: 0 / 0.7922 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.2458, allocations: 450.9 kB / 0.7926 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.246, allocations: 168.6 kB / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.2461, allocations: 8 kB / 0.7928 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.2465, allocations: 27.97 kB / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.2466, allocations: 15.92 kB / 0.7928 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.2466, allocations: 39.97 kB / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001924/0.2468, allocations: 221.9 kB / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2468, allocations: 0 / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003494/0.2472, allocations: 48 kB / 0.7931 GB, free: 3.141 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.002003/0.2492, allocations: 0.99 MB / 0.7941 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.2504, allocations: 391.1 kB / 0.7945 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2504, allocations: 0 / 0.7945 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.2512, allocations: 111.9 kB / 0.7946 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2516, allocations: 25.52 kB / 0.7946 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.2552, allocations: 2.383 MB / 0.7969 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.2555, allocations: 0.7395 MB / 0.7977 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.383e-05/0.2556, allocations: 13.08 kB / 0.7977 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.2557, allocations: 23.42 kB / 0.7977 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.2557, allocations: 4 kB / 0.7977 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.2773, allocations: 4.763 MB / 0.8023 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.387, allocations: 17.5 kB / 0.8024 GB, free: 9.574 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)