Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001295/0.001295, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001426/0.001426, allocations: 217.4 kB / 23.03 MB, free: 4.922 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.434/3.434, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",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.002122/0.002122, allocations: 66.77 kB / 1.171 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3982, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003671/0.4019, allocations: 1.735 MB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.4035, allocations: 0.6128 MB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.4036, allocations: 0 / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.4037, allocations: 11.86 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.4039, allocations: 35.78 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.405, allocations: 369.2 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007993/0.4058, allocations: 0.597 MB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.4059, allocations: 29.52 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005295/0.4064, allocations: 319.6 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.4068, allocations: 163.6 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.4069, allocations: 40 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4071, allocations: 40 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.4072, allocations: 123.6 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.4075, allocations: 183.2 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006781/0.4081, allocations: 0.5957 MB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4081, allocations: 4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4081, allocations: 4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.4082, allocations: 0 / 1.35 GB, free: 11.09 MB / 1.045 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.001553/0.4097, allocations: 0.8347 MB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4097, allocations: 12.02 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.645e-05/0.4098, allocations: 4.188 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.4098, allocations: 38.75 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.41, allocations: 56.64 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.4104, allocations: 280.6 kB / 1.351 GB, free: 9.762 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.4105, allocations: 28.31 kB / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/0.4106, allocations: 32.36 kB / 1.351 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.4117, allocations: 239.3 kB / 1.352 GB, free: 9.465 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4117, allocations: 0 / 1.352 GB, free: 9.465 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.4117, allocations: 4 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4117, allocations: 0 / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.4126, allocations: 123.8 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.4143, allocations: 0.562 MB / 1.352 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.4154, allocations: 166.4 kB / 1.352 GB, free: 8.562 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008289/0.4163, allocations: 115.3 kB / 1.352 GB, free: 8.449 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.4163, allocations: 4 kB / 1.352 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.4175, allocations: 227.2 kB / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 3.015e-06/0.4175, allocations: 0 / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002845/0.4203, allocations: 499.8 kB / 1.353 GB, free: 7.719 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.4204, allocations: 71.33 kB / 1.353 GB, free: 7.637 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.421, allocations: 445.9 kB / 1.354 GB, free: 7.191 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.4211, allocations: 41.69 kB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4212, allocations: 105.3 kB / 1.354 GB, free: 7.039 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.4213, allocations: 43.69 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.4216, allocations: 137.5 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4217, allocations: 326.8 kB / 1.354 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.4221, allocations: 219.3 kB / 1.354 GB, free: 6.301 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.4225, allocations: 273.2 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.423, allocations: 290.8 kB / 1.355 GB, free: 5.684 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.423, allocations: 4 kB / 1.355 GB, free: 5.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001/0.424, allocations: 0.5938 MB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.917e-05/0.4241, allocations: 87.38 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4241, allocations: 3.984 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4241, allocations: 8.188 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.4243, allocations: 23.92 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4243, allocations: 4 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.4248, allocations: 71.67 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4249, allocations: 59.98 kB / 1.356 GB, free: 4.789 MB / 1.045 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.0002945/0.4252, allocations: 216.3 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.4253, allocations: 39.77 kB / 1.356 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.4254, allocations: 43.73 kB / 1.356 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.4254, allocations: 3.984 kB / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4254, allocations: 0 / 1.356 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.4254, allocations: 7.922 kB / 1.356 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.4278, allocations: 0.7396 MB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4278, allocations: 0 / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.4278, allocations: 4 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4278, allocations: 0 / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.4279, allocations: 27.91 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4279, allocations: 0 / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4279, allocations: 0 / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.4298, allocations: 499.4 kB / 1.357 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.4301, allocations: 169.5 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.892e-05/0.4302, allocations: 23.94 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.4307, allocations: 31.95 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.4308, allocations: 7.984 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/0.4309, allocations: 67.84 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003524/0.4312, allocations: 323.1 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4312, allocations: 0 / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004201/0.4316, allocations: 75.88 kB / 1.358 GB, free: 2.461 MB / 1.045 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.002454/0.4341, allocations: 1.035 MB / 1.359 GB, free: 1.398 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.4357, allocations: 0.504 MB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4357, allocations: 0 / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008529/0.4366, allocations: 120.2 kB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.4371, allocations: 34.75 kB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.4429, allocations: 3.339 MB / 1.363 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.4431, allocations: 175 kB / 1.363 GB, free: 13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.378e-05/0.4432, allocations: 17.42 kB / 1.363 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.4433, allocations: 31.42 kB / 1.363 GB, free: 12.96 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/0.4433, allocations: 0 / 1.363 GB, free: 12.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.4773, allocations: 8.196 MB / 1.371 GB, free: 4.836 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.11, allocations: 9.234 kB / 1.371 GB, free: 4.828 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.150643658009358] Failed to read output from testmodel.py, exit status != 0: 12.280650555039756 12.307152639 11.893970237 Calling exit ...