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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002493/0.002493, allocations: 220.3 kB / 23.03 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.891/2.891, allocations: 476.8 MB / 0.7715 GB, free: 3.926 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002931/0.002931, allocations: 64.94 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3726, allocations: 170 MB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003124/0.3757, allocations: 1.529 MB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3771, allocations: 0.5284 MB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.3771, allocations: 3.938 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3772, allocations: 7.922 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.3774, allocations: 19.88 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.3783, allocations: 321.1 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00063/0.3789, allocations: 483.5 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.379, allocations: 8 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.3795, allocations: 287.6 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.3798, allocations: 150.8 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.38, allocations: 28 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3801, allocations: 24 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.3802, allocations: 115.7 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.3804, allocations: 159.2 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.381, allocations: 433.9 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.381, allocations: 0 / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.381, allocations: 4 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.381, allocations: 0 / 1.288 GB, free: 6.695 MB / 0.9825 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.001488/0.3825, allocations: 0.7912 MB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3825, allocations: 8.031 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.584e-05/0.3825, allocations: 192 / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.3826, allocations: 38.75 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.3827, allocations: 64.58 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.3832, allocations: 256.7 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.3832, allocations: 16.36 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.37e-05/0.3833, allocations: 36.36 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3844, allocations: 215.5 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3844, allocations: 0 / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.3844, allocations: 0 / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.3844, allocations: 3.984 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.3853, allocations: 107.9 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.3858, allocations: 308.4 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.3869, allocations: 162.4 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008197/0.3877, allocations: 108.8 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.3878, allocations: 0 / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.3889, allocations: 223.1 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.3889, allocations: 0 / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002787/0.3916, allocations: 491.4 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.3917, allocations: 63.39 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.3922, allocations: 409.9 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/0.3923, allocations: 41.69 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3924, allocations: 101.4 kB / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.3925, allocations: 39.72 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.3928, allocations: 137.4 kB / 1.291 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3929, allocations: 318.8 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.3933, allocations: 187.3 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.3937, allocations: 246.5 kB / 1.292 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.3941, allocations: 271 kB / 1.292 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3941, allocations: 0 / 1.292 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009767/0.3951, allocations: 0.5567 MB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.022e-05/0.3952, allocations: 79.38 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3952, allocations: 4 kB / 1.293 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3952, allocations: 0 / 1.293 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.3954, allocations: 27.91 kB / 1.293 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3954, allocations: 8.188 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.396, allocations: 59.78 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.3961, allocations: 59.98 kB / 1.293 GB, free: 0.9961 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.0002894/0.3964, allocations: 195.7 kB / 1.293 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.3965, allocations: 39.7 kB / 1.293 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.322e-05/0.3965, allocations: 39.69 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3965, allocations: 8 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3965, allocations: 0 / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3966, allocations: 0 / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.3991, allocations: 0.7045 MB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3991, allocations: 4 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.3991, allocations: 11.98 kB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3991, allocations: 0 / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.3991, allocations: 19.98 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3991, allocations: 0 / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3992, allocations: 0 / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.4011, allocations: 498.3 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.4014, allocations: 133.5 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.4015, allocations: 8 kB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.402, allocations: 35.95 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.4021, allocations: 7.984 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/0.4021, allocations: 55.98 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003442/0.4025, allocations: 299 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4025, allocations: 0 / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000426/0.4029, allocations: 63.98 kB / 1.295 GB, free: 14.83 MB / 0.9981 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.002317/0.4052, allocations: 1.037 MB / 1.296 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.4067, allocations: 473.9 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4067, allocations: 0 / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007837/0.4075, allocations: 107.9 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.4079, allocations: 30 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.4128, allocations: 3.092 MB / 1.3 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.413, allocations: 162.9 kB / 1.3 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.107e-05/0.4131, allocations: 17.08 kB / 1.3 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.4132, allocations: 27.42 kB / 1.3 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.4132, allocations: 0 / 1.3 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04433/0.4575, allocations: 7.583 MB / 1.308 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.32, allocations: 8.047 kB / 1.308 GB, free: 2.145 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.137502038036473] Failed to read output from testmodel.py, exit status != 0: 12.989617009996437 12.500640286 12.116326814 Calling exit ...