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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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.401/1.401, allocations: 252 MB / 267.3 MB, free: 10.86 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.001029/0.001029, allocations: 173.3 kB / 327 MB, free: 2.113 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.824/1.824, allocations: 205.4 MB / 0.578 GB, free: 20.2 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.0007916/0.0007916, allocations: 90.25 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 12.09 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.207, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001834/0.2089, allocations: 1.406 MB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.2097, allocations: 495.3 kB / 0.9028 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.2098, allocations: 0 / 0.9028 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.602e-05/0.2099, allocations: 11.86 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.21, allocations: 28.23 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.2106, allocations: 253.4 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.2108, allocations: 347.8 kB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.2109, allocations: 25.44 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.2112, allocations: 226.3 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.2114, allocations: 127.6 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.2114, allocations: 11.94 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.713e-05/0.2115, allocations: 12 kB / 0.9038 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.2116, allocations: 79.72 kB / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2118, allocations: 160.9 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.2121, allocations: 394.9 kB / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2121, allocations: 0 / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2121, allocations: 0 / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2121, allocations: 0 / 0.9044 GB, free: 59.86 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.0009683/0.2131, allocations: 0.6375 MB / 0.905 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2132, allocations: 12.03 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.2132, allocations: 42.55 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.2133, allocations: 39.62 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.2136, allocations: 282.8 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.2136, allocations: 12 kB / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.2137, allocations: 19.98 kB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.214, allocations: 184.2 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.214, allocations: 3.984 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.214, allocations: 3.984 kB / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2141, allocations: 7.938 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2142, allocations: 59.97 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009569/0.2152, allocations: 0.5627 MB / 0.9062 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.2154, allocations: 134.6 kB / 0.9063 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2155, allocations: 64.83 kB / 0.9064 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2156, allocations: 4 kB / 0.9064 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004016/0.216, allocations: 224.1 kB / 0.9066 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.216, allocations: 0 / 0.9066 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005048/0.2165, allocations: 289.1 kB / 0.9069 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.2165, allocations: 63.41 kB / 0.9069 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.2168, allocations: 320.4 kB / 0.9073 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.2168, allocations: 37.7 kB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.2169, allocations: 105 kB / 0.9074 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.2169, allocations: 35.55 kB / 0.9074 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.217, allocations: 11.94 kB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.217, allocations: 326.8 kB / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.2172, allocations: 104.2 kB / 0.9078 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.2175, allocations: 162.4 kB / 0.908 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.2177, allocations: 258.8 kB / 0.9082 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2177, allocations: 4 kB / 0.9083 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005755/0.2183, allocations: 436.1 kB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.2184, allocations: 81.56 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2184, allocations: 4 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2184, allocations: 0 / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2186, allocations: 32.11 kB / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2186, allocations: 7.984 kB / 0.9088 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.2191, allocations: 67.86 kB / 0.9089 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.2191, allocations: 47.98 kB / 0.9089 GB, free: 54.91 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.0001455/0.2193, allocations: 197.7 kB / 0.9091 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.2193, allocations: 31.61 kB / 0.9091 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.2194, allocations: 34.36 kB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2194, allocations: 0 / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2194, allocations: 0 / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2194, allocations: 0 / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.22, allocations: 0.6035 MB / 0.9097 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.22, allocations: 4 kB / 0.9097 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.2201, allocations: 11.98 kB / 0.9098 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2201, allocations: 0 / 0.9098 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.2201, allocations: 11.98 kB / 0.9098 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2201, allocations: 7.938 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2201, allocations: 7.875 kB / 0.9098 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.2205, allocations: 329.6 kB / 0.9101 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.2206, allocations: 180.6 kB / 0.9103 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.2207, allocations: 24 kB / 0.9103 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2209, allocations: 15.92 kB / 0.9103 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.221, allocations: 15.97 kB / 0.9103 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.221, allocations: 31.98 kB / 0.9104 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001484/0.2212, allocations: 223 kB / 0.9106 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2212, allocations: 0 / 0.9106 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002802/0.2215, allocations: 52 kB / 0.9106 GB, free: 53.05 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.0005449/0.222, allocations: 0.8856 MB / 0.9115 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.2225, allocations: 366.5 kB / 0.9118 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2225, allocations: 0 / 0.9118 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.2226, allocations: 76.84 kB / 0.9119 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.223, allocations: 43.98 kB / 0.9119 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.2255, allocations: 2.624 MB / 0.9145 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.2257, allocations: 0.7555 MB / 0.9152 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.2258, allocations: 45.41 kB / 0.9153 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.226, allocations: 55.41 kB / 0.9153 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.226, allocations: 0 / 0.9153 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.2396, allocations: 5.487 MB / 0.9207 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.2398, allocations: 248.4 kB / 0.9209 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.965, allocations: 0 / 0.9209 GB, free: 42.51 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)