Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002073/0.002073, allocations: 177.3 kB / 15.94 MB, free: 228 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.763/1.763, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.859/1.859, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005214/0.0005215, allocations: 18.72 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2659, allocations: 116.3 MB / 0.7873 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001882/0.2678, allocations: 1.359 MB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2689, allocations: 455.1 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.2689, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.082e-05/0.269, allocations: 7.922 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.2691, allocations: 35.83 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.2698, allocations: 218.4 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.27, allocations: 191.7 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2702, allocations: 21.11 kB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.2704, allocations: 179.6 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.2706, allocations: 135.7 kB / 0.7898 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.2707, allocations: 15.94 kB / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.726e-05/0.2707, allocations: 12 kB / 0.7898 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.2708, allocations: 79.78 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.2709, allocations: 73.58 kB / 0.7899 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.2712, allocations: 323.5 kB / 0.7903 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.2712, allocations: 3.938 kB / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2712, allocations: 0 / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2712, allocations: 0 / 0.7903 GB, free: 8.777 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.0009101/0.2721, allocations: 0.6914 MB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2722, allocations: 12.03 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.2723, allocations: 46.48 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.2723, allocations: 39.58 kB / 0.791 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2727, allocations: 267.2 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.2728, allocations: 16 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.2728, allocations: 23.94 kB / 0.7913 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009583/0.2738, allocations: 240.1 kB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2738, allocations: 3.938 kB / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.2738, allocations: 3.984 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2739, allocations: 4 kB / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.2746, allocations: 119.9 kB / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.2758, allocations: 0.5706 MB / 0.7922 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009736/0.2768, allocations: 194.5 kB / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2768, allocations: 0 / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009202/0.2777, allocations: 235.1 kB / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.2778, allocations: 0 / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002406/0.2802, allocations: 497.1 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.2802, allocations: 63.39 kB / 0.7932 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.2806, allocations: 312.5 kB / 0.7935 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/0.2806, allocations: 33.7 kB / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.2807, allocations: 109 kB / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.2808, allocations: 35.55 kB / 0.7936 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.2808, allocations: 15.98 kB / 0.7937 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.281, allocations: 322.8 kB / 0.794 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.2812, allocations: 87.95 kB / 0.794 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.2814, allocations: 146.6 kB / 0.7942 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.2817, allocations: 171.3 kB / 0.7944 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2817, allocations: 0 / 0.7944 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006551/0.2823, allocations: 408.6 kB / 0.7947 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.2824, allocations: 86.2 kB / 0.7948 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2824, allocations: 0 / 0.7948 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2825, allocations: 4.188 kB / 0.7948 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.2826, allocations: 27.91 kB / 0.7949 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2827, allocations: 4 kB / 0.7949 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.2831, allocations: 63.8 kB / 0.7949 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.84e-05/0.2832, allocations: 39.98 kB / 0.795 GB, free: 3.637 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.0002156/0.2835, allocations: 192.3 kB / 0.7951 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.2835, allocations: 23.72 kB / 0.7952 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.2836, allocations: 26.36 kB / 0.7952 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2836, allocations: 4 kB / 0.7952 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2836, allocations: 0 / 0.7952 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.2836, allocations: 7.969 kB / 0.7952 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.2858, allocations: 0.7625 MB / 0.7959 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2858, allocations: 3.984 kB / 0.7959 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.2858, allocations: 8 kB / 0.796 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2858, allocations: 0 / 0.796 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.2859, allocations: 19.97 kB / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2859, allocations: 0 / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2859, allocations: 0 / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.2876, allocations: 482.8 kB / 0.7964 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.2878, allocations: 188.7 kB / 0.7966 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.2879, allocations: 15.98 kB / 0.7966 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.2884, allocations: 35.47 kB / 0.7967 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.2884, allocations: 15.92 kB / 0.7967 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.2885, allocations: 43.98 kB / 0.7967 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002207/0.2887, allocations: 231 kB / 0.7969 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2887, allocations: 0 / 0.7969 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004085/0.2891, allocations: 55.86 kB / 0.797 GB, free: 1.453 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.002092/0.2912, allocations: 1.025 MB / 0.798 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.2925, allocations: 413.7 kB / 0.7984 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2925, allocations: 0 / 0.7984 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007512/0.2933, allocations: 127.9 kB / 0.7985 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.2937, allocations: 35.44 kB / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.2958, allocations: 1.723 MB / 0.8002 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.2962, allocations: 0.7516 MB / 0.801 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.32e-05/0.2962, allocations: 17.42 kB / 0.801 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.2963, allocations: 35.42 kB / 0.801 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.2963, allocations: 0 / 0.801 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.3153, allocations: 5.02 MB / 0.8059 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.3155, allocations: 222 kB / 0.8061 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.206, allocations: 4.875 kB / 0.8061 GB, free: 8.121 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: