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.001936/0.001936, 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.001692/0.001692, allocations: 214.3 kB / 23.04 MB, free: 5.078 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.363/3.363, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.002018/0.002018, allocations: 69.2 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4728, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003059/0.4759, allocations: 1.557 MB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.4773, allocations: 0.5421 MB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.4774, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.4775, allocations: 7.875 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.4777, allocations: 31.78 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.4786, allocations: 316.9 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.4792, allocations: 491.4 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.4792, allocations: 4 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.4797, allocations: 275.7 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.48, allocations: 154.4 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.549e-05/0.4801, allocations: 28 kB / 1.349 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.4801, allocations: 28 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.4803, allocations: 119.6 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.4805, allocations: 187 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.481, allocations: 426.6 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.481, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.481, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.481, 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.001379/0.4824, allocations: 0.8028 MB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4825, allocations: 12.03 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.124e-05/0.4825, allocations: 4.188 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/0.4825, allocations: 38.75 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.4826, allocations: 52.69 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.483, allocations: 252.8 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.4831, allocations: 24.3 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.4832, allocations: 24.36 kB / 1.351 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009998/0.4842, allocations: 212.6 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4842, allocations: 4 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.4842, allocations: 11.98 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4842, allocations: 3.938 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.485, allocations: 95.92 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.4855, allocations: 360.3 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4865, allocations: 166.4 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007342/0.4873, allocations: 97.16 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.4873, allocations: 19.92 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000997/0.4883, allocations: 223.1 kB / 1.352 GB, free: 9.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/0.4883, allocations: 0 / 1.352 GB, free: 9.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002652/0.4909, allocations: 487.8 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.491, allocations: 63.34 kB / 1.352 GB, free: 9.266 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.4915, allocations: 409.9 kB / 1.353 GB, free: 8.855 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.38e-05/0.4916, allocations: 45.69 kB / 1.353 GB, free: 8.805 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4917, allocations: 97.44 kB / 1.353 GB, free: 8.707 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.4917, allocations: 39.69 kB / 1.353 GB, free: 8.668 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.492, allocations: 129.5 kB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4921, allocations: 318.8 kB / 1.353 GB, free: 8.215 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.4924, allocations: 119.9 kB / 1.353 GB, free: 8.098 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.4927, allocations: 169.9 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.4932, allocations: 279 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.4932, allocations: 3.938 kB / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009493/0.4941, allocations: 498 kB / 1.354 GB, free: 7.098 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.4942, allocations: 87.38 kB / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.4942, allocations: 0 / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.4943, allocations: 4 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.4945, allocations: 23.92 kB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.4945, allocations: 7.984 kB / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.495, allocations: 60.03 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4951, allocations: 59.98 kB / 1.354 GB, free: 6.848 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.0003492/0.4955, allocations: 191.9 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.4955, allocations: 47.66 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.982e-05/0.4956, allocations: 43.67 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4956, allocations: 4 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4956, allocations: 0 / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4956, allocations: 0 / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.498, allocations: 0.72 MB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.498, allocations: 4 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.498, allocations: 7.984 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.498, allocations: 0 / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.4981, allocations: 19.97 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4981, allocations: 0 / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4981, allocations: 4 kB / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.4999, allocations: 481.6 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.5002, allocations: 137.5 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/0.5002, allocations: 12 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.5007, allocations: 31.95 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.5007, allocations: 11.98 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/0.5008, allocations: 55.98 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000332/0.5012, allocations: 303 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5012, allocations: 0 / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003903/0.5015, allocations: 63.98 kB / 1.356 GB, free: 4.66 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.002235/0.5038, allocations: 1.02 MB / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.5051, allocations: 400.7 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5051, allocations: 4 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.5059, allocations: 111.8 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.5063, allocations: 29.64 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.5109, allocations: 2.788 MB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.5114, allocations: 0.7745 MB / 1.361 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.012e-05/0.5115, allocations: 17.08 kB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.5115, allocations: 27.42 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of SimCode: time 1.092e-06/0.5115, allocations: 0 / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.5438, allocations: 6.352 MB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.2, allocations: 13.39 kB / 1.368 GB, free: 8.98 MB / 1.061 GB " [Timeout remaining time 288] (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.300372492987663] Failed to read output from testmodel.py, exit status != 0: 12.360451603017282 12.377358919 11.892854746 Calling exit ...