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.002317/0.002317, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002196/0.002196, allocations: 219.2 kB / 23.04 MB, free: 5.074 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.7 MB / 0.7715 GB, free: 4.281 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.002023/0.002023, allocations: 62.59 kB / 1.118 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3929, allocations: 169.9 MB / 1.284 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00374/0.3966, allocations: 1.77 MB / 1.286 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3982, allocations: 0.6317 MB / 1.287 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3983, allocations: 4 kB / 1.287 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.3984, allocations: 15.8 kB / 1.287 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3986, allocations: 35.78 kB / 1.287 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3996, allocations: 362.7 kB / 1.287 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006856/0.4003, allocations: 0.597 MB / 1.288 GB, free: 408 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4004, allocations: 25.52 kB / 1.288 GB, free: 384 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004311/0.4008, allocations: 319.6 kB / 1.288 GB, free: 64 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.4012, allocations: 167.6 kB / 1.288 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-05/0.4013, allocations: 40 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/0.4013, allocations: 40 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.4015, allocations: 131.6 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.4017, allocations: 215 kB / 1.288 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006237/0.4024, allocations: 0.5995 MB / 1.289 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.4024, allocations: 0 / 1.289 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4024, allocations: 0 / 1.289 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.4024, allocations: 0 / 1.289 GB, free: 14.88 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.00139/0.4038, allocations: 0.8417 MB / 1.29 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4038, allocations: 12.03 kB / 1.29 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.087e-05/0.4038, allocations: 4.188 kB / 1.29 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.351e-05/0.4039, allocations: 42.73 kB / 1.29 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.404, allocations: 52.7 kB / 1.29 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.4045, allocations: 288.6 kB / 1.29 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.4045, allocations: 24.36 kB / 1.29 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.4046, allocations: 28.36 kB / 1.29 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.4057, allocations: 237.7 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4057, allocations: 0 / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.4057, allocations: 7.938 kB / 1.29 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4057, allocations: 4 kB / 1.29 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/0.4065, allocations: 126.1 kB / 1.291 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.4079, allocations: 0.6282 MB / 1.291 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.409, allocations: 174.5 kB / 1.291 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/0.4097, allocations: 105 kB / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.4098, allocations: 4 kB / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.4108, allocations: 245.6 kB / 1.292 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.4108, allocations: 0 / 1.292 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002655/0.4135, allocations: 0.4934 MB / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.4135, allocations: 59.34 kB / 1.292 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.4141, allocations: 445.9 kB / 1.293 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.306e-05/0.4142, allocations: 41.69 kB / 1.293 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.4143, allocations: 105.4 kB / 1.293 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.4144, allocations: 27.75 kB / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.4147, allocations: 153.3 kB / 1.293 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4149, allocations: 326.8 kB / 1.293 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.4152, allocations: 139.9 kB / 1.293 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.4155, allocations: 186.6 kB / 1.294 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.4159, allocations: 293.3 kB / 1.294 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4159, allocations: 0 / 1.294 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009454/0.4169, allocations: 0.5302 MB / 1.294 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.417, allocations: 99.38 kB / 1.295 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.417, allocations: 0 / 1.295 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.417, allocations: 7.938 kB / 1.295 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.4172, allocations: 19.92 kB / 1.295 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.4172, allocations: 7.984 kB / 1.295 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.4177, allocations: 63.91 kB / 1.295 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-05/0.4178, allocations: 63.98 kB / 1.295 GB, free: 8.75 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.000301/0.4181, allocations: 212.3 kB / 1.295 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.4182, allocations: 39.72 kB / 1.295 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/0.4183, allocations: 43.72 kB / 1.295 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4183, allocations: 4 kB / 1.295 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4183, allocations: 0 / 1.295 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.4183, allocations: 3.938 kB / 1.295 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.4206, allocations: 0.7552 MB / 1.296 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4207, allocations: 0 / 1.296 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.4207, allocations: 11.94 kB / 1.296 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4207, allocations: 4 kB / 1.296 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.4207, allocations: 27.91 kB / 1.296 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4207, allocations: 4 kB / 1.296 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4208, allocations: 0 / 1.296 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.4226, allocations: 486.1 kB / 1.296 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.423, allocations: 177.5 kB / 1.296 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-05/0.4231, allocations: 23.88 kB / 1.296 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.4236, allocations: 31.95 kB / 1.296 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.4236, allocations: 11.98 kB / 1.296 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.4237, allocations: 51.98 kB / 1.296 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004429/0.4241, allocations: 323.1 kB / 1.297 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4241, allocations: 0 / 1.297 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005226/0.4247, allocations: 75.92 kB / 1.297 GB, free: 6.422 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.002507/0.4272, allocations: 1.041 MB / 1.298 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.4288, allocations: 445.5 kB / 1.298 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4288, allocations: 384 / 1.298 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007488/0.4295, allocations: 115.9 kB / 1.298 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.4301, allocations: 39.62 kB / 1.298 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/0.4356, allocations: 3.001 MB / 1.301 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.436, allocations: 0.7903 MB / 1.302 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.462e-05/0.4361, allocations: 13.42 kB / 1.302 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.4362, allocations: 27.42 kB / 1.302 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/0.4362, allocations: 8 kB / 1.302 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.4681, allocations: 6.948 MB / 1.309 GB, free: 9.855 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.89, allocations: 9.766 kB / 1.309 GB, free: 9.852 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.572814515966456] Failed to read output from testmodel.py, exit status != 0: 12.051147791964468 12.067916753 11.662220267 Calling exit ...