Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001426/0.001426, 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.001445/0.001445, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.75 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2588, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002726/0.2616, allocations: 1.74 MB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2628, allocations: 0.6443 MB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.2629, allocations: 0 / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.799e-05/0.263, allocations: 11.86 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2631, allocations: 35.78 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.2639, allocations: 351 kB / 1.056 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005924/0.2645, allocations: 0.636 MB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2646, allocations: 33.09 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.265, allocations: 311.6 kB / 1.057 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.2653, allocations: 151.5 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.2654, allocations: 40 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2655, allocations: 40 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.2656, allocations: 127.6 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.2658, allocations: 219 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.2663, allocations: 0.5923 MB / 1.058 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2663, allocations: 4 kB / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2663, allocations: 4 kB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.2664, allocations: 0 / 1.058 GB, free: 3.332 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.001154/0.2675, allocations: 0.9053 MB / 1.059 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2676, allocations: 8.625 kB / 1.059 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.2676, allocations: 42.75 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.2677, allocations: 56.45 kB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.2681, allocations: 330.2 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.2682, allocations: 20.55 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/0.2683, allocations: 32.38 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/0.2693, allocations: 239.1 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2693, allocations: 3.938 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.2693, allocations: 4 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2693, allocations: 0 / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.2701, allocations: 123.8 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2713, allocations: 0.6759 MB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.2724, allocations: 186.5 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/0.2731, allocations: 124.7 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2732, allocations: 4 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009329/0.2741, allocations: 225.1 kB / 1.061 GB, free: 168 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.2741, allocations: 0 / 1.061 GB, free: 168 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002575/0.2767, allocations: 496.9 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.2768, allocations: 63.39 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.2772, allocations: 445.8 kB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.2773, allocations: 45.69 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.2773, allocations: 101.3 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.2774, allocations: 43.48 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.2776, allocations: 137.3 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2777, allocations: 326.8 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.278, allocations: 139.9 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.2783, allocations: 198.4 kB / 1.063 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.2787, allocations: 299.1 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2787, allocations: 4 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008358/0.2796, allocations: 0.5201 MB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.2797, allocations: 95.38 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2797, allocations: 3.984 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2797, allocations: 4 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2798, allocations: 23.92 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2799, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.2804, allocations: 75.89 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.2805, allocations: 59.98 kB / 1.064 GB, free: 13 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.0002205/0.2807, allocations: 212.3 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.2808, allocations: 35.53 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.2808, allocations: 47.78 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2808, allocations: 4 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.2808, allocations: 3.938 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2808, allocations: 3.938 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.283, allocations: 0.789 MB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.283, allocations: 0 / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.2831, allocations: 4 kB / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2831, allocations: 0 / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.2831, allocations: 27.91 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2831, allocations: 0 / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2831, allocations: 0 / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.2849, allocations: 486.7 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.2852, allocations: 244.4 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.2853, allocations: 19.94 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.2858, allocations: 35.97 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.2858, allocations: 11.98 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.2859, allocations: 59.97 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002907/0.2862, allocations: 315.1 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2862, allocations: 0 / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003615/0.2865, allocations: 67.98 kB / 1.066 GB, free: 10.57 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.002066/0.2886, allocations: 1.051 MB / 1.067 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.2899, allocations: 486.7 kB / 1.067 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2899, allocations: 0 / 1.067 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000783/0.2907, allocations: 115.9 kB / 1.067 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.2911, allocations: 46.16 kB / 1.067 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.2953, allocations: 2.996 MB / 1.07 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.2957, allocations: 0.7864 MB / 1.071 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.349e-05/0.2957, allocations: 17.42 kB / 1.071 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.2958, allocations: 27.42 kB / 1.071 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.2958, allocations: 4 kB / 1.071 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.318, allocations: 6.719 MB / 1.078 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.735, allocations: 16.09 kB / 1.078 GB, free: 14.14 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)