Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001123/0.001123, allocations: 189.6 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0008352/0.0008351, allocations: 77.2 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004192, allocations: 11.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2214, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001645/0.2231, allocations: 1.187 MB / 0.9808 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2243, allocations: 404.1 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.2244, allocations: 4 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.2245, allocations: 3.938 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.2247, allocations: 23.86 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.2254, allocations: 215 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.2257, allocations: 239.6 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.207e-05/0.2258, allocations: 4 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.2261, allocations: 223.6 kB / 0.9819 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.2263, allocations: 127.7 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.2263, allocations: 12 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.2264, allocations: 8 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.2265, allocations: 83.77 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.2266, allocations: 65.58 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.2268, allocations: 203.9 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2268, allocations: 3.938 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2268, allocations: 0 / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2268, allocations: 0 / 0.9823 GB, free: 24.84 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.001016/0.2278, allocations: 0.6142 MB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2279, allocations: 15.95 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.2279, allocations: 38.55 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.228, allocations: 31.72 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.2283, allocations: 258.4 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.2283, allocations: 8 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.2284, allocations: 20 kB / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.2287, allocations: 149.5 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2287, allocations: 0 / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.2287, allocations: 3.984 kB / 0.9834 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2287, allocations: 4 kB / 0.9834 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.2289, allocations: 47.91 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.2292, allocations: 317.3 kB / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.2294, allocations: 132.8 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2295, allocations: 56.83 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2296, allocations: 7.938 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004145/0.23, allocations: 221.2 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.23, allocations: 0 / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005055/0.2305, allocations: 270.5 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.2306, allocations: 63.33 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.2308, allocations: 290.9 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.2308, allocations: 37.64 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.2309, allocations: 97.12 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.2309, allocations: 43.5 kB / 0.985 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.231, allocations: 8 kB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.231, allocations: 330.8 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2312, allocations: 92.17 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.2314, allocations: 140.3 kB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.2316, allocations: 161.5 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2317, allocations: 0 / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005649/0.2322, allocations: 410.2 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.2323, allocations: 75.38 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2323, allocations: 8.188 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2323, allocations: 4 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2325, allocations: 23.92 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.2325, allocations: 0 / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.2331, allocations: 83.78 kB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.2331, allocations: 51.98 kB / 0.9863 GB, free: 20.49 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.0001516/0.2333, allocations: 175.9 kB / 0.9865 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.2333, allocations: 27.62 kB / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.2334, allocations: 30.25 kB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2334, allocations: 11.92 kB / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2334, allocations: 0 / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2334, allocations: 0 / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.234, allocations: 0.5657 MB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2341, allocations: 0 / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.2341, allocations: 11.98 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2341, allocations: 0 / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.2341, allocations: 7.984 kB / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2341, allocations: 4 kB / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2342, allocations: 0 / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.2345, allocations: 328.2 kB / 0.9874 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.2346, allocations: 152.7 kB / 0.9876 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.2347, allocations: 11.98 kB / 0.9876 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.2349, allocations: 15.98 kB / 0.9876 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.235, allocations: 11.98 kB / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.235, allocations: 31.97 kB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001381/0.2351, allocations: 201.9 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2351, allocations: 0 / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002791/0.2354, allocations: 59.98 kB / 0.9879 GB, free: 18.77 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.0005263/0.236, allocations: 0.865 MB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004681/0.2364, allocations: 343.3 kB / 0.989 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2365, allocations: 4.375 kB / 0.989 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.2366, allocations: 74.09 kB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.2369, allocations: 20.88 kB / 0.9891 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2385, allocations: 1.179 MB / 0.9903 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.2387, allocations: 0.7438 MB / 0.991 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.2388, allocations: 45.41 kB / 0.9911 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.239, allocations: 43.42 kB / 0.9911 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.239, allocations: 0 / 0.9911 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.254, allocations: 4.981 MB / 0.996 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001275/0.2542, allocations: 201.9 kB / 0.9962 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.12, allocations: 64 / 0.9962 GB, free: 10.26 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)