Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 267.3 MB, free: 10.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 184.4 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.4 MB / 0.578 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007624/0.0007624, allocations: 84.86 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 13.84 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2068, allocations: 106.4 MB / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001689/0.2085, allocations: 1.395 MB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009616/0.2095, allocations: 497.3 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.2096, allocations: 0 / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2097, allocations: 11.86 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.2098, allocations: 24.23 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.2105, allocations: 254.6 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.2108, allocations: 351.8 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2109, allocations: 29.42 kB / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.2113, allocations: 222.3 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.2115, allocations: 131.5 kB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/0.2116, allocations: 8 kB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.2117, allocations: 12 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.592e-05/0.2118, allocations: 75.72 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.2119, allocations: 164.9 kB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.2123, allocations: 394.9 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2123, allocations: 4 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2123, allocations: 0 / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.2123, allocations: 0 / 0.9044 GB, free: 59.83 MB / 0.6042 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.001035/0.2133, allocations: 0.6336 MB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2134, allocations: 16.03 kB / 0.905 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.2134, allocations: 38.55 kB / 0.9051 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.2136, allocations: 35.62 kB / 0.9051 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.2139, allocations: 282.8 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.2139, allocations: 12 kB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.214, allocations: 23.98 kB / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.2143, allocations: 173.4 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2143, allocations: 0 / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.2144, allocations: 7.922 kB / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2144, allocations: 0 / 0.9056 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.2145, allocations: 67.97 kB / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2156, allocations: 0.5588 MB / 0.9062 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.2159, allocations: 146.6 kB / 0.9063 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.216, allocations: 60.83 kB / 0.9064 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.216, allocations: 4 kB / 0.9064 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.2165, allocations: 228.1 kB / 0.9066 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.2165, allocations: 0 / 0.9066 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005334/0.217, allocations: 287.3 kB / 0.9069 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2171, allocations: 63.39 kB / 0.9069 GB, free: 57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.2173, allocations: 320.4 kB / 0.9073 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.2174, allocations: 37.7 kB / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.2174, allocations: 109 kB / 0.9074 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.2175, allocations: 35.55 kB / 0.9074 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2175, allocations: 11.94 kB / 0.9074 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.2176, allocations: 322.8 kB / 0.9077 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.2178, allocations: 108.2 kB / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.218, allocations: 162.3 kB / 0.908 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.2183, allocations: 249.3 kB / 0.9082 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2183, allocations: 4 kB / 0.9082 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000615/0.219, allocations: 440.6 kB / 0.9087 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.219, allocations: 79.38 kB / 0.9087 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.219, allocations: 4 kB / 0.9087 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2191, allocations: 4 kB / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.2192, allocations: 27.92 kB / 0.9088 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2192, allocations: 3.984 kB / 0.9088 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.2197, allocations: 75.98 kB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.2198, allocations: 55.97 kB / 0.9089 GB, free: 54.88 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.22, allocations: 181.8 kB / 0.9091 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.22, allocations: 35.61 kB / 0.9091 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.2201, allocations: 30.36 kB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2201, allocations: 4 kB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2201, allocations: 0 / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.2201, allocations: 3.938 kB / 0.9092 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.2208, allocations: 0.5958 MB / 0.9097 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2208, allocations: 0 / 0.9097 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.2208, allocations: 15.92 kB / 0.9097 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2208, allocations: 3.984 kB / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.2209, allocations: 15.98 kB / 0.9098 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2209, allocations: 11.88 kB / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2209, allocations: 0 / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.2212, allocations: 329.5 kB / 0.9101 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.2214, allocations: 180.6 kB / 0.9103 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.2215, allocations: 16 kB / 0.9103 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2217, allocations: 15.92 kB / 0.9103 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.2218, allocations: 23.97 kB / 0.9103 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.2218, allocations: 27.98 kB / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001629/0.222, allocations: 227 kB / 0.9106 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.222, allocations: 0 / 0.9106 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000298/0.2223, allocations: 48 kB / 0.9106 GB, free: 53.03 MB / 0.6042 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 (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.0005715/0.2229, allocations: 0.8871 MB / 0.9115 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.2233, allocations: 370.5 kB / 0.9118 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2233, allocations: 0 / 0.9118 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.2235, allocations: 71.91 kB / 0.9119 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.2238, allocations: 39.61 kB / 0.9119 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.2265, allocations: 2.635 MB / 0.9145 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.2267, allocations: 0.7556 MB / 0.9152 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00014/0.2268, allocations: 41.42 kB / 0.9153 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.2269, allocations: 47.41 kB / 0.9153 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.227, allocations: 0 / 0.9153 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.2425, allocations: 5.489 MB / 0.9207 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.2426, allocations: 242.3 kB / 0.9209 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.085, allocations: 4 kB / 0.9209 GB, free: 42.49 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)