Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_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.008527/0.008527, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001719/0.001719, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002315/0.002315, allocations: 275.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9964/0.9964, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.002021, allocations: 95.86 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2073, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003128/0.2105, allocations: 1.493 MB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2118, allocations: 423.4 kB / 0.7677 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.212, allocations: 0 / 0.7677 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.2122, allocations: 11.86 kB / 0.7678 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.2124, allocations: 24.23 kB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.2135, allocations: 251.4 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.214, allocations: 327.5 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.2141, allocations: 7.984 kB / 0.7683 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.2144, allocations: 199.6 kB / 0.7685 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.2147, allocations: 124 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.2147, allocations: 20 kB / 0.7687 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.2148, allocations: 20 kB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2149, allocations: 75.78 kB / 0.7688 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.2151, allocations: 123.4 kB / 0.7689 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.2154, allocations: 299.1 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2154, allocations: 0 / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2154, allocations: 3.938 kB / 0.7692 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2154, allocations: 0 / 0.7692 GB, free: 5.574 MB / 0.5606 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.001034/0.2165, allocations: 0.7501 MB / 0.7699 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2165, allocations: 8.031 kB / 0.7699 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.2166, allocations: 42.73 kB / 0.7699 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.918e-05/0.2167, allocations: 32.8 kB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.217, allocations: 263.7 kB / 0.7702 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/0.2171, allocations: 20.12 kB / 0.7702 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.2171, allocations: 19.98 kB / 0.7703 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.2181, allocations: 204.7 kB / 0.7705 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2182, allocations: 0 / 0.7705 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.2182, allocations: 0 / 0.7705 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2182, allocations: 0 / 0.7705 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.219, allocations: 99.86 kB / 0.7706 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.2195, allocations: 321.4 kB / 0.7709 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.2205, allocations: 170.4 kB / 0.771 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007509/0.2213, allocations: 116.7 kB / 0.7711 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2213, allocations: 0 / 0.7711 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.2224, allocations: 213.8 kB / 0.7713 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.2224, allocations: 4 kB / 0.7713 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002555/0.2249, allocations: 453.1 kB / 0.7718 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.225, allocations: 67.39 kB / 0.7718 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.2254, allocations: 287 kB / 0.7721 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.2254, allocations: 41.69 kB / 0.7722 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.2255, allocations: 85.66 kB / 0.7722 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.2256, allocations: 35.75 kB / 0.7723 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.2258, allocations: 97.58 kB / 0.7724 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2259, allocations: 322.8 kB / 0.7727 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.2261, allocations: 83.95 kB / 0.7728 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.2263, allocations: 141.9 kB / 0.7729 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.2267, allocations: 243.7 kB / 0.7731 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2267, allocations: 0 / 0.7731 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006326/0.2273, allocations: 388.7 kB / 0.7735 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.2274, allocations: 77.73 kB / 0.7736 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2274, allocations: 0 / 0.7736 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.2275, allocations: 12.19 kB / 0.7736 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.2277, allocations: 27.91 kB / 0.7736 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2277, allocations: 3.984 kB / 0.7736 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.2281, allocations: 55.84 kB / 0.7737 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.2282, allocations: 43.98 kB / 0.7737 GB, free: 0.5859 MB / 0.5606 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.0001867/0.2284, allocations: 183.6 kB / 0.7739 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.2285, allocations: 23.86 kB / 0.7739 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.2285, allocations: 34.23 kB / 0.7739 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2285, allocations: 0 / 0.7739 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2285, allocations: 0 / 0.7739 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2285, allocations: 4 kB / 0.7739 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4066/0.6351, allocations: 0.6841 MB / 0.7746 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6351, allocations: 2.375 kB / 0.7746 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.6352, allocations: 5.531 kB / 0.7746 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.6352, allocations: 1 kB / 0.7746 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.6353, allocations: 19.77 kB / 0.7746 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.6353, allocations: 0.6562 kB / 0.7746 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6353, allocations: 1.375 kB / 0.7746 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.6371, allocations: 448.6 kB / 0.7751 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.6374, allocations: 166.7 kB / 0.7752 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.6374, allocations: 10.7 kB / 0.7752 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/0.638, allocations: 33.16 kB / 0.7753 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.638, allocations: 15.41 kB / 0.7753 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/0.6381, allocations: 44.78 kB / 0.7753 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000231/0.6383, allocations: 207.6 kB / 0.7755 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6383, allocations: 2.078 kB / 0.7755 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003964/0.6387, allocations: 50.25 kB / 0.7756 GB, free: 13.99 MB / 0.5606 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.002098/0.6408, allocations: 0.9886 MB / 0.7765 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.6423, allocations: 380.3 kB / 0.7769 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.6423, allocations: 0.7812 kB / 0.7769 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008134/0.6431, allocations: 115.2 kB / 0.777 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.6435, allocations: 30.25 kB / 0.777 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.6471, allocations: 2.362 MB / 0.7793 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.6474, allocations: 0.7382 MB / 0.7801 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.969e-05/0.6475, allocations: 16.78 kB / 0.7801 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.6475, allocations: 23.09 kB / 0.7801 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.6475, allocations: 0 / 0.7801 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.6757, allocations: 4.819 MB / 0.7848 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/8.243, allocations: 17.69 kB / 0.7848 GB, free: 10.55 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)