Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001543/0.001543, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.00158/0.00158, allocations: 215 kB / 20.13 MB, free: 2.949 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.552/1.552, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.026/3.026, allocations: 0.49 GB / 0.7923 GB, free: 1.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00202/0.00202, allocations: 67.91 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.111, allocations: 176.1 MB / 1.322 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00238/1.114, allocations: 1.768 MB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001111/1.115, allocations: 0.6299 MB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/1.115, allocations: 3.938 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.642e-05/1.115, allocations: 10.62 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/1.115, allocations: 37.31 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/1.116, allocations: 366.6 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004322/1.116, allocations: 0.5928 MB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/1.116, allocations: 23.36 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/1.116, allocations: 318.2 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/1.117, allocations: 165.8 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.783e-05/1.117, allocations: 39.91 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/1.117, allocations: 42.5 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/1.117, allocations: 122 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/1.117, allocations: 222.5 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/1.117, allocations: 0.5995 MB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.117, allocations: 0 / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/1.117, allocations: 0 / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.117, allocations: 0 / 1.326 GB, free: 22.02 MB / 1.061 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.00119/1.119, allocations: 0.9197 MB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.119, allocations: 14.14 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.481e-05/1.119, allocations: 6.344 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/1.119, allocations: 41.08 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/1.119, allocations: 56.34 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/1.119, allocations: 336.7 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/1.119, allocations: 19.48 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/1.119, allocations: 35.44 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/1.12, allocations: 239.7 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.12, allocations: 0.7812 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/1.121, allocations: 0.75 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/1.121, allocations: 2.344 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008854/1.121, allocations: 125.2 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/1.123, allocations: 0.6662 MB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/1.124, allocations: 178.7 kB / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008569/1.125, allocations: 113.2 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/1.125, allocations: 2.844 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/1.126, allocations: 230.2 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/1.126, allocations: 0.6562 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002975/1.129, allocations: 498.8 kB / 1.33 GB, free: 20.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/1.129, allocations: 62.03 kB / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/1.13, allocations: 444.7 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/1.13, allocations: 43.66 kB / 1.33 GB, free: 19.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/1.13, allocations: 103 kB / 1.33 GB, free: 19.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/1.13, allocations: 47.67 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/1.13, allocations: 145.9 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.001e-05/1.13, allocations: 326 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/1.13, allocations: 134.8 kB / 1.331 GB, free: 19.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/1.131, allocations: 194.2 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/1.131, allocations: 302.1 kB / 1.331 GB, free: 18.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.131, allocations: 0 / 1.331 GB, free: 18.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008927/1.132, allocations: 0.5224 MB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/1.132, allocations: 94.19 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.132, allocations: 1.25 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.132, allocations: 2.969 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/1.132, allocations: 28.06 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/1.132, allocations: 3.234 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/1.133, allocations: 66.03 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.509e-05/1.133, allocations: 58.39 kB / 1.332 GB, free: 18.48 MB / 1.061 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.0002721/1.133, allocations: 217.4 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/1.133, allocations: 42.28 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/1.133, allocations: 42.41 kB / 1.332 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/1.133, allocations: 2 kB / 1.332 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.133, allocations: 4.594 kB / 1.332 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.133, allocations: 6.344 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/1.136, allocations: 0.786 MB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.136, allocations: 0 / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/1.136, allocations: 5.625 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.136, allocations: 4.531 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/1.136, allocations: 22.48 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/1.136, allocations: 1.75 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.136, allocations: 4.812 kB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/1.138, allocations: 483.6 kB / 1.334 GB, free: 17.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/1.138, allocations: 246.1 kB / 1.334 GB, free: 17.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/1.138, allocations: 20.09 kB / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/1.139, allocations: 32.55 kB / 1.334 GB, free: 17.44 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/1.139, allocations: 7.828 kB / 1.334 GB, free: 17.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.139, allocations: 60.06 kB / 1.334 GB, free: 17.44 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003604/1.14, allocations: 323.7 kB / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.14, allocations: 0 / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004376/1.14, allocations: 67.47 kB / 1.334 GB, free: 17.28 MB / 1.061 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.002102/1.142, allocations: 1.043 MB / 1.335 GB, free: 16.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001338/1.143, allocations: 436 kB / 1.336 GB, free: 16.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.143, allocations: 4.062 kB / 1.336 GB, free: 16.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000818/1.144, allocations: 117.9 kB / 1.336 GB, free: 16.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/1.145, allocations: 42.27 kB / 1.336 GB, free: 16.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/1.149, allocations: 3.021 MB / 1.339 GB, free: 14.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/1.149, allocations: 0.783 MB / 1.34 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.538e-05/1.149, allocations: 12.53 kB / 1.34 GB, free: 13.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/1.149, allocations: 35.42 kB / 1.34 GB, free: 13.54 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/1.149, allocations: 0 / 1.34 GB, free: 13.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/1.178, allocations: 6.777 MB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/9.618, allocations: 6.875 kB / 1.346 GB, free: 12.32 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.296549927035812] Failed to read output from testmodel.py, exit status != 0: 9.749699376989156 9.770358226 8.64933231 Calling exit ...