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.687/2.687, allocations: 287.5 MB / 302.4 MB, free: 8.227 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.001376/0.001375, allocations: 174.3 kB / 371 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.25/2.25, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0008969/0.0008967, allocations: 88.23 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005071, allocations: 11.38 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2126, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001705/0.2143, allocations: 1.183 MB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2154, allocations: 413.7 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.2155, allocations: 3.938 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.785e-05/0.2156, allocations: 3.938 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.2157, allocations: 23.92 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.2166, allocations: 211.6 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.2169, allocations: 239.5 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.217, allocations: 8 kB / 0.9805 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.2174, allocations: 215.6 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.2177, allocations: 131.7 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.2178, allocations: 16 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2179, allocations: 8 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.2181, allocations: 83.77 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8e-05/0.2182, allocations: 69.58 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.2184, allocations: 199.9 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2184, allocations: 0 / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.507e-06/0.2185, allocations: 0 / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2185, allocations: 3.938 kB / 0.9812 GB, free: 25.5 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.001325/0.2198, allocations: 0.6142 MB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2199, allocations: 12.02 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.2199, allocations: 42.55 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.22, allocations: 31.67 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.2204, allocations: 250.5 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.2204, allocations: 12 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.2205, allocations: 16 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.2209, allocations: 153.5 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.221, allocations: 4 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.221, allocations: 3.984 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.221, allocations: 3.984 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.2212, allocations: 47.97 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.2216, allocations: 317.3 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.222, allocations: 130.7 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2222, allocations: 60.83 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.2223, allocations: 4 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.2229, allocations: 211.5 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.547e-06/0.2229, allocations: 4 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008608/0.2238, allocations: 271.5 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2238, allocations: 63.39 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.2242, allocations: 286.9 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.2243, allocations: 37.7 kB / 0.9836 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.2243, allocations: 97.06 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.2244, allocations: 47.44 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.2245, allocations: 8 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.613e-05/0.2245, allocations: 330.8 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.2249, allocations: 92.17 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.2252, allocations: 142.4 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.2256, allocations: 160.1 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2256, allocations: 0 / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001019/0.2266, allocations: 405 kB / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.2267, allocations: 75.38 kB / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2268, allocations: 4 kB / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2268, allocations: 0 / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.2271, allocations: 31.92 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2271, allocations: 4.188 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/0.228, allocations: 79.78 kB / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.2281, allocations: 47.98 kB / 0.9851 GB, free: 21.17 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.0002414/0.2284, allocations: 177.3 kB / 0.9853 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.2284, allocations: 27.62 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.2285, allocations: 30.25 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2285, allocations: 0 / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2285, allocations: 4 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.2286, allocations: 7.922 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2296, allocations: 0.5606 MB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2296, allocations: 4 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.2297, allocations: 4 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.2297, allocations: 7.984 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.2298, allocations: 11.98 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.2298, allocations: 4 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2298, allocations: 3.938 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.2304, allocations: 321.4 kB / 0.9862 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.2306, allocations: 152.7 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.2307, allocations: 15.98 kB / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.2311, allocations: 12 kB / 0.9864 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.2311, allocations: 15.97 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.2312, allocations: 31.98 kB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002307/0.2315, allocations: 205.9 kB / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2315, allocations: 0 / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004674/0.2319, allocations: 55.94 kB / 0.9867 GB, free: 19.44 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.0008172/0.2328, allocations: 0.8657 MB / 0.9875 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007629/0.2336, allocations: 350.6 kB / 0.9879 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2336, allocations: 0 / 0.9879 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.2338, allocations: 75.89 kB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.2343, allocations: 26.5 kB / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.2369, allocations: 1.167 MB / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2372, allocations: 0.7476 MB / 0.9898 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.2374, allocations: 41.42 kB / 0.9899 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.2376, allocations: 43.48 kB / 0.9899 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of SimCode: time 8.506e-06/0.2376, allocations: 0 / 0.9899 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.2713, allocations: 4.976 MB / 0.9948 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/0.2716, allocations: 193.5 kB / 0.9949 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.042, allocations: 0 / 0.9949 GB, free: 10.91 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)