Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.001287/0.001287, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001485/0.001485, allocations: 215.4 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.281/3.281, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_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.002053/0.002053, allocations: 74.44 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.461, allocations: 179 MB / 1.345 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003938/0.4649, allocations: 1.549 MB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.4665, allocations: 0.5479 MB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.4666, allocations: 4 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.4667, allocations: 7.922 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.4669, allocations: 31.73 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.468, allocations: 318.9 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007974/0.4688, allocations: 483.5 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.4689, allocations: 0 / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.4695, allocations: 279.6 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.47, allocations: 155.6 kB / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.4701, allocations: 28 kB / 1.349 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.4702, allocations: 24 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.4703, allocations: 115.7 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.4705, allocations: 187 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.4711, allocations: 426.7 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4711, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4711, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.4711, allocations: 0 / 1.349 GB, free: 12.37 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.001638/0.4728, allocations: 0.8106 MB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.4728, allocations: 8.031 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.136e-05/0.4728, allocations: 4.188 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.743e-05/0.4729, allocations: 38.73 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.4731, allocations: 56.69 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006082/0.4737, allocations: 256.7 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.4738, allocations: 16.38 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.4738, allocations: 32.36 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.4749, allocations: 217.7 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4749, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.475, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.475, allocations: 7.938 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/0.4758, allocations: 103.9 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.4763, allocations: 356.3 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.4774, allocations: 162.5 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007663/0.4782, allocations: 114.5 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.4782, allocations: 3.984 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.4793, allocations: 231.1 kB / 1.352 GB, free: 9.805 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.4793, allocations: 0 / 1.352 GB, free: 9.805 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002772/0.482, allocations: 487.3 kB / 1.352 GB, free: 9.324 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.4821, allocations: 59.41 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.4827, allocations: 413.9 kB / 1.353 GB, free: 8.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.4828, allocations: 45.69 kB / 1.353 GB, free: 8.789 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4829, allocations: 89.45 kB / 1.353 GB, free: 8.699 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.4829, allocations: 39.69 kB / 1.353 GB, free: 8.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.4832, allocations: 129.5 kB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4834, allocations: 322.8 kB / 1.353 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.4837, allocations: 115.9 kB / 1.353 GB, free: 8.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.484, allocations: 177.8 kB / 1.353 GB, free: 7.895 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.4845, allocations: 282.5 kB / 1.354 GB, free: 7.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4845, allocations: 3.938 kB / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009726/0.4855, allocations: 490 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4856, allocations: 83.56 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4856, allocations: 8 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.4856, allocations: 7.984 kB / 1.354 GB, free: 6.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.4858, allocations: 23.92 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4858, allocations: 4 kB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.4863, allocations: 55.84 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4864, allocations: 59.98 kB / 1.354 GB, free: 6.836 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.0003035/0.4867, allocations: 199.7 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.4868, allocations: 43.66 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.4869, allocations: 35.69 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.4869, allocations: 7.984 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4869, allocations: 0 / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.4869, allocations: 3.984 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.4893, allocations: 0.72 MB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4893, allocations: 0 / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.4894, allocations: 4 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4894, allocations: 0 / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.4894, allocations: 23.97 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4894, allocations: 0 / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4894, allocations: 3.938 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.4912, allocations: 486 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.4915, allocations: 133.5 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.4916, allocations: 19.98 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.4921, allocations: 27.97 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.4922, allocations: 7.984 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.23e-05/0.4923, allocations: 67.91 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003392/0.4926, allocations: 291.1 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4926, allocations: 0 / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000459/0.493, allocations: 67.98 kB / 1.356 GB, free: 4.645 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.002326/0.4954, allocations: 1.02 MB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.4968, allocations: 406.5 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4969, allocations: 0 / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007703/0.4976, allocations: 114.1 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.498, allocations: 31.83 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.5033, allocations: 2.78 MB / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.5038, allocations: 0.7784 MB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.386e-05/0.5039, allocations: 17.08 kB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.504, allocations: 23.42 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of SimCode: time 2.204e-06/0.504, allocations: 0 / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.5385, allocations: 6.356 MB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.1, allocations: 13.08 kB / 1.368 GB, free: 8.965 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.164818988996558] Failed to read output from testmodel.py, exit status != 0: 12.268110723991413 12.28713188 11.812388509 Calling exit ...