Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.001745/0.001745, 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.002084/0.002084, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.798/2.798, allocations: 476.8 MB / 0.7715 GB, free: 3.867 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_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.002025/0.002025, allocations: 59.5 kB / 1.118 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.379, allocations: 169.9 MB / 1.284 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003518/0.3825, allocations: 1.721 MB / 1.286 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3841, allocations: 0.6166 MB / 1.286 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.3843, allocations: 0 / 1.286 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.3844, allocations: 15.75 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.3846, allocations: 31.8 kB / 1.286 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.3858, allocations: 374.8 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009093/0.3867, allocations: 0.597 MB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3868, allocations: 29.5 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.3874, allocations: 315.6 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.3878, allocations: 159.6 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.388, allocations: 40 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3882, allocations: 40 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.3883, allocations: 127.6 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.3886, allocations: 187.2 kB / 1.288 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008469/0.3895, allocations: 0.5995 MB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3895, allocations: 0 / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3895, allocations: 0 / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.3895, allocations: 0 / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001725/0.3912, allocations: 0.8339 MB / 1.29 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.3913, allocations: 8.031 kB / 1.29 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.976e-05/0.3913, allocations: 8.188 kB / 1.29 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.909e-05/0.3914, allocations: 42.73 kB / 1.29 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.3915, allocations: 52.7 kB / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.3921, allocations: 284.6 kB / 1.29 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.3922, allocations: 20.36 kB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3923, allocations: 32.36 kB / 1.29 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.3934, allocations: 239.5 kB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3934, allocations: 0 / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.3935, allocations: 3.984 kB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3935, allocations: 4 kB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008335/0.3943, allocations: 119.9 kB / 1.29 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.3958, allocations: 0.5581 MB / 1.291 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3969, allocations: 186.4 kB / 1.291 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007628/0.3976, allocations: 100.8 kB / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.3977, allocations: 4 kB / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.3988, allocations: 235.1 kB / 1.291 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.845e-06/0.3988, allocations: 0 / 1.291 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002787/0.4016, allocations: 0.493 MB / 1.292 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.4017, allocations: 71.33 kB / 1.292 GB, free: 11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/0.4022, allocations: 441.9 kB / 1.292 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.4023, allocations: 37.7 kB / 1.293 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4024, allocations: 101.4 kB / 1.293 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.4025, allocations: 43.72 kB / 1.293 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.4027, allocations: 141.4 kB / 1.293 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4029, allocations: 326.8 kB / 1.293 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.4033, allocations: 219.3 kB / 1.293 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.4037, allocations: 274 kB / 1.294 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.4041, allocations: 299.3 kB / 1.294 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4041, allocations: 0 / 1.294 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009857/0.4051, allocations: 0.5938 MB / 1.294 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.404e-05/0.4052, allocations: 91.56 kB / 1.295 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4052, allocations: 4 kB / 1.295 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4052, allocations: 4 kB / 1.295 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.4054, allocations: 27.91 kB / 1.295 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4054, allocations: 0 / 1.295 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.4059, allocations: 63.78 kB / 1.295 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.963e-05/0.406, allocations: 59.98 kB / 1.295 GB, free: 8.164 MB / 0.9981 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002815/0.4063, allocations: 216.3 kB / 1.295 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.4064, allocations: 47.7 kB / 1.295 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.896e-05/0.4065, allocations: 39.73 kB / 1.295 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4065, allocations: 0 / 1.295 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4065, allocations: 0 / 1.295 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4065, allocations: 3.938 kB / 1.295 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.4088, allocations: 0.7436 MB / 1.296 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4088, allocations: 3.938 kB / 1.296 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.4089, allocations: 4 kB / 1.296 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4089, allocations: 0 / 1.296 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.4089, allocations: 23.91 kB / 1.296 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4089, allocations: 0 / 1.296 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4089, allocations: 0 / 1.296 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4108, allocations: 495.4 kB / 1.296 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.4111, allocations: 177.5 kB / 1.296 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.331e-05/0.4112, allocations: 19.94 kB / 1.296 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.4117, allocations: 31.97 kB / 1.296 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.4118, allocations: 11.98 kB / 1.296 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.4118, allocations: 55.97 kB / 1.296 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003559/0.4122, allocations: 323.1 kB / 1.297 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4122, allocations: 3.938 kB / 1.297 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003843/0.4126, allocations: 71.94 kB / 1.297 GB, free: 5.848 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002351/0.4149, allocations: 1.051 MB / 1.298 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.4164, allocations: 0.5018 MB / 1.298 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4164, allocations: 0 / 1.298 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.4172, allocations: 120.2 kB / 1.298 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.4176, allocations: 36.06 kB / 1.299 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/0.4228, allocations: 3.335 MB / 1.302 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.423, allocations: 183 kB / 1.302 GB, free: 380 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.764e-05/0.4231, allocations: 13.42 kB / 1.302 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.4231, allocations: 31.42 kB / 1.302 GB, free: 336 kB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/0.4231, allocations: 0 / 1.302 GB, free: 336 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.4549, allocations: 8.19 MB / 1.31 GB, free: 8.234 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.17, allocations: 4.5 kB / 1.31 GB, free: 8.23 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.862169675063342] Failed to read output from testmodel.py, exit status != 0: 12.351570604019798 12.368506881 11.974206542 Calling exit ...