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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.433/1.433, allocations: 252 MB / 267.3 MB, free: 10.81 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.001047/0.001047, allocations: 189.7 kB / 327 MB, free: 2.09 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.804/1.804, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.001081/0.001081, allocations: 93.48 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 12.25 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 106.3 MB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001844/0.2019, allocations: 1.41 MB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.2029, allocations: 487.3 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.203, allocations: 3.938 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.765e-05/0.2032, allocations: 7.938 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.2033, allocations: 24.22 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.2041, allocations: 257.1 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.2045, allocations: 359.8 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2046, allocations: 25.44 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.205, allocations: 226.3 kB / 0.9037 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.2053, allocations: 123.5 kB / 0.9038 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.2054, allocations: 8 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.2054, allocations: 12 kB / 0.9038 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.2056, allocations: 83.7 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.2058, allocations: 156.9 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.2062, allocations: 402.9 kB / 0.9044 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2062, allocations: 0 / 0.9044 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2062, allocations: 0 / 0.9044 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.2062, allocations: 0 / 0.9044 GB, free: 59.78 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.00113/0.2073, allocations: 0.6314 MB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2074, allocations: 12.03 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.454e-05/0.2075, allocations: 46.55 kB / 0.9051 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.2076, allocations: 35.56 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.2079, allocations: 286.8 kB / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.2079, allocations: 12 kB / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.208, allocations: 20 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.2083, allocations: 177.4 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2083, allocations: 0 / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.2084, allocations: 4 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2084, allocations: 4 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.2085, allocations: 55.97 kB / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.2097, allocations: 0.5666 MB / 0.9062 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.21, allocations: 142.6 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2101, allocations: 60.84 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.2101, allocations: 11.97 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004166/0.2105, allocations: 224.1 kB / 0.9066 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.893e-06/0.2106, allocations: 0 / 0.9066 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005471/0.2111, allocations: 287.6 kB / 0.9069 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2111, allocations: 59.39 kB / 0.9069 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.2114, allocations: 316.4 kB / 0.9072 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.2115, allocations: 45.69 kB / 0.9073 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.2116, allocations: 97.05 kB / 0.9074 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.2116, allocations: 47.47 kB / 0.9074 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2117, allocations: 11.98 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.2117, allocations: 322.8 kB / 0.9077 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.212, allocations: 108.2 kB / 0.9079 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.2122, allocations: 154.4 kB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.2125, allocations: 259.5 kB / 0.9082 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.2125, allocations: 7.938 kB / 0.9083 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006243/0.2131, allocations: 440.6 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.2132, allocations: 75.39 kB / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2132, allocations: 4 kB / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2132, allocations: 0 / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2134, allocations: 31.91 kB / 0.9088 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2134, allocations: 0 / 0.9088 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.2139, allocations: 72.05 kB / 0.9088 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.214, allocations: 51.98 kB / 0.9089 GB, free: 54.84 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.0001738/0.2142, allocations: 189.7 kB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.2142, allocations: 31.62 kB / 0.9091 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.2143, allocations: 38.34 kB / 0.9091 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2143, allocations: 0 / 0.9091 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2143, allocations: 0 / 0.9091 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2143, allocations: 7.922 kB / 0.9092 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.215, allocations: 0.5997 MB / 0.9097 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.215, allocations: 4 kB / 0.9097 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.215, allocations: 8 kB / 0.9098 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.215, allocations: 3.938 kB / 0.9098 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.2151, allocations: 11.97 kB / 0.9098 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.2151, allocations: 11.94 kB / 0.9098 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2151, allocations: 0 / 0.9098 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.2154, allocations: 325.5 kB / 0.9101 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.2156, allocations: 184.6 kB / 0.9103 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.2157, allocations: 16 kB / 0.9103 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.2159, allocations: 15.92 kB / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.2159, allocations: 15.98 kB / 0.9103 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.216, allocations: 35.97 kB / 0.9103 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001595/0.2161, allocations: 227 kB / 0.9106 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2162, allocations: 0 / 0.9106 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003003/0.2165, allocations: 48 kB / 0.9106 GB, free: 52.98 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.0005838/0.2171, allocations: 0.8817 MB / 0.9115 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004796/0.2175, allocations: 371.6 kB / 0.9118 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2176, allocations: 0 / 0.9118 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.2177, allocations: 72.84 kB / 0.9119 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.2181, allocations: 47.81 kB / 0.9119 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.2208, allocations: 2.64 MB / 0.9145 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.221, allocations: 0.7595 MB / 0.9153 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.2211, allocations: 41.42 kB / 0.9153 GB, free: 48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.2213, allocations: 47.42 kB / 0.9153 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2213, allocations: 0 / 0.9153 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.238, allocations: 5.484 MB / 0.9207 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.2382, allocations: 258.8 kB / 0.9209 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.951, allocations: 0 / 0.9209 GB, free: 42.44 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)