Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.001856/0.001856, 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.002079/0.002079, allocations: 191.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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.793/2.793, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 65.75 kB / 0.9086 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2943, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002452/0.2968, allocations: 1.528 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2979, allocations: 0.5343 MB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.2979, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.633e-05/0.298, allocations: 11.92 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.03e-05/0.2981, allocations: 27.8 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.2988, allocations: 317.6 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.2993, allocations: 0.5033 MB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.2994, allocations: 4 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.2997, allocations: 275.6 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.3, allocations: 135.6 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-05/0.3001, allocations: 28 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.3002, allocations: 32 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3003, allocations: 115.7 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.3005, allocations: 183 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.3009, allocations: 426.9 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3009, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.478e-06/0.3009, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3009, allocations: 0 / 1.068 GB, free: 10.11 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001151/0.3021, allocations: 0.8626 MB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3021, allocations: 8.031 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.134e-05/0.3022, allocations: 42.75 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.3023, allocations: 52.45 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.3027, allocations: 314.2 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.3027, allocations: 16.38 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.3028, allocations: 28.36 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/0.3037, allocations: 207 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3038, allocations: 7.922 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.3038, allocations: 8 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3038, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/0.3046, allocations: 103.9 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.305, allocations: 385.2 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.306, allocations: 182.4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.3067, allocations: 108.8 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3068, allocations: 7.984 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008761/0.3076, allocations: 228.6 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.3077, allocations: 0 / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002467/0.3101, allocations: 482.4 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.3102, allocations: 67.33 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.3106, allocations: 409.9 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.3106, allocations: 45.69 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.3107, allocations: 93.45 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.3108, allocations: 35.52 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.311, allocations: 137.2 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3111, allocations: 318.8 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.3113, allocations: 123.9 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.3116, allocations: 166.7 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.312, allocations: 279.5 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.312, allocations: 8 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007922/0.3128, allocations: 494.3 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/0.3129, allocations: 95.31 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3129, allocations: 0 / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3129, allocations: 4 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3131, allocations: 19.92 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3131, allocations: 4 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.3136, allocations: 71.91 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.3137, allocations: 55.98 kB / 1.073 GB, free: 4.391 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.0002023/0.3139, allocations: 192 kB / 1.073 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.3139, allocations: 43.47 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.314, allocations: 39.73 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.314, allocations: 4 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.314, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.314, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.3162, allocations: 0.748 MB / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3162, allocations: 7.984 kB / 1.074 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.3162, allocations: 4 kB / 1.074 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3162, allocations: 0 / 1.074 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.3163, allocations: 23.97 kB / 1.074 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3163, allocations: 0 / 1.074 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3163, allocations: 4 kB / 1.074 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.318, allocations: 476.6 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.3182, allocations: 204.4 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.3183, allocations: 15.98 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.3188, allocations: 27.97 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.3188, allocations: 11.98 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.764e-05/0.3189, allocations: 63.97 kB / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002734/0.3192, allocations: 291.1 kB / 1.075 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3192, allocations: 0 / 1.075 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003283/0.3195, allocations: 67.98 kB / 1.075 GB, free: 2.098 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.002016/0.3215, allocations: 1.018 MB / 1.076 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.3228, allocations: 454.8 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3228, allocations: 0 / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007434/0.3235, allocations: 123.8 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3239, allocations: 21.55 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.3278, allocations: 2.784 MB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.3282, allocations: 0.7747 MB / 1.08 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.973e-05/0.3283, allocations: 5.094 kB / 1.08 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.3283, allocations: 31.42 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3283, allocations: 0 / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.75/2.078, allocations: 6.127 MB / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/13.42, allocations: 7.984 kB / 1.087 GB, free: 6.527 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)