Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_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.731/1.731, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.001008/0.001009, allocations: 174.9 kB / 372 MB, free: 10.26 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.587/1.587, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0007199/0.0007198, allocations: 89.08 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003928, allocations: 17.52 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2167, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001809/0.2186, allocations: 1.351 MB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009016/0.2195, allocations: 464.1 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.2196, allocations: 0 / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.651e-05/0.2197, allocations: 11.88 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2198, allocations: 23.91 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.2204, allocations: 218.6 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.2206, allocations: 307.5 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.2207, allocations: 25.42 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.221, allocations: 235.5 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.2212, allocations: 135.7 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.2213, allocations: 12 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.2213, allocations: 8 kB / 0.9824 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.2214, allocations: 83.77 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.2215, allocations: 81.52 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.2217, allocations: 315.5 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2217, allocations: 4 kB / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2217, allocations: 0 / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2218, allocations: 0 / 0.9828 GB, free: 24.28 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001063/0.2228, allocations: 0.6375 MB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2229, allocations: 12.03 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.2229, allocations: 42.55 kB / 0.9835 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.223, allocations: 39.58 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.2233, allocations: 267.1 kB / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.2234, allocations: 19.98 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.2234, allocations: 20 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2237, allocations: 175.7 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2238, allocations: 0 / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.2238, allocations: 4 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2238, allocations: 4 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.224, allocations: 55.97 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009811/0.2249, allocations: 0.5666 MB / 0.9846 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.2252, allocations: 134.7 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2253, allocations: 64.83 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.2254, allocations: 3.938 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004026/0.2258, allocations: 228.2 kB / 0.985 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.2258, allocations: 0 / 0.985 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005078/0.2263, allocations: 291.7 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.2263, allocations: 63.39 kB / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.2266, allocations: 316.4 kB / 0.9857 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.2266, allocations: 49.62 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.2267, allocations: 89.14 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.2267, allocations: 43.45 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.2268, allocations: 8 kB / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.2268, allocations: 322.8 kB / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.227, allocations: 104.2 kB / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.2273, allocations: 162.4 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.2275, allocations: 169.6 kB / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2275, allocations: 0 / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006085/0.2281, allocations: 443 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/0.2282, allocations: 75.39 kB / 0.9871 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2282, allocations: 0 / 0.9871 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2282, allocations: 7.938 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.2284, allocations: 35.86 kB / 0.9871 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2284, allocations: 4 kB / 0.9871 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.229, allocations: 71.98 kB / 0.9872 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.229, allocations: 51.98 kB / 0.9872 GB, free: 19.46 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0001582/0.2292, allocations: 189.7 kB / 0.9874 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.2292, allocations: 31.62 kB / 0.9874 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.2293, allocations: 30.34 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2293, allocations: 4 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2293, allocations: 3.953 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2293, allocations: 3.984 kB / 0.9875 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.2299, allocations: 0.5896 MB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.23, allocations: 4 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.23, allocations: 8 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.23, allocations: 4 kB / 0.9881 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.23, allocations: 19.92 kB / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2301, allocations: 0 / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2301, allocations: 0 / 0.9881 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.2304, allocations: 330.9 kB / 0.9884 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.2306, allocations: 188.6 kB / 0.9886 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.2306, allocations: 11.94 kB / 0.9886 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2309, allocations: 19.94 kB / 0.9886 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.2309, allocations: 19.97 kB / 0.9886 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.231, allocations: 31.98 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001673/0.2311, allocations: 223 kB / 0.9889 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2311, allocations: 0 / 0.9889 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002771/0.2314, allocations: 51.91 kB / 0.9889 GB, free: 17.62 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0005868/0.232, allocations: 0.8915 MB / 0.9898 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.2325, allocations: 372.1 kB / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2325, allocations: 0 / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.2326, allocations: 67.97 kB / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.233, allocations: 32.58 kB / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.2348, allocations: 1.311 MB / 0.9915 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.2349, allocations: 0.7517 MB / 0.9923 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.2351, allocations: 41.42 kB / 0.9923 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.2352, allocations: 51.41 kB / 0.9924 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.2352, allocations: 3.938 kB / 0.9924 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.2505, allocations: 5.543 MB / 0.9978 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.2507, allocations: 233.1 kB / 0.998 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.959, allocations: 0 / 0.998 GB, free: 8.41 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)