Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.00142/0.00142, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001429/0.001429, allocations: 212.7 kB / 23.02 MB, free: 4.953 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.387/3.387, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_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.001982/0.001982, allocations: 61.5 kB / 1.17 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3559, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00331/0.3592, allocations: 1.514 MB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3606, allocations: 0.5304 MB / 1.347 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.3607, allocations: 3.938 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.3608, allocations: 11.86 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.3609, allocations: 31.84 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.3619, allocations: 313.9 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008384/0.3628, allocations: 487.4 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.79e-05/0.3628, allocations: 4 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006438/0.3635, allocations: 279.6 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.364, allocations: 148.8 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.3641, allocations: 31.94 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3643, allocations: 28 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.3645, allocations: 119.7 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.3647, allocations: 155.3 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007467/0.3655, allocations: 430.6 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3655, allocations: 0 / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3655, allocations: 0 / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.3655, allocations: 0 / 1.349 GB, free: 11.92 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001975/0.3675, allocations: 0.8027 MB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 8.517e-05/0.3676, allocations: 12.03 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.177e-05/0.3676, allocations: 192 / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.278e-05/0.3677, allocations: 38.75 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.3679, allocations: 56.69 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.3683, allocations: 252.7 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-05/0.3684, allocations: 20.36 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.976e-05/0.3685, allocations: 28.36 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.3697, allocations: 209.8 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3697, allocations: 3.938 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.3697, allocations: 7.984 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3697, allocations: 4 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008444/0.3706, allocations: 95.92 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.3712, allocations: 308.5 kB / 1.351 GB, free: 9.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.3724, allocations: 162.6 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008272/0.3732, allocations: 101 kB / 1.351 GB, free: 9.676 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.3732, allocations: 8 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.3743, allocations: 227 kB / 1.351 GB, free: 9.434 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 2.895e-06/0.3743, allocations: 0 / 1.351 GB, free: 9.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002854/0.3772, allocations: 496 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.3772, allocations: 55.41 kB / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.3778, allocations: 409.9 kB / 1.352 GB, free: 8.469 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.3779, allocations: 41.69 kB / 1.352 GB, free: 8.422 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3781, allocations: 101.4 kB / 1.353 GB, free: 8.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.3781, allocations: 47.62 kB / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.3785, allocations: 125.4 kB / 1.353 GB, free: 8.145 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3787, allocations: 322.8 kB / 1.353 GB, free: 7.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.3791, allocations: 191.3 kB / 1.353 GB, free: 7.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.3795, allocations: 249.2 kB / 1.353 GB, free: 7.344 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.38, allocations: 266.9 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.38, allocations: 0 / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001131/0.3811, allocations: 0.5562 MB / 1.354 GB, free: 6.465 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.3812, allocations: 83.56 kB / 1.354 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3812, allocations: 4 kB / 1.354 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.3812, allocations: 4 kB / 1.354 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.3814, allocations: 27.89 kB / 1.354 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.3815, allocations: 4 kB / 1.354 GB, free: 6.332 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.3821, allocations: 63.8 kB / 1.354 GB, free: 6.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.3822, allocations: 55.98 kB / 1.354 GB, free: 6.215 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0003434/0.3825, allocations: 203.7 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3826, allocations: 39.7 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.617e-05/0.3827, allocations: 35.69 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3827, allocations: 0 / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3827, allocations: 0 / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3827, allocations: 7.984 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.3853, allocations: 0.7044 MB / 1.355 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3853, allocations: 4 kB / 1.355 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.3853, allocations: 11.92 kB / 1.355 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.3853, allocations: 4 kB / 1.355 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.3854, allocations: 15.98 kB / 1.355 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3854, allocations: 0 / 1.355 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3854, allocations: 0 / 1.355 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.3873, allocations: 493.7 kB / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.3876, allocations: 133.5 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/0.3877, allocations: 8 kB / 1.356 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.3882, allocations: 31.95 kB / 1.356 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3883, allocations: 11.98 kB / 1.356 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.3884, allocations: 59.98 kB / 1.356 GB, free: 4.391 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000358/0.3887, allocations: 291.1 kB / 1.356 GB, free: 4.109 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3887, allocations: 4 kB / 1.356 GB, free: 4.105 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004821/0.3892, allocations: 71.92 kB / 1.356 GB, free: 4.035 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.002435/0.3916, allocations: 1.024 MB / 1.357 GB, free: 2.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.3933, allocations: 469.9 kB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3933, allocations: 0 / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.3942, allocations: 126 kB / 1.358 GB, free: 2.363 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.3946, allocations: 35.84 kB / 1.358 GB, free: 2.328 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.4, allocations: 3.069 MB / 1.361 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.4002, allocations: 166.9 kB / 1.361 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.802e-05/0.4002, allocations: 21.02 kB / 1.361 GB, free: 14.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.4003, allocations: 27.41 kB / 1.361 GB, free: 14.86 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.4003, allocations: 0 / 1.361 GB, free: 14.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.4315, allocations: 7.586 MB / 1.369 GB, free: 7.352 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.5, allocations: 5.969 kB / 1.369 GB, free: 7.348 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.51357097295113] Failed to read output from testmodel.py, exit status != 0: 12.66575376293622 12.68350815 12.314569757 Calling exit ...