Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_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.001097/0.001101, allocations: 108 kB / 15.6 MB, free: 132 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.001185/0.001185, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.309/1.309, 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.692/2.692, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 61.55 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3008, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003037/0.3039, allocations: 1.512 MB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3053, allocations: 0.5604 MB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3054, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.3056, allocations: 7.875 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.3058, allocations: 27.84 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3069, allocations: 306.4 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006711/0.3076, allocations: 0.4955 MB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.3077, allocations: 15.98 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.3081, allocations: 271.6 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.3084, allocations: 135.6 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.3086, allocations: 28 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3087, allocations: 28 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3088, allocations: 115.7 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.309, allocations: 187 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.3095, allocations: 423 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3095, allocations: 0 / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3095, allocations: 7.938 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.3095, allocations: 0 / 1.057 GB, free: 4.195 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001327/0.3108, allocations: 0.8665 MB / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3109, allocations: 12.62 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.311, allocations: 34.73 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.3111, allocations: 48.56 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.3115, allocations: 318.1 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.3116, allocations: 20.36 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.3116, allocations: 28.38 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.3126, allocations: 214 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3127, allocations: 3.938 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.3127, allocations: 4 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3127, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007962/0.3135, allocations: 107.8 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.3139, allocations: 385.3 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.315, allocations: 174.5 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/0.3158, allocations: 112.8 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3158, allocations: 4 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009727/0.3168, allocations: 235 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.3168, allocations: 0 / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002579/0.3194, allocations: 486.7 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3194, allocations: 59.41 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.3198, allocations: 409.9 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.3199, allocations: 45.62 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.32, allocations: 97.44 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.32, allocations: 39.59 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.3202, allocations: 121.3 kB / 1.061 GB, free: 180 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3203, allocations: 330.8 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.3206, allocations: 115.9 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.3209, allocations: 169.9 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.3213, allocations: 274.5 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3213, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007964/0.3221, allocations: 498.3 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.3222, allocations: 95.5 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3222, allocations: 0 / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3222, allocations: 7.938 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.3224, allocations: 27.91 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3224, allocations: 0 / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.3229, allocations: 63.73 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/0.323, allocations: 63.92 kB / 1.062 GB, free: 14.47 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002121/0.3232, allocations: 201.3 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.3233, allocations: 39.47 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.3233, allocations: 39.75 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3233, allocations: 4 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3233, allocations: 0 / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3234, allocations: 3.984 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.3256, allocations: 0.7461 MB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3256, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.3256, allocations: 4 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3256, allocations: 4 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.3257, allocations: 19.97 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3257, allocations: 4 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3257, allocations: 3.938 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3275, allocations: 474.7 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.3277, allocations: 204.4 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.3278, allocations: 12 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.3283, allocations: 31.95 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.3283, allocations: 11.98 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.3284, allocations: 55.98 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002754/0.3286, allocations: 299.1 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3287, allocations: 0 / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003381/0.329, allocations: 67.98 kB / 1.064 GB, free: 12.18 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.002043/0.331, allocations: 1.023 MB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.3323, allocations: 442.8 kB / 1.066 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3323, allocations: 4 kB / 1.066 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000772/0.3331, allocations: 128.2 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.3334, allocations: 27.61 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.3373, allocations: 2.779 MB / 1.069 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3376, allocations: 0.7708 MB / 1.069 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.3377, allocations: 17.02 kB / 1.069 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.3378, allocations: 23.42 kB / 1.069 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3378, allocations: 4 kB / 1.069 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.3615, allocations: 6.115 MB / 1.075 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.716, allocations: 12.47 kB / 1.075 GB, free: 0.6445 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)