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 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.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.001152/0.001152, 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.001126/0.001126, allocations: 198 kB / 16.54 MB, free: 6.672 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.344/1.344, 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.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 65.47 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3039, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003279/0.3073, allocations: 1.529 MB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3085, allocations: 0.5461 MB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.112e-05/0.3086, allocations: 0 / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.85e-05/0.3087, allocations: 7.875 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.3089, allocations: 27.84 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.3097, allocations: 310.6 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.3103, allocations: 0.5033 MB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.3103, allocations: 11.98 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.3108, allocations: 267.6 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.311, allocations: 131.6 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3112, allocations: 28 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-05/0.3113, allocations: 28 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3114, allocations: 119.7 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3116, allocations: 191 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.312, allocations: 423 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.312, allocations: 0 / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.492e-06/0.312, allocations: 3.938 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.312, allocations: 0 / 1.057 GB, free: 4.219 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.001254/0.3133, allocations: 0.8626 MB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3133, allocations: 8.625 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.3134, allocations: 42.73 kB / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.3136, allocations: 52.56 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.3139, allocations: 314.1 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.314, allocations: 20.36 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.3141, allocations: 32.36 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3151, allocations: 210 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3151, allocations: 3.938 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.3152, allocations: 0 / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3152, allocations: 4 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/0.316, allocations: 103.9 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.3164, allocations: 381.3 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.3175, allocations: 182.4 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/0.3183, allocations: 112.7 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.3183, allocations: 4 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.3194, allocations: 227 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.3194, allocations: 0 / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002722/0.3221, allocations: 491 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.3222, allocations: 59.39 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.3227, allocations: 417.8 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.3228, allocations: 41.64 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3229, allocations: 101.4 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.3229, allocations: 31.61 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.3232, allocations: 125.3 kB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3233, allocations: 322.8 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.3236, allocations: 115.9 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.3239, allocations: 173.9 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.3243, allocations: 278.6 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3243, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008091/0.3252, allocations: 496.6 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.314e-05/0.3252, allocations: 91.31 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3253, allocations: 3.984 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3253, allocations: 4 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3255, allocations: 23.92 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3255, allocations: 0 / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.326, allocations: 63.98 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/0.3261, allocations: 71.89 kB / 1.062 GB, free: 14.5 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.0002161/0.3263, allocations: 196 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.3264, allocations: 39.47 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.3264, allocations: 43.73 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3265, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3265, allocations: 12 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3265, allocations: 0 / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3287, allocations: 0.7363 MB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3287, allocations: 4 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.3287, allocations: 7.984 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3287, allocations: 4 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.3288, allocations: 19.98 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3288, allocations: 0 / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3288, allocations: 0 / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.3306, allocations: 481.2 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.3308, allocations: 204.4 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.788e-05/0.3309, allocations: 15.98 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.3314, allocations: 27.22 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3314, allocations: 15.92 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.493e-05/0.3315, allocations: 59.98 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000275/0.3318, allocations: 295.1 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3318, allocations: 0 / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003434/0.3321, allocations: 63.98 kB / 1.064 GB, free: 12.21 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.00207/0.3342, allocations: 1.019 MB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.3355, allocations: 453.3 kB / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3356, allocations: 0 / 1.066 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.3363, allocations: 123.8 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3368, allocations: 24.83 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.341, allocations: 2.781 MB / 1.069 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3413, allocations: 0.7708 MB / 1.069 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.476e-05/0.3414, allocations: 17.02 kB / 1.069 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.3415, allocations: 19.42 kB / 1.069 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of SimCode: time 8.72e-07/0.3415, allocations: 4 kB / 1.069 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.3653, allocations: 6.126 MB / 1.075 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.717, allocations: 10.03 kB / 1.075 GB, free: 0.668 MB / 0.8262 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=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)