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.0008934/0.0008935, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005717/0.005717, allocations: 170.7 kB / 16.27 MB, free: 6.656 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.332/1.332, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.7 MB / 0.5502 GB, free: 14.46 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.0005062/0.0005063, allocations: 13.78 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001495/0.2122, allocations: 1.221 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000915/0.2131, allocations: 443.4 kB / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.2132, allocations: 0 / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.361e-05/0.2133, allocations: 7.938 kB / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.848e-05/0.2134, allocations: 24.28 kB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.2139, allocations: 223.6 kB / 0.7899 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.2142, allocations: 299.9 kB / 0.7901 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.2143, allocations: 4 kB / 0.7901 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.2145, allocations: 218.3 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.2148, allocations: 127.6 kB / 0.7905 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.2148, allocations: 12 kB / 0.7905 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.607e-05/0.2149, allocations: 12 kB / 0.7905 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.215, allocations: 75.77 kB / 0.7906 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2151, allocations: 157 kB / 0.7907 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.2154, allocations: 283.3 kB / 0.791 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2154, allocations: 0 / 0.791 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2154, allocations: 0 / 0.791 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.2154, allocations: 0 / 0.791 GB, free: 8.406 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.000839/0.2163, allocations: 0.6565 MB / 0.7916 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2163, allocations: 8.031 kB / 0.7916 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.2164, allocations: 42.55 kB / 0.7917 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.2165, allocations: 31.72 kB / 0.7917 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.2167, allocations: 266.1 kB / 0.792 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.2168, allocations: 16 kB / 0.792 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.2169, allocations: 12 kB / 0.792 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009441/0.2178, allocations: 228.7 kB / 0.7922 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2178, allocations: 0 / 0.7922 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.2179, allocations: 8 kB / 0.7922 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2179, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.2186, allocations: 107.9 kB / 0.7923 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.219, allocations: 321.3 kB / 0.7926 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.22, allocations: 190.4 kB / 0.7928 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.2207, allocations: 124.8 kB / 0.7929 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2208, allocations: 0 / 0.7929 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008762/0.2217, allocations: 225.4 kB / 0.7931 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.2217, allocations: 4 kB / 0.7931 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002425/0.2241, allocations: 484.9 kB / 0.7936 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.2242, allocations: 59.41 kB / 0.7937 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.2245, allocations: 291 kB / 0.7939 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.2245, allocations: 37.69 kB / 0.794 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.2246, allocations: 93.14 kB / 0.7941 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.2247, allocations: 51.38 kB / 0.7941 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.2247, allocations: 33.7 kB / 0.7941 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2249, allocations: 322.8 kB / 0.7944 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.2251, allocations: 83.94 kB / 0.7945 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.2253, allocations: 132.8 kB / 0.7947 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.2256, allocations: 240.2 kB / 0.7949 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2257, allocations: 0 / 0.7949 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006415/0.2263, allocations: 396.6 kB / 0.7953 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/0.2264, allocations: 75.39 kB / 0.7953 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2264, allocations: 4 kB / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2264, allocations: 0 / 0.7953 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.2266, allocations: 27.91 kB / 0.7954 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2266, allocations: 4 kB / 0.7954 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.2271, allocations: 67.98 kB / 0.7954 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.2271, allocations: 39.98 kB / 0.7955 GB, free: 3.461 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.000184/0.2273, allocations: 168 kB / 0.7956 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.2274, allocations: 27.66 kB / 0.7957 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.2274, allocations: 30.3 kB / 0.7957 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2274, allocations: 4 kB / 0.7957 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2275, allocations: 0 / 0.7957 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2275, allocations: 3.984 kB / 0.7957 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.2295, allocations: 0.7157 MB / 0.7964 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2296, allocations: 0 / 0.7964 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.2296, allocations: 7.984 kB / 0.7964 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2296, allocations: 4 kB / 0.7964 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.2296, allocations: 19.92 kB / 0.7964 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.2297, allocations: 4 kB / 0.7964 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2297, allocations: 0 / 0.7964 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.2313, allocations: 470.8 kB / 0.7969 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.2315, allocations: 160.6 kB / 0.797 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.2315, allocations: 19.98 kB / 0.7971 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.232, allocations: 35.97 kB / 0.7971 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.232, allocations: 7.984 kB / 0.7971 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.2321, allocations: 43.97 kB / 0.7971 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001789/0.2323, allocations: 205.9 kB / 0.7973 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2323, allocations: 0 / 0.7973 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003097/0.2326, allocations: 55.98 kB / 0.7974 GB, free: 1.406 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.001916/0.2345, allocations: 1.009 MB / 0.7984 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.2356, allocations: 389.6 kB / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2357, allocations: 0 / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.2364, allocations: 128.3 kB / 0.7989 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.2368, allocations: 20.64 kB / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.2403, allocations: 2.454 MB / 0.8013 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2407, allocations: 0.736 MB / 0.802 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.234e-05/0.2407, allocations: 17.08 kB / 0.802 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.2408, allocations: 23.42 kB / 0.802 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.2408, allocations: 0 / 0.802 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.2572, allocations: 4.546 MB / 0.8065 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.2575, allocations: 206.2 kB / 0.8067 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.925, allocations: 0 / 0.8067 GB, free: 7.785 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)