Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001227/0.001227, allocations: 196.6 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 75.7 kB / 0.8985 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2722, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002813/0.275, allocations: 1.797 MB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2764, allocations: 0.696 MB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.2764, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.2766, allocations: 7.922 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.2767, allocations: 35.84 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.2774, allocations: 330.4 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.2778, allocations: 0.5267 MB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2779, allocations: 41.08 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.2783, allocations: 318.8 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.2785, allocations: 179.1 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.712e-05/0.2786, allocations: 16 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.2787, allocations: 16 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.2788, allocations: 111.7 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.279, allocations: 202.7 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.2795, allocations: 0.5803 MB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2795, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.22e-07/0.2795, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2795, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 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.001161/0.2807, allocations: 0.9132 MB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2808, allocations: 11.97 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.2808, allocations: 42.73 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2809, allocations: 52.47 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.2813, allocations: 338.1 kB / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.2814, allocations: 20.56 kB / 1.058 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.2814, allocations: 28.36 kB / 1.058 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.2825, allocations: 237.7 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2825, allocations: 0 / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.2825, allocations: 4 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2825, allocations: 4 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008125/0.2833, allocations: 119.8 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2845, allocations: 0.6798 MB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.2856, allocations: 190.4 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.2864, allocations: 112.8 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2864, allocations: 4 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000968/0.2874, allocations: 229 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.2874, allocations: 0 / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002644/0.2901, allocations: 496.9 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.2901, allocations: 67.33 kB / 1.06 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.2905, allocations: 441.8 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.2906, allocations: 41.69 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.2907, allocations: 109.3 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.2907, allocations: 39.48 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.2909, allocations: 145.3 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.291, allocations: 322.8 kB / 1.061 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.2913, allocations: 139.9 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.2916, allocations: 193.9 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.292, allocations: 299.8 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.292, allocations: 0 / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008142/0.2928, allocations: 0.527 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.2929, allocations: 95.38 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2929, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2929, allocations: 4 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2931, allocations: 27.91 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2931, allocations: 3.984 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.2936, allocations: 75.86 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-05/0.2937, allocations: 59.98 kB / 1.063 GB, free: 13.03 MB / 0.8262 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002147/0.2939, allocations: 216.3 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.294, allocations: 39.53 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.054e-05/0.294, allocations: 39.8 kB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.294, allocations: 0 / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2941, allocations: 0 / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2941, allocations: 11.92 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.2961, allocations: 0.787 MB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2961, allocations: 3.984 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.2962, allocations: 4 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2962, allocations: 4 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.2962, allocations: 23.91 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2963, allocations: 0 / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2963, allocations: 0 / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.298, allocations: 478.7 kB / 1.064 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.2983, allocations: 244.5 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.2983, allocations: 19.94 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.2988, allocations: 35.95 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.2989, allocations: 7.984 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.2989, allocations: 51.98 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002756/0.2992, allocations: 327.1 kB / 1.065 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2992, allocations: 0 / 1.065 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003438/0.2996, allocations: 67.94 kB / 1.065 GB, free: 10.6 MB / 0.8262 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 (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.002017/0.3016, allocations: 1.047 MB / 1.066 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.3028, allocations: 474.8 kB / 1.067 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3029, allocations: 8 kB / 1.067 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007693/0.3036, allocations: 123.9 kB / 1.067 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.304, allocations: 34.91 kB / 1.067 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.3083, allocations: 3.117 MB / 1.07 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3086, allocations: 0.7867 MB / 1.071 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.762e-05/0.3086, allocations: 17.42 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.3087, allocations: 27.42 kB / 1.071 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3087, allocations: 0 / 1.071 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.3248, allocations: 6.612 MB / 1.077 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/0.3252, allocations: 239.1 kB / 1.077 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.963, allocations: 1.875 kB / 1.077 GB, free: 13.95 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)