Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_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.001393/0.001393, 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.001383/0.001383, allocations: 196.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.469/1.469, 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.79/2.79, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001866, allocations: 69.09 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3078, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002942/0.3107, allocations: 1.508 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.312, allocations: 0.5432 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.3121, allocations: 7.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.761e-05/0.3122, allocations: 7.922 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.3124, allocations: 23.84 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.3132, allocations: 321.8 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.3138, allocations: 0.4955 MB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.3139, allocations: 12 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.3144, allocations: 267.7 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.3147, allocations: 139.5 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3148, allocations: 28 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.3149, allocations: 28 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.315, allocations: 115.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.3152, allocations: 187 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.3157, allocations: 426.9 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3157, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3157, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.3157, allocations: 7.938 kB / 1.068 GB, free: 10.14 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.001296/0.317, allocations: 0.8587 MB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3171, allocations: 8.031 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.539e-05/0.3171, allocations: 42.73 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3173, allocations: 48.47 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.3176, allocations: 314.2 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.3177, allocations: 12.38 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.3178, allocations: 32.36 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.3188, allocations: 219.9 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3188, allocations: 7.938 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.3188, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3188, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.3196, allocations: 103.9 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.32, allocations: 393.2 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.3211, allocations: 170.5 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/0.3218, allocations: 112.8 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3219, allocations: 7.938 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009349/0.3228, allocations: 228.5 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3228, allocations: 3.938 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002495/0.3253, allocations: 482.6 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3254, allocations: 59.39 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.3258, allocations: 413.9 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.3259, allocations: 41.69 kB / 1.071 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.326, allocations: 101.4 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.326, allocations: 31.52 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.3262, allocations: 133.3 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3263, allocations: 326.8 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.3266, allocations: 119.9 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.3269, allocations: 170.7 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.3273, allocations: 279.5 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3273, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000793/0.3281, allocations: 492.6 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/0.3282, allocations: 91.31 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3282, allocations: 4.188 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3282, allocations: 7.984 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.3284, allocations: 19.92 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.3284, allocations: 7.984 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.3289, allocations: 63.73 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.329, allocations: 59.98 kB / 1.073 GB, free: 4.426 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.000215/0.3292, allocations: 196 kB / 1.073 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.3293, allocations: 43.45 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.3293, allocations: 43.69 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3293, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3293, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3293, allocations: 4 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.3315, allocations: 0.744 MB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3315, allocations: 0 / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.3316, allocations: 8 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3316, allocations: 0 / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.3316, allocations: 19.97 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.3316, allocations: 7.984 kB / 1.074 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3316, allocations: 4 kB / 1.074 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.3334, allocations: 472.5 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.3336, allocations: 212.4 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.3337, allocations: 11.94 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.3342, allocations: 27.97 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3342, allocations: 11.98 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.3343, allocations: 59.97 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002768/0.3346, allocations: 291.1 kB / 1.075 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3346, allocations: 4 kB / 1.075 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003212/0.3349, allocations: 63.98 kB / 1.075 GB, free: 2.133 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.002045/0.337, allocations: 1.026 MB / 1.076 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.3382, allocations: 454.7 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3382, allocations: 0 / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000758/0.339, allocations: 120.3 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3394, allocations: 29.53 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.3434, allocations: 2.772 MB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3437, allocations: 0.7747 MB / 1.08 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.871e-05/0.3438, allocations: 21.06 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.3439, allocations: 15.44 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3439, allocations: 0 / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.871/2.215, allocations: 6.125 MB / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/12.29, allocations: 8 kB / 1.087 GB, free: 6.566 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)