Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001199/0.001199, allocations: 117.4 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.00141/0.00141, allocations: 214.3 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.528/1.528, 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.901/2.901, allocations: 476.7 MB / 0.7678 GB, free: 9.379 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",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.002018/0.002018, allocations: 63.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003459/1.063, allocations: 1.761 MB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001605/1.065, allocations: 0.6366 MB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/1.065, allocations: 1.281 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/1.065, allocations: 14.3 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/1.065, allocations: 32.52 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/1.066, allocations: 362.8 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001006/1.067, allocations: 0.601 MB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/1.067, allocations: 22.27 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/1.068, allocations: 310.5 kB / 1.283 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/1.068, allocations: 162 kB / 1.283 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.243e-05/1.068, allocations: 40.22 kB / 1.283 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.334e-05/1.068, allocations: 45.72 kB / 1.283 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/1.068, allocations: 127.1 kB / 1.283 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002437/1.069, allocations: 217.6 kB / 1.283 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008045/1.07, allocations: 0.5989 MB / 1.284 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.07, allocations: 1.406 kB / 1.284 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/1.07, allocations: 0 / 1.284 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.307e-05/1.07, allocations: 0 / 1.284 GB, free: 9.004 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.071, allocations: 0.9192 MB / 1.285 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.071, allocations: 10.53 kB / 1.285 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.636e-05/1.071, allocations: 2.281 kB / 1.285 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/1.071, allocations: 45.64 kB / 1.285 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/1.071, allocations: 56.22 kB / 1.285 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/1.072, allocations: 337.4 kB / 1.285 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/1.072, allocations: 22.69 kB / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.005e-05/1.072, allocations: 27.81 kB / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.073, allocations: 238.1 kB / 1.285 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.073, allocations: 0 / 1.285 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/1.073, allocations: 6.062 kB / 1.285 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.073, allocations: 6.75 kB / 1.285 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008885/1.074, allocations: 117.2 kB / 1.286 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/1.076, allocations: 0.6681 MB / 1.286 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/1.077, allocations: 177.9 kB / 1.286 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008053/1.078, allocations: 106.2 kB / 1.286 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/1.078, allocations: 6.844 kB / 1.286 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/1.079, allocations: 226.2 kB / 1.287 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.595e-06/1.079, allocations: 0 / 1.287 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.00315/1.082, allocations: 0.4941 MB / 1.287 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/1.082, allocations: 64.09 kB / 1.287 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/1.083, allocations: 443.2 kB / 1.288 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/1.083, allocations: 44.34 kB / 1.288 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/1.083, allocations: 104.9 kB / 1.288 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/1.083, allocations: 38.12 kB / 1.288 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/1.083, allocations: 141.3 kB / 1.288 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002175/1.084, allocations: 325.3 kB / 1.288 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/1.084, allocations: 139.2 kB / 1.288 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/1.084, allocations: 194.4 kB / 1.289 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/1.085, allocations: 300 kB / 1.289 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.085, allocations: 0 / 1.289 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00118/1.086, allocations: 0.5156 MB / 1.289 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000141/1.086, allocations: 98.05 kB / 1.289 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.086, allocations: 1.875 kB / 1.289 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/1.086, allocations: 10.91 kB / 1.289 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/1.086, allocations: 19.89 kB / 1.289 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/1.086, allocations: 7.375 kB / 1.289 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/1.087, allocations: 66.34 kB / 1.29 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.087, allocations: 62.52 kB / 1.29 GB, free: 5.473 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.0004089/1.088, allocations: 206.2 kB / 1.29 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/1.088, allocations: 41.73 kB / 1.29 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.819e-05/1.088, allocations: 50.94 kB / 1.29 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.088, allocations: 1.5 kB / 1.29 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.088, allocations: 0 / 1.29 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.088, allocations: 6.219 kB / 1.29 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/1.09, allocations: 0.7822 MB / 1.291 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.09, allocations: 1.344 kB / 1.291 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/1.09, allocations: 8.25 kB / 1.291 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.09, allocations: 5.281 kB / 1.291 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/1.091, allocations: 26.52 kB / 1.291 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.091, allocations: 1 kB / 1.291 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.091, allocations: 1.656 kB / 1.291 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/1.093, allocations: 485.9 kB / 1.291 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/1.093, allocations: 245.1 kB / 1.291 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/1.093, allocations: 25.14 kB / 1.291 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/1.094, allocations: 27.81 kB / 1.291 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/1.094, allocations: 16.23 kB / 1.291 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.559e-05/1.094, allocations: 56.34 kB / 1.292 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004634/1.094, allocations: 319.6 kB / 1.292 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.094, allocations: 0 / 1.292 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006153/1.095, allocations: 67.14 kB / 1.292 GB, free: 4.277 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.002441/1.097, allocations: 1.049 MB / 1.293 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001619/1.099, allocations: 441.3 kB / 1.293 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.099, allocations: 1.094 kB / 1.293 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008696/1.1, allocations: 117.8 kB / 1.293 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/1.1, allocations: 42.33 kB / 1.293 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/1.106, allocations: 3.036 MB / 1.296 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/1.106, allocations: 0.782 MB / 1.297 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.579e-05/1.107, allocations: 17.77 kB / 1.297 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/1.107, allocations: 30.83 kB / 1.297 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/1.107, allocations: 3.938 kB / 1.297 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/1.138, allocations: 6.784 MB / 1.304 GB, free: 15.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/9.563, allocations: 11.06 kB / 1.304 GB, free: 15.28 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.903504365996923] Failed to read output from testmodel.py, exit status != 0: 9.68806667800527 9.703579843 8.630653076 Calling exit ...