Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_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.007418/0.007418, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001703/0.001703, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 482.6 MB / 0.755 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 59.83 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.308, allocations: 162.3 MB / 1.242 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002452/0.3105, allocations: 1.527 MB / 1.243 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3117, allocations: 0.5397 MB / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.3117, allocations: 0 / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.242e-05/0.3118, allocations: 11.86 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.445e-05/0.3119, allocations: 27.84 kB / 1.244 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.3127, allocations: 314.4 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.3132, allocations: 0.4994 MB / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.3133, allocations: 15.95 kB / 1.245 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.3136, allocations: 275.6 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3139, allocations: 139.7 kB / 1.245 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.901e-05/0.314, allocations: 24 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.355e-05/0.3141, allocations: 32 kB / 1.245 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.3142, allocations: 123.5 kB / 1.245 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.3144, allocations: 179.1 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.3148, allocations: 426.7 kB / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3149, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3149, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3149, allocations: 0 / 1.246 GB, free: 4.828 MB / 0.9669 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.001142/0.316, allocations: 0.8781 MB / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3161, allocations: 16.03 kB / 1.247 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.3161, allocations: 34.75 kB / 1.247 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3162, allocations: 52.7 kB / 1.247 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3166, allocations: 310.6 kB / 1.247 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.3166, allocations: 20.3 kB / 1.247 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.3167, allocations: 32.3 kB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.3176, allocations: 214 kB / 1.247 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3177, allocations: 7.938 kB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.3177, allocations: 7.984 kB / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3177, allocations: 0 / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000748/0.3185, allocations: 95.92 kB / 1.247 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.3189, allocations: 397.2 kB / 1.248 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3199, allocations: 170.5 kB / 1.248 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/0.3207, allocations: 116.7 kB / 1.248 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3207, allocations: 4 kB / 1.248 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009304/0.3217, allocations: 221.2 kB / 1.248 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.3217, allocations: 0 / 1.248 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002476/0.3242, allocations: 489.1 kB / 1.249 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3242, allocations: 55.41 kB / 1.249 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004198/0.3246, allocations: 421.8 kB / 1.249 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.3247, allocations: 41.7 kB / 1.249 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.3248, allocations: 97.44 kB / 1.249 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.3248, allocations: 43.61 kB / 1.249 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.325, allocations: 129.5 kB / 1.25 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3252, allocations: 322.8 kB / 1.25 GB, free: 468 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.3254, allocations: 115.9 kB / 1.25 GB, free: 352 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.3257, allocations: 173.9 kB / 1.25 GB, free: 156 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.3261, allocations: 282.9 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3261, allocations: 0 / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008098/0.3269, allocations: 484.7 kB / 1.251 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/0.327, allocations: 92.88 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3271, allocations: 0 / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3271, allocations: 4 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3272, allocations: 27.91 kB / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3273, allocations: 4 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.3277, allocations: 64.03 kB / 1.251 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.529e-05/0.3278, allocations: 55.98 kB / 1.251 GB, free: 15.1 MB / 0.9825 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.0002151/0.328, allocations: 199.5 kB / 1.251 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.3281, allocations: 47.64 kB / 1.251 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.3282, allocations: 39.75 kB / 1.251 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3282, allocations: 4 kB / 1.251 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3282, allocations: 0 / 1.251 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3282, allocations: 0 / 1.251 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.3303, allocations: 0.7534 MB / 1.252 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3303, allocations: 4 kB / 1.252 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.3304, allocations: 8 kB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3304, allocations: 3.938 kB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.3304, allocations: 23.97 kB / 1.252 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3304, allocations: 0 / 1.252 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3305, allocations: 0 / 1.252 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.3322, allocations: 485.3 kB / 1.253 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.3324, allocations: 196.7 kB / 1.253 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.3325, allocations: 12 kB / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.333, allocations: 27.97 kB / 1.253 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.333, allocations: 11.98 kB / 1.253 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/0.3331, allocations: 59.97 kB / 1.253 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002907/0.3334, allocations: 295.1 kB / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3334, allocations: 0 / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003384/0.3337, allocations: 67.98 kB / 1.253 GB, free: 12.8 MB / 0.9825 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.00208/0.3358, allocations: 1.025 MB / 1.254 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.3371, allocations: 444.6 kB / 1.255 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3371, allocations: 0 / 1.255 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/0.3378, allocations: 115.9 kB / 1.255 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.3382, allocations: 29.88 kB / 1.255 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.3421, allocations: 2.786 MB / 1.258 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.3425, allocations: 0.7747 MB / 1.258 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.29e-05/0.3426, allocations: 9.25 kB / 1.258 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.3427, allocations: 23.42 kB / 1.258 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3427, allocations: 0 / 1.258 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4539/0.7966, allocations: 6.126 MB / 1.264 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/9.207, allocations: 7.203 kB / 1.264 GB, free: 1.266 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)