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.001354/0.001354, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001714/0.001714, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.499/3.499, allocations: 0.5002 GB / 0.8061 GB, free: 26.79 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.001992/0.001992, allocations: 64.47 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3711, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003078/0.3741, allocations: 1.77 MB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3756, allocations: 0.6295 MB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.3757, allocations: 0 / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.3758, allocations: 15.86 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3759, allocations: 35.78 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009397/0.3769, allocations: 366.2 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007532/0.3776, allocations: 0.597 MB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3777, allocations: 29.45 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.3782, allocations: 323.5 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.3785, allocations: 163.6 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-05/0.3786, allocations: 40 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3787, allocations: 40 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3788, allocations: 131.6 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.379, allocations: 215 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.3797, allocations: 0.5957 MB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3797, allocations: 0 / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3797, allocations: 0 / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.3797, allocations: 0 / 1.35 GB, free: 11.5 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.001652/0.3813, allocations: 0.8417 MB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.3814, allocations: 12.03 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.758e-05/0.3814, allocations: 4.125 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.3815, allocations: 42.73 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.3816, allocations: 56.66 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.3821, allocations: 280.7 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.3822, allocations: 24.36 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.3823, allocations: 28.36 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3834, allocations: 245.6 kB / 1.352 GB, free: 9.863 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3834, allocations: 4 kB / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.3834, allocations: 4 kB / 1.352 GB, free: 9.855 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3834, allocations: 4 kB / 1.352 GB, free: 9.852 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008388/0.3843, allocations: 117.6 kB / 1.352 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.3856, allocations: 0.636 MB / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.3868, allocations: 178.4 kB / 1.353 GB, free: 8.875 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007986/0.3876, allocations: 108.8 kB / 1.353 GB, free: 8.766 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.3876, allocations: 4 kB / 1.353 GB, free: 8.762 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.3887, allocations: 229.3 kB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.3887, allocations: 0 / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002693/0.3914, allocations: 0.4933 MB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3914, allocations: 59.39 kB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.3919, allocations: 445.9 kB / 1.354 GB, free: 7.512 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/0.392, allocations: 41.69 kB / 1.354 GB, free: 7.465 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3921, allocations: 101.4 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.3921, allocations: 35.69 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.3924, allocations: 145.4 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3925, allocations: 330.8 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.3928, allocations: 139.9 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.3932, allocations: 185.9 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.3936, allocations: 306.2 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3936, allocations: 0 / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009609/0.3946, allocations: 0.5165 MB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.3947, allocations: 99.41 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3947, allocations: 7.938 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3947, allocations: 4 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3949, allocations: 19.92 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3949, allocations: 4 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3954, allocations: 67.72 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/0.3955, allocations: 63.98 kB / 1.356 GB, free: 5.367 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.0002752/0.3957, allocations: 212.6 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.3958, allocations: 35.77 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.873e-05/0.3959, allocations: 47.7 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3959, allocations: 4 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3959, allocations: 0 / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3959, allocations: 3.938 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.3983, allocations: 0.7609 MB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3983, allocations: 0 / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.3983, allocations: 4 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3983, allocations: 0 / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.3984, allocations: 27.91 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3984, allocations: 8 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3984, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.4002, allocations: 487.4 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.4006, allocations: 181.5 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.4007, allocations: 19.94 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.4012, allocations: 27.97 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4012, allocations: 11.97 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.4013, allocations: 55.98 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000376/0.4017, allocations: 323.1 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4017, allocations: 0 / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004328/0.4021, allocations: 67.94 kB / 1.358 GB, free: 3.043 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.002295/0.4044, allocations: 1.039 MB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.4059, allocations: 438.4 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4059, allocations: 0 / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.4067, allocations: 120.3 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.4072, allocations: 43.78 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.4122, allocations: 3.022 MB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.4127, allocations: 0.7902 MB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.529e-05/0.4128, allocations: 13.58 kB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/0.4129, allocations: 31.42 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/0.4129, allocations: 0 / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.4443, allocations: 6.946 MB / 1.37 GB, free: 6.453 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.04, allocations: 17.17 kB / 1.37 GB, free: 6.441 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.121362831036095] Failed to read output from testmodel.py, exit status != 0: 12.208192450983915 12.225487274 11.842515097 Calling exit ...