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.001342/0.001342, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001421/0.001421, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.926/2.926, allocations: 476.7 MB / 0.7678 GB, free: 9.488 MB / 0.6075 GB " [Timeout remaining time 176] 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.002101/0.002101, allocations: 71.91 kB / 1.113 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003281/1.033, allocations: 1.776 MB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001517/1.035, allocations: 0.635 MB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/1.035, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/1.035, allocations: 15.72 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/1.035, allocations: 36.53 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009604/1.036, allocations: 363.7 kB / 1.282 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009306/1.037, allocations: 0.6002 MB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/1.037, allocations: 22.97 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/1.037, allocations: 308.8 kB / 1.283 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/1.038, allocations: 168.1 kB / 1.283 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.601e-05/1.038, allocations: 39.94 kB / 1.283 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/1.038, allocations: 41.03 kB / 1.283 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/1.038, allocations: 128 kB / 1.283 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002206/1.038, allocations: 216.5 kB / 1.283 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007527/1.039, allocations: 0.5952 MB / 1.284 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.039, allocations: 0 / 1.284 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.714e-06/1.039, allocations: 2 kB / 1.284 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.228e-06/1.039, allocations: 0 / 1.284 GB, free: 8.961 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.001577/1.041, allocations: 0.9237 MB / 1.285 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.041, allocations: 9.438 kB / 1.285 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.629e-05/1.041, allocations: 1.562 kB / 1.285 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/1.041, allocations: 42.36 kB / 1.285 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/1.041, allocations: 52.84 kB / 1.285 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/1.041, allocations: 333.3 kB / 1.285 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/1.041, allocations: 23.08 kB / 1.285 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/1.041, allocations: 31.56 kB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/1.043, allocations: 239.2 kB / 1.285 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.043, allocations: 1.5 kB / 1.285 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/1.043, allocations: 5.359 kB / 1.285 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.043, allocations: 2.594 kB / 1.285 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000878/1.044, allocations: 120.8 kB / 1.286 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/1.045, allocations: 0.6732 MB / 1.286 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/1.046, allocations: 170.7 kB / 1.286 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008406/1.047, allocations: 111.9 kB / 1.286 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/1.047, allocations: 2.969 kB / 1.286 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/1.048, allocations: 230.1 kB / 1.287 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/1.048, allocations: 0 / 1.287 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002985/1.051, allocations: 0.495 MB / 1.287 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/1.051, allocations: 57.83 kB / 1.287 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/1.052, allocations: 449.5 kB / 1.288 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/1.052, allocations: 44.45 kB / 1.288 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.052, allocations: 105.7 kB / 1.288 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/1.052, allocations: 35.97 kB / 1.288 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/1.052, allocations: 137.7 kB / 1.288 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.052, allocations: 330.3 kB / 1.288 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/1.053, allocations: 143.1 kB / 1.288 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/1.053, allocations: 182.7 kB / 1.289 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/1.054, allocations: 304.4 kB / 1.289 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.054, allocations: 1.062 kB / 1.289 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009449/1.055, allocations: 0.5146 MB / 1.289 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.055, allocations: 98.19 kB / 1.289 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.055, allocations: 1.938 kB / 1.289 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.055, allocations: 3.953 kB / 1.289 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/1.055, allocations: 27.8 kB / 1.289 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/1.055, allocations: 2.188 kB / 1.289 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/1.055, allocations: 62.66 kB / 1.29 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.95e-05/1.055, allocations: 65.83 kB / 1.29 GB, free: 5.43 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.0003304/1.056, allocations: 217.4 kB / 1.29 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/1.056, allocations: 41.83 kB / 1.29 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/1.056, allocations: 42.23 kB / 1.29 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/1.056, allocations: 2.625 kB / 1.29 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.056, allocations: 0.75 kB / 1.29 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.056, allocations: 4.641 kB / 1.29 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/1.058, allocations: 0.7874 MB / 1.291 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.058, allocations: 0 / 1.291 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/1.058, allocations: 8.094 kB / 1.291 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.058, allocations: 0 / 1.291 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/1.059, allocations: 25.56 kB / 1.291 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.059, allocations: 5.156 kB / 1.291 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.059, allocations: 1.125 kB / 1.291 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/1.061, allocations: 482.3 kB / 1.291 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/1.061, allocations: 246 kB / 1.291 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.858e-05/1.061, allocations: 20.39 kB / 1.291 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/1.062, allocations: 32.2 kB / 1.291 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/1.062, allocations: 12.45 kB / 1.291 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/1.062, allocations: 60.67 kB / 1.292 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004408/1.062, allocations: 318.5 kB / 1.292 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.062, allocations: 0 / 1.292 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000542/1.063, allocations: 71.16 kB / 1.292 GB, free: 4.23 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.002438/1.065, allocations: 1.051 MB / 1.293 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001625/1.067, allocations: 435 kB / 1.293 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.067, allocations: 0 / 1.293 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008561/1.068, allocations: 119 kB / 1.293 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/1.068, allocations: 40.23 kB / 1.293 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/1.074, allocations: 3.033 MB / 1.296 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/1.074, allocations: 0.7866 MB / 1.297 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.454e-05/1.074, allocations: 12.7 kB / 1.297 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/1.074, allocations: 34.77 kB / 1.297 GB, free: 484 kB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.074, allocations: 0 / 1.297 GB, free: 484 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/1.105, allocations: 6.787 MB / 1.304 GB, free: 15.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/9.671, allocations: 4.312 kB / 1.304 GB, free: 15.24 MB / 1.014 GB " [Timeout remaining time 290] (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: 16.11549970501801] Failed to read output from testmodel.py, exit status != 0: 9.800362762005534 9.816485055 8.774116736 Calling exit ...