Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.0007759/0.0007758, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008206/0.0008207, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.8/1.8, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005046/0.0005046, allocations: 16.25 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2336, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001445/0.2351, allocations: 1.194 MB / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.236, allocations: 416.2 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.236, allocations: 0 / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.028e-05/0.2361, allocations: 3.938 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.615e-05/0.2362, allocations: 23.86 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.2368, allocations: 218.6 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.237, allocations: 251.5 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.2371, allocations: 4 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.2375, allocations: 227.6 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.2377, allocations: 143.7 kB / 0.7898 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.2377, allocations: 12 kB / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.292e-05/0.2378, allocations: 8 kB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.84e-05/0.2379, allocations: 79.78 kB / 0.7899 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.238, allocations: 73.52 kB / 0.79 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.2382, allocations: 207.8 kB / 0.7901 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2382, allocations: 0 / 0.7901 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2382, allocations: 4 kB / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2382, allocations: 0 / 0.7902 GB, free: 9.016 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.00083/0.239, allocations: 0.6604 MB / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2391, allocations: 8.031 kB / 0.7908 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.2391, allocations: 38.55 kB / 0.7908 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.2392, allocations: 35.66 kB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2395, allocations: 262.4 kB / 0.7911 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.2395, allocations: 12 kB / 0.7911 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.2396, allocations: 19.98 kB / 0.7912 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/0.2404, allocations: 213.4 kB / 0.7914 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2405, allocations: 0 / 0.7914 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2405, allocations: 4 kB / 0.7914 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2405, allocations: 0 / 0.7914 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.2411, allocations: 111.9 kB / 0.7915 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.2416, allocations: 317.2 kB / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.2425, allocations: 194.5 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.2431, allocations: 116.8 kB / 0.7921 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.2432, allocations: 7.922 kB / 0.7921 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007794/0.244, allocations: 222.2 kB / 0.7923 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.244, allocations: 4 kB / 0.7923 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002117/0.2461, allocations: 473 kB / 0.7927 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.2462, allocations: 59.41 kB / 0.7928 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.2465, allocations: 294.9 kB / 0.7931 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.2465, allocations: 33.7 kB / 0.7931 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.2466, allocations: 93.14 kB / 0.7932 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.2467, allocations: 47.47 kB / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.2467, allocations: 8 kB / 0.7933 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2468, allocations: 330.7 kB / 0.7936 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.247, allocations: 79.94 kB / 0.7936 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.2472, allocations: 130 kB / 0.7938 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.2475, allocations: 154.3 kB / 0.7939 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.2475, allocations: 4 kB / 0.7939 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006056/0.2481, allocations: 388.6 kB / 0.7943 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.2482, allocations: 75.56 kB / 0.7944 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2482, allocations: 8 kB / 0.7944 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2482, allocations: 0 / 0.7944 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.2484, allocations: 19.98 kB / 0.7944 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.2484, allocations: 11.92 kB / 0.7944 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.2488, allocations: 63.86 kB / 0.7945 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.2489, allocations: 43.98 kB / 0.7945 GB, free: 4.23 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001938/0.2491, allocations: 174.8 kB / 0.7947 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.2491, allocations: 35.58 kB / 0.7947 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.2492, allocations: 26.3 kB / 0.7947 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2492, allocations: 4 kB / 0.7947 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2492, allocations: 0 / 0.7947 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2492, allocations: 0 / 0.7947 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.2512, allocations: 0.7168 MB / 0.7954 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.2512, allocations: 0 / 0.7954 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.2512, allocations: 7.938 kB / 0.7954 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2512, allocations: 0 / 0.7954 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.2513, allocations: 19.97 kB / 0.7955 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2513, allocations: 3.938 kB / 0.7955 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2513, allocations: 4 kB / 0.7955 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.2528, allocations: 473.2 kB / 0.7959 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.2529, allocations: 156.7 kB / 0.7961 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.253, allocations: 8 kB / 0.7961 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.2534, allocations: 39.95 kB / 0.7961 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.2534, allocations: 8 kB / 0.7961 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.2535, allocations: 43.97 kB / 0.7962 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001885/0.2537, allocations: 205.9 kB / 0.7964 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2537, allocations: 0 / 0.7964 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003268/0.254, allocations: 48 kB / 0.7964 GB, free: 2.188 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 (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.001831/0.2559, allocations: 1.023 MB / 0.7974 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.257, allocations: 397.6 kB / 0.7978 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.257, allocations: 0 / 0.7978 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006601/0.2576, allocations: 124.2 kB / 0.7979 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.258, allocations: 20.64 kB / 0.7979 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.2604, allocations: 1.188 MB / 0.7991 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.2607, allocations: 0.7476 MB / 0.7998 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.056e-05/0.2608, allocations: 17.08 kB / 0.7998 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.2609, allocations: 23.42 kB / 0.7999 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.2609, allocations: 3.938 kB / 0.7999 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.2757, allocations: 4.545 MB / 0.8043 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.2759, allocations: 190.3 kB / 0.8045 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.263, allocations: 0 / 0.8045 GB, free: 9.887 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: