Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001445/0.001445, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 196 kB / 16.53 MB, free: 6.699 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.65/2.65, allocations: 469.8 MB / 0.7424 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 67.91 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.281, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002896/0.284, allocations: 1.739 MB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2852, allocations: 0.6374 MB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.2853, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.279e-05/0.2854, allocations: 11.86 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.2855, allocations: 31.78 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.2863, allocations: 362.5 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005886/0.2869, allocations: 0.6243 MB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.287, allocations: 37.09 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.2873, allocations: 303.6 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.2876, allocations: 151.5 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.2877, allocations: 40 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.2878, allocations: 44 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.2879, allocations: 127.6 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.2882, allocations: 219 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.2887, allocations: 0.5923 MB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2887, allocations: 0 / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2887, allocations: 4 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2887, allocations: 0 / 1.069 GB, free: 9.336 MB / 0.8262 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.001198/0.2899, allocations: 0.9092 MB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.29, allocations: 12.03 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.29, allocations: 42.73 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.2902, allocations: 56.47 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.2906, allocations: 334.2 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.2906, allocations: 16.56 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.2907, allocations: 36.36 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/0.2917, allocations: 237.7 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2917, allocations: 0 / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.2917, allocations: 3.938 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2917, allocations: 7.984 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.2925, allocations: 111.9 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.2937, allocations: 0.6797 MB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2947, allocations: 178.5 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007323/0.2955, allocations: 112.8 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2955, allocations: 7.984 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009401/0.2964, allocations: 239.1 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.2964, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002525/0.299, allocations: 0.4908 MB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.299, allocations: 59.41 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/0.2995, allocations: 441.9 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.2996, allocations: 45.69 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.2997, allocations: 105.3 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.2997, allocations: 39.48 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.2999, allocations: 133.3 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3001, allocations: 330.8 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.3004, allocations: 139.9 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.3007, allocations: 207.1 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.3011, allocations: 295.4 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3011, allocations: 0 / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008846/0.302, allocations: 0.5295 MB / 1.074 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.979e-05/0.3021, allocations: 91.38 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3021, allocations: 4 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3022, allocations: 4 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3023, allocations: 23.97 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.3023, allocations: 7.938 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.3028, allocations: 63.92 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.3029, allocations: 67.95 kB / 1.075 GB, free: 3 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.000245/0.3032, allocations: 212.3 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.3032, allocations: 35.53 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/0.3033, allocations: 43.8 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3033, allocations: 7.984 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3033, allocations: 0 / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3033, allocations: 7.875 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.3055, allocations: 0.7832 MB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3055, allocations: 0 / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.3056, allocations: 7.938 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3056, allocations: 0 / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.3056, allocations: 27.91 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3056, allocations: 4 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3056, allocations: 0 / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.3074, allocations: 480.9 kB / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.3077, allocations: 240.5 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.3078, allocations: 27.92 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.3083, allocations: 27.97 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.3084, allocations: 11.98 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/0.3084, allocations: 55.98 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003281/0.3088, allocations: 323.1 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3088, allocations: 0 / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003799/0.3092, allocations: 67.91 kB / 1.077 GB, free: 0.5664 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.002148/0.3113, allocations: 1.042 MB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.3127, allocations: 494.6 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3127, allocations: 0 / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007781/0.3135, allocations: 125.7 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3139, allocations: 42.47 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.3184, allocations: 2.998 MB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.3188, allocations: 0.7786 MB / 1.082 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.921e-05/0.3189, allocations: 17.42 kB / 1.082 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.319, allocations: 31.42 kB / 1.082 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.319, allocations: 0 / 1.082 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.636/1.955, allocations: 6.711 MB / 1.089 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/13.24, allocations: 6.016 kB / 1.089 GB, free: 4.152 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)