Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008323/0.0008321, allocations: 91.22 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.567/1.567, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005236, allocations: 14.5 kB / 0.6739 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.209, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001588/0.2106, allocations: 1.367 MB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008124/0.2114, allocations: 459.1 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.2115, allocations: 4 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.84e-05/0.2116, allocations: 15.86 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.458e-05/0.2117, allocations: 19.91 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.2122, allocations: 215.4 kB / 0.7895 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.2125, allocations: 319.5 kB / 0.7898 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.2126, allocations: 21.11 kB / 0.7898 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.2129, allocations: 239.5 kB / 0.79 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.2131, allocations: 143.6 kB / 0.7901 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.2132, allocations: 12 kB / 0.7902 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-05/0.2132, allocations: 12 kB / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2133, allocations: 91.7 kB / 0.7903 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.2134, allocations: 73.58 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.2137, allocations: 331.5 kB / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2137, allocations: 0 / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2137, allocations: 0 / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2137, allocations: 0 / 0.7906 GB, free: 8.508 MB / 0.6075 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.0007861/0.2145, allocations: 0.6798 MB / 0.7913 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2145, allocations: 16.03 kB / 0.7913 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.2146, allocations: 42.55 kB / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.2147, allocations: 39.58 kB / 0.7914 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.2149, allocations: 271.1 kB / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.215, allocations: 23.97 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.2151, allocations: 20 kB / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/0.2159, allocations: 233.4 kB / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2159, allocations: 0 / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.2159, allocations: 4 kB / 0.7919 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2159, allocations: 4 kB / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006341/0.2166, allocations: 134.5 kB / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009006/0.2175, allocations: 0.5706 MB / 0.7926 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.2183, allocations: 194.4 kB / 0.7928 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/0.2189, allocations: 120.8 kB / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.219, allocations: 0 / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007497/0.2197, allocations: 235.1 kB / 0.7931 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.796e-06/0.2197, allocations: 4 kB / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002015/0.2218, allocations: 491.8 kB / 0.7936 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.2218, allocations: 75.31 kB / 0.7937 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.2221, allocations: 312.5 kB / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.2221, allocations: 37.7 kB / 0.794 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.2222, allocations: 101 kB / 0.7941 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2223, allocations: 31.62 kB / 0.7941 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.2223, allocations: 11.98 kB / 0.7942 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.2224, allocations: 318.8 kB / 0.7945 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.2226, allocations: 99.89 kB / 0.7946 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2228, allocations: 150.6 kB / 0.7947 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.223, allocations: 155.4 kB / 0.7948 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.223, allocations: 0 / 0.7948 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005856/0.2236, allocations: 424.5 kB / 0.7953 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.2237, allocations: 78.2 kB / 0.7953 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2237, allocations: 0 / 0.7953 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2237, allocations: 4 kB / 0.7953 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.2238, allocations: 31.91 kB / 0.7954 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.2238, allocations: 0 / 0.7954 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.2243, allocations: 63.98 kB / 0.7954 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.2243, allocations: 43.98 kB / 0.7955 GB, free: 3.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.000162/0.2245, allocations: 188.3 kB / 0.7956 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.2246, allocations: 23.72 kB / 0.7957 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.2246, allocations: 38.36 kB / 0.7957 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2246, allocations: 0 / 0.7957 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2246, allocations: 0 / 0.7957 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2246, allocations: 3.984 kB / 0.7957 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.2263, allocations: 0.7519 MB / 0.7964 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2263, allocations: 4 kB / 0.7964 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.2264, allocations: 0 / 0.7964 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2264, allocations: 8 kB / 0.7965 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.2264, allocations: 19.97 kB / 0.7965 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2264, allocations: 0 / 0.7965 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2264, allocations: 3.938 kB / 0.7965 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.2278, allocations: 477.4 kB / 0.7969 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.228, allocations: 188.6 kB / 0.7971 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.2281, allocations: 19.98 kB / 0.7971 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.2284, allocations: 39.97 kB / 0.7972 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.2285, allocations: 15.86 kB / 0.7972 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.2285, allocations: 39.97 kB / 0.7972 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001841/0.2287, allocations: 231 kB / 0.7974 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2287, allocations: 0 / 0.7974 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002961/0.229, allocations: 51.91 kB / 0.7975 GB, free: 1.066 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.001673/0.2307, allocations: 1.033 MB / 0.7985 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009689/0.2317, allocations: 410.5 kB / 0.7989 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2317, allocations: 4 kB / 0.7989 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006199/0.2323, allocations: 139.6 kB / 0.799 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.2327, allocations: 35.06 kB / 0.7991 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.235, allocations: 1.32 MB / 0.8003 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2353, allocations: 0.7477 MB / 0.8011 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.512e-05/0.2354, allocations: 17.42 kB / 0.8011 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.2355, allocations: 39.36 kB / 0.8011 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2355, allocations: 0 / 0.8011 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.25, allocations: 5.061 MB / 0.8061 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.2502, allocations: 206.9 kB / 0.8063 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/1.794, allocations: 4.062 kB / 0.8063 GB, free: 8.098 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: